MCP server
The Atribusi MCP server lets an AI agent read your analytics and manage goals. Ask how many visitors you had today, which channel led last week, or how the most active campaign is doing.
The agent can:
- Read overview KPIs, visitors, pages, referrers, and live traffic
- Rank acquisition channels and UTM campaigns
- Create, update, and delete PATH or EVENT goals
- Create funnels and read funnel reports
- List and summarize session replays
- Call the rest of the authenticated API
Production serves the MCP server over HTTP at https://app.atribusi.com/mcp. Each request needs a user access token:
{
"mcpServers": {
"atribusi": {
"url": "https://app.atribusi.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
}
}
}Get an access token from POST /api/auth/login with { "email", "password" }. You can also run the server from the repo after you build apps/mcp:
ATTRIBUSI_API_URL=https://app.atribusi.com
ATTRIBUSI_EMAIL=you@example.com
ATTRIBUSI_PASSWORD=your-password
ATTRIBUSI_TIMEZONE=America/New_YorkYou can pass ATTRIBUSI_ACCESS_TOKEN instead of email and password. Local stdio config:
{
"mcpServers": {
"atribusi": {
"command": "node",
"args": ["/absolute/path/to/atribusi/apps/mcp/dist/index.js"],
"env": {
"ATTRIBUSI_API_URL": "https://app.atribusi.com",
"ATTRIBUSI_EMAIL": "you@example.com",
"ATTRIBUSI_PASSWORD": "your-password"
}
}
}
}