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, users, sessions, 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. A remote client signs in with OAuth. Add the URL. The client opens a browser. Sign in with Google, or with your Atribusi email and password.
{
"mcpServers": {
"atribusi": {
"url": "https://app.atribusi.com/mcp"
}
}
}You can still send a user access token in the Authorization header. Get one 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"
}
}
}
}