Set up Trae

ByteDance’s AI-native IDE. Add Agentcy so Trae’s AI agent can access your marketing data while building websites, campaigns, and reports.

SETUP
7 STEPS
  1. 01

    Sign up at app.goagentcy.com and create an API key

  2. 02

    Open Trae IDE

  3. 03

    Click the Settings icon in the upper-right corner

  4. 04

    Select MCP from the left navigation panel

  5. 05

    Click Add → Add Manually

  6. 06

    Paste the JSON config below, replacing YOUR_AGENTCY_API_KEY with your actual key

  7. 07

    Click Confirm — Agentcy appears in the MCP server list

CONFIG

path: .trae/mcp.json

mcp.json
{
  "mcpServers": {
    "agentcy": {
      "url": "https://data.goagentcy.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AGENTCY_API_KEY"
      }
    }
  }
}
Last verified: April 9, 2026Official docs
TIPS

Trae uses the standard mcpServers OBJECT format (server names as keys) — NOT an array. Older Trae v1.3.x docs showed an array format with "name" and "type" fields; that format is gone. Trae infers transport from field presence (url = HTTP, command = stdio) — no "type" field needed. Project-level config lives at .trae/mcp.json (added January 23, 2026); global config is managed via the Settings UI. Trae moved to a freemium model in 2026: Free ($0 with limits), Lite ($3/mo), Pro ($10/mo), Pro+ ($30/mo), Ultra ($100/mo). MCP availability on the free tier is not explicitly documented — may require a paid plan in practice.

REFERENCES
4 SOURCES

Stuck or want to verify these instructions yourself? These are the documentation sources we used. If something here doesn't match what you see in your client, the vendor may have updated their UI — and we'll get this page updated.

EXPLORE DATA SOURCES

After connecting Trae and configuring your data sources in the portal, ask questions about any of them in natural language:

View all data sources →

v1.0Need help?