Docs

Connect an AI assistant

Turba Digital runs an MCP server, so Claude and other MCP clients can read your reports and manage your setup in plain language.

https://turba.digital/mcp

The first time, it opens Turba Digital in your browser. Sign in (or create an account), then choose what it may do: Read reports, or Read reports and make changes to sites, website restrictions, views, goals, funnels and members. Either way it acts as you and never goes beyond your own role. You can disconnect it any time under Profile → Connected apps, and it stops working straight away. To change what it may do, disconnect it and connect again.

Claude (web, desktop and mobile)

In Settings → Connectors, choose Add custom connector, name it Turba Digital and paste the URL above. Connectors you add there also work in Claude Code.

Claude Code

claude mcp add --transport http turba-digital https://turba.digital/mcp

Then run /mcp in Claude Code and choose turba-digital to sign in.

Cursor

Use Add to Cursor above, or add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "turba-digital": { "url": "https://turba.digital/mcp" }
  }
}

VS Code

Use Install in VS Code above, or add this to .vscode/mcp.json and start the server from that file:

{
  "servers": {
    "turba-digital": { "type": "http", "url": "https://turba.digital/mcp" }
  }
}

Other assistants

Any MCP client that supports remote servers over Streamable HTTP with OAuth can connect with the URL above. It finds the sign-in page on its own.

Use an API key instead

For scripts and clients without sign-in, create a key under Profile → API keys, choosing read or manage, and send it as a bearer token. Revoking the key stops it straight away.

Authorization: Bearer tdk_...

In Claude Code, for example:

claude mcp add --transport http turba-digital https://turba.digital/mcp --header "Authorization: Bearer tdk_..."

Tools

  • Read: list_accounts, list_sites, get_overview, get_breakdown, get_realtime, get_event_details, get_user_flow, get_page_map, list_goals, get_goal_details, list_funnels, get_site_settings, get_install_snippet, list_site_access, list_members, list_stories, get_story, get_audit_log.
  • Manage: create_site, update_site, set_website_restrictions, create_view, update_view, delete_view, create_goal, update_goal, delete_goal, create_funnel, update_funnel, delete_funnel, rename_account, invite_member, resend_invite, revoke_invite, set_member_role, set_site_access, remove_member.

Reports compare each period with the one before, as the dashboard does. Sending events, exporting raw data, deleting sites or data, plans and billing, writing stories, and turning on opt-in features stay in the dashboard. Every change made through the MCP server appears in the account's audit log.