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.
- 01
Sign up at app.goagentcy.com and create an API key
- 02
Open Trae IDE
- 03
Click the Settings icon in the upper-right corner
- 04
Select MCP from the left navigation panel
- 05
Click Add → Add Manually
- 06
Paste the JSON config below, replacing YOUR_AGENTCY_API_KEY with your actual key
- 07
Click Confirm — Agentcy appears in the MCP server list
path: .trae/mcp.json
{
"mcpServers": {
"agentcy": {
"url": "https://data.goagentcy.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_AGENTCY_API_KEY"
}
}
}
}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.
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.
- Trae Docs — Add MCP servers (official, primary; verbatim object-format example)
- Trae Docs — Changelog (project-level MCP added Jan 23 2026; v3.5.43 March 31 2026)
- Trae v1.3.0 release article (April 2025) — historical reference for the OLD array format
- Trae Pricing — freemium tiers (Free / Lite / Pro / Pro+ / Ultra)
After connecting Trae and configuring your data sources in the portal, ask questions about any of them in natural language: