Connect Tracwell to your agent
Connect an agent to analytics and scoped goal/funnel writes through Tracwell's Streamable HTTP MCP server.
Create a connection
Create a key in Settings → MCP, then configure your client with the connection details below.
- Transport
- Streamable HTTP
- Server URL
https://tracwell.app/mcp- Authorization
Bearer YOUR_MCP_KEY
Codex
Add the server from Settings → MCP servers and choose Streamable HTTP, or add this to ~/.codex/config.toml. Set TRACWELL_MCP_KEY before starting Codex.
[mcp_servers.tracwell]
url = "https://tracwell.app/mcp"
bearer_token_env_var = "TRACWELL_MCP_KEY"Claude Code
Add Tracwell at user scope, then run claude mcp get tracwell to verify the connection.
claude mcp add --transport http --scope user tracwell \
https://tracwell.app/mcp \
--header "Authorization: Bearer YOUR_READ_ONLY_KEY"Cursor
Save this as ~/.cursor/mcp.json for every project or .cursor/mcp.json for one workspace.
{
"mcpServers": {
"tracwell": {
"url": "https://tracwell.app/mcp",
"headers": {
"Authorization": "Bearer YOUR_READ_ONLY_KEY"
}
}
}
}VS Code and GitHub Copilot
Add this to .vscode/mcp.json, or run MCP: Open User Configuration for a global setup.
{
"inputs": [
{
"type": "promptString",
"id": "tracwell-mcp-key",
"description": "Tracwell MCP read-only key",
"password": true
}
],
"servers": {
"tracwell": {
"type": "http",
"url": "https://tracwell.app/mcp",
"headers": {
"Authorization": "Bearer ${input:tracwell-mcp-key}"
}
}
}
}Discover, preview, save
Start with analytics_projects, discover event names with analytics_events, and inspect typed property values with analytics_event_detail. Follow pagination cursors to discover every saved definition or observed event name.
Preview a goal or funnel before saving it. Write keys expose only goal/funnel create and update commands. Every write requires a UUID requestId; reuse it with identical input after a timeout. Updates require the current expectedRevision. Read again after a revision conflict.
Conversion reports explain their denominator, identity and time window. They count anonymous visitors; Private mode estimates visitors daily. Journeys are recorded sessions. Report links preserve the website, definition, exact timestamps and timezone.
Try a question
- Compare visitors and conversion over the last 7 days.
- Which acquisition sources bring the most engaged visits?
- Preview a pricing-to-signup funnel, then save it with my write key.