MCP server
Connect Claude, ChatGPT, Cursor, VS Code or any other MCP client to TraceIQ and ask about your product in plain language: what is broken right now, why conversion dropped, which experiment variant is winning, who a user is and what they did. With your permission the assistant can also make changes, such as toggling a flag, creating a dashboard or resolving an error.
There are two ways to connect. Use the remote server unless your client only supports local servers.
Remote server (recommended)
Nothing to install and no token to copy. Add this URL as a custom connector in your AI app:
https://api.traceiq.run/mcp
- Claude (web and desktop): Settings → Connectors → Add custom connector, then paste the URL.
- Claude Code:
claude mcp add --transport http traceiq https://api.traceiq.run/mcp - Codex (desktop app, CLI and IDE extension share one config): run
codex mcp add traceiq --url https://api.traceiq.run/mcpin a terminal. Codex prints a sign-in link (or opens your browser); approve it on the same computer so the browser can hand the sign-in back to Codex. If it doesn't, runcodex mcp login traceiq. Then start a new Codex chat and askUse TraceIQ to list my projects; chats that were already open don't load the new tools. - Cursor: add
"traceiq": { "url": "https://api.traceiq.run/mcp" }undermcpServersin~/.cursor/mcp.json. - VS Code: add
"traceiq": { "type": "http", "url": "https://api.traceiq.run/mcp" }underserversin.vscode/mcp.json. - ChatGPT and other clients: add it wherever the app lets you connect a remote MCP server.
The app opens TraceIQ, you sign in, and a consent page shows what the app will be able to read. It is read-only unless you tick Also allow changes. Click Allow access and you are connected.
Behind the scenes the connection is a personal access token named after the app, for example Claude (connected app). It lasts 90 days and you can revoke it any time under Settings → Personal access tokens. Connecting an app needs the owner or admin role, and asks for your second factor if you use two-factor authentication.
Clients that take a URL plus headers instead of signing in can send an existing token: Authorization: Bearer tiq_pat_....
Local server (npm)
Run the traceiq-mcp-server npm package on your machine. Create a personal access token in Settings → Personal access tokens (the MCP read-only and MCP full presets pick the right scopes), then add it to your client. The dashboard shows the token once and stores only a SHA-256 hash.
Claude Desktop config:
{
"mcpServers": {
"traceiq": {
"command": "npx",
"args": ["-y", "traceiq-mcp-server"],
"env": {
"TRACEIQ_API_KEY": "tiq_pat_your_token_here",
"TRACEIQ_API_URL": "https://api.traceiq.run"
}
}
}
}Cursor and other clients can run the same command:
npx -y traceiq-mcp-server
What the assistant can do
The server has 68 tools. Each one needs the matching scope (for example funnels:read or flags:write); ask the assistant to run whoami to see which tools your connection can use.
Incidents— investigate_incident, get_project_health, get_today_story, search_logs, get_log, search_requests, get_request, list_replays, update_error_issueAnalytics— get_analytics_overview, get_web_analytics, get_api_performance, summarize_api_health, get_trends, get_retention, show_retention_changes, list_event_names, run_insight_queryFunnels— list_funnels, get_funnel, get_funnel_results, get_funnel_step_users, summarize_funnel_dropoff, explain_conversion_drop, find_users_who_failed_checkout, create_funnel, update_funnel, delete_funnelUsers and errors— list_users, get_user, get_user_timeline, list_error_issues, get_error_issueExperiments and surveys— list_experiments, get_experiment_results, create_experiment, set_experiment_status, list_surveys, get_survey_results, set_survey_statusDashboards and cohorts— list_dashboards, get_dashboard, create_dashboard, add_dashboard_widget, list_cohorts, create_cohort, delete_cohortFlags, alerts and links— list_feature_flags, create_feature_flag, update_feature_flag, toggle_feature_flag, list_alerts, create_alert, set_alert_enabled, delete_alert, list_links, get_link_stats, create_linkMonitors and webhooks— list_synthetic_monitors, get_synthetic_monitor_runs, run_synthetic_monitor, set_synthetic_monitor_paused, list_webhooks, list_webhook_deliveries, retry_webhook_delivery, test_webhookAccount— list_projects, whoami
Prompts, charts and context
Prompts— Ready-made workflows that clients show as slash commands: incident-review, daily-standup, weekly-report, experiment-readout and funnel-audit.Inline charts— In apps that support MCP Apps, project health, trends, funnel results and experiment results appear as interactive charts under the answer.Dashboard links— Results include an Open in TraceIQ link to the matching dashboard page.Resources— Attach your projects, account, event names, funnels or dashboards as context (traceiq://projects, traceiq://me, traceiq://projects/{projectId}/funnels and more).
Safety
Reads never change anything. Tools that change data say so, and in apps that support it the server asks you to confirm before it deletes a funnel, alert or cohort, toggles a feature flag, or changes an experiment or survey status. If you decline, nothing changes. Organization settings, write keys and personal access tokens are not available through MCP. When a call fails for lack of a scope, the error names the scopes the tool needs.

