The Tracio MCP server lets Claude or another MCP client read your Tracio workspace through the Model Context Protocol. Your team asks in plain words — "summarise this account", "which accounts is it linked to", "why was this visit flagged" — and your AI client answers from the same data your dashboard shows.
The server is read-only. It cannot change verdicts, rules, block lists or anything else in your workspace: your team decides and acts. Tracio does not run a model on your data; your AI client runs on your side, under your own account.
MCP access is enabled per workspace on request. Ask your Tracio contact to turn it on for your workspace. Until it is on, the key type below does not appear in the dashboard, and keys created earlier are rejected.
The server address is:
https://app.tracio.ai/mcpIf your dashboard runs on your own domain, the same /mcp path works there too.
The key reads your workspace data, so treat it like a password: keep it out of browser code, shared documents and repositories. The workspace comes from the key itself; a request cannot ask for another workspace.
Every request carries the key in a header:
Authorization: Bearer <your key>claude mcp add --transport http tracio https://app.tracio.ai/mcp \ --header "Authorization: Bearer <your key>"The command saves the configuration without checking the key. Check the connection
with claude mcp get tracio, or with /mcp inside a session: a rejected key shows
as a failed connection with status 401. Choose where the configuration is stored
with --scope local|project|user (default local); do not put the key in the
project scope, which is meant to be committed to a repository.
Claude Desktop connects to a remote server with a header through the mcp-remote
package (requires Node.js). Open Settings → Developer → Edit Config and add to
claude_desktop_config.json:
{ "mcpServers": { "tracio": { "command": "npx", "args": [ "mcp-remote", "https://app.tracio.ai/mcp", "--header", "Authorization:${TRACIO_AUTH}" ], "env": { "TRACIO_AUTH": "Bearer <your key>" } } }}The header value goes through an environment variable with no space after the
colon: this avoids a Windows issue with spaces in args. Then fully restart Claude
Desktop. The file holds the key in plain text — do not share it.
The browser connectors in Claude.ai are not supported yet: they connect through OAuth, and the server accepts only the key above.
Any client that can connect to a remote MCP server over Streamable HTTP with its
own header works with the same address and key. Where a client can read the key
from an environment variable, keep it in TRACIO_API_KEY rather than in a file.
Add the server to ~/.cursor/mcp.json (all your projects):
{ "mcpServers": { "tracio": { "url": "https://app.tracio.ai/mcp", "headers": { "Authorization": "Bearer ${env:TRACIO_API_KEY}" } } }}Cursor started outside a terminal may not see the variable; then put the key into this file directly. The file is in your home directory, not in a repository. Check that the Tracio tools appear in the chat's tool list; errors are under Output → MCP Logs.
Run MCP: Open User Configuration and add:
{ "inputs": [ { "type": "promptString", "id": "tracio-key", "description": "Tracio MCP key", "password": true } ], "servers": { "tracio": { "type": "http", "url": "https://app.tracio.ai/mcp", "headers": { "Authorization": "Bearer ${input:tracio-key}" } } }}VS Code asks for the key when the server first starts and keeps it in its secure storage. Check the server with MCP: List Servers.
gemini mcp add --scope user --transport http \ --header "Authorization: Bearer <your key>" tracio https://app.tracio.ai/mcpCheck with gemini mcp list: the server shows as Connected. In a folder that
Gemini CLI does not trust, MCP servers are switched off: trust the folder first.
export TRACIO_API_KEY="<your key>"codex mcp add tracio --url https://app.tracio.ai/mcp --bearer-token-env-var TRACIO_API_KEYThe same in ~/.codex/config.toml:
[mcp_servers.tracio]url = "https://app.tracio.ai/mcp"bearer_token_env_var = "TRACIO_API_KEY"codex mcp list shows only the configuration; check the connection with /mcp
inside a codex session.
Windsurf (now Devin Desktop) reads ~/.config/devin/mcp_config.json:
{ "mcpServers": { "tracio": { "url": "https://app.tracio.ai/mcp", "transport": "http", "headers": { "Authorization": "Bearer <your key>" } } }}Check that the server appears in the MCP settings of Windsurf; if you also use
the Devin CLI, devin mcp list shows it too.
A client needs three things: the address https://app.tracio.ai/mcp, the
Streamable HTTP transport and the header Authorization: Bearer <your key>. A
client that runs only local (stdio) servers connects through the mcp-remote
bridge, as in the Claude Desktop example above. ChatGPT and Claude.ai in the
browser sign in through OAuth rather than a key: see the note on browser
connectors above.
The server offers four read-only tools. You do not call them by name: ask in plain words and your AI client picks the tool.
get_account — a summary of one account (by linked_id), one visitor or one
visit: number of visits, first and last visit, visitors, IPs, countries,
decisions, the latest visits, the fraud rings the account is in, and a link to
its graph in the dashboard.get_linked_accounts — accounts linked to an account through a shared visitor,
a shared person or a shared IP, with the number of shared visits and, where the
link type has them, the dates and the strength: a link through a shared visitor
has no dates, and a link through a shared person has no strength. An IP used by
more than 20 accounts in the window is treated as a hub and does not link
accounts.explain_visit — why a visit got its verdict, the same explanation the
dashboard shows, plus how common each of the visit's labels is in your workspace
over the last 7 days.find_visits — visits by IP, visitor or person, including anonymous visits
without a linked_id, as a table your AI client can sort and count.get_account, get_linked_accounts and find_visits
take an optional window; the default is the last 30 days, and a longer window is
cut to 30 days. explain_visit looks for the visit in the last 30 days.find_visits refuses a larger result: narrow the window or
the filter. The get_account summary is computed over the first 5,000 visits and
says so when it is cut.linked_id. Accounts are found by the exact linked_id your site sends
to the Tracio script. If your site sends a hash or another transformation of your
internal user ID, ask with that value; Tracio does not translate between them.untrusted_visitor_data field, and
linked_id and tags are strings sent by your site. Treat them as data: none of
them is a command for the model.<linked_id> for the last two weeks."<request_id> flagged? What is unusual about it?"<ip> in the last week and count the distinct accounts."