Endpoint
POST for JSON-RPC, GET for the resumable SSE stream. The server is stateless — each request is bound to your auth context.
Connect
Two ways to authenticate, depending on your client.- OAuth (Claude, Cursor)
- API key (programmatic)
Most MCP clients handle auth over OAuth — you add the server URL and approve access in your browser. GainTrace advertises its OAuth flow at Run a tool once and Claude Code opens a browser to authorize.Claude (desktop / web)Settings → Connectors → Add custom connector → paste the endpoint URL, then approve access.Cursor (
/.well-known/oauth-protected-resource, so compliant clients discover it automatically.Claude Code~/.cursor/mcp.json)Tools
The server exposes 88 tools in three tiers. Clients discover them automatically; you rarely name them yourself.Tier C — workflows
One-shot answers to CS-shaped questions. Prefer these first.
Tier B — namespaced
Precise reads and writes per resource (
gt_<namespace>_*).Tier A — data platform
Address any data model directly when a workflow tool can’t.
Tier C — workflow tools
High-level tools that answer a customer-success question in one call:gt_ask · gt_my_day · gt_brief_account · gt_brief_team · gt_at_risk_accounts · gt_expansion_opportunities · gt_renewal_pipeline · gt_what_changed · gt_explain_health · gt_recommend_action · gt_compose_outreach · gt_attribution_story · gt_simulate_playbook · gt_data_health_report
Tier A — data platform
For novel queries the workflow tools can’t satisfy:gt_models_list · gt_model_schema · gt_search · gt_query_compile · gt_query_run
Tier B — namespaced tools
Precise CRUD grouped by resource. Expand a namespace to see its tools.Accounts, contacts, activities
Accounts, contacts, activities
gt_account_list, gt_account_get, gt_account_search, gt_account_update_traits, gt_account_assign_csm, gt_account_timeline · gt_contact_list, gt_contact_get, gt_contact_search · gt_activity_list, gt_activity_getHealth, signals, Trace AI
Health, signals, Trace AI
gt_health_score, gt_health_history, gt_health_profiles_list, gt_health_set_override · gt_signal_list, gt_signal_get, gt_signal_dismiss, gt_signal_snooze, gt_signal_record_outcome · gt_cortex_predictions, gt_cortex_narrative, gt_cortex_blind_spots, gt_cortex_confirm_interventionRevenue, deals, surveys
Revenue, deals, surveys
gt_revenue_event_list, gt_revenue_change_analysis, gt_revenue_change_history · gt_deal_list, gt_deal_get · gt_survey_list, gt_survey_get, gt_survey_responses · gt_success_plan_list, gt_success_plan_getFlows, views, comms, portals
Flows, views, comms, portals
gt_flow_list, gt_flow_get, gt_flow_runs, gt_flow_apply, gt_flow_test_run · gt_view_list, gt_view_get, gt_view_run, gt_view_create, gt_view_delete · gt_comm_emails_list, gt_comm_meetings_list, gt_comm_meeting_get · gt_portal_list, gt_portal_get, gt_portal_template_listData, identity, sync, governance
Data, identity, sync, governance
gt_data_completeness, gt_data_freshness, gt_data_conflicts, gt_data_lineage · gt_identity_match_candidates, gt_identity_match_confirm, gt_identity_match_reject, gt_identity_source_authority · gt_sync_connections_list, gt_sync_streams_list, gt_sync_status · gt_governance_audit_log, gt_governance_retention_policies, gt_governance_custom_roles, gt_governance_ip_allowlist, gt_governance_api_keysPermissions and limits
- Scopes — each tool requires a scope (for example
read:companies,write:signals). Your OAuth grant or API key decides which tools are available. Read tools need aread:scope; writes need the matchingwrite:scope. - Audited writes — every write is recorded in the workspace audit log with the acting identity.
- Rate limits — 60 read calls and 20 write calls per minute, per identity. A
429means back off and retry. - Workspace isolation — the server only ever sees the one workspace your token belongs to.
V1 exposes tools only (no prompts or resources yet). Point your client at the
endpoint and it will list the tools it’s allowed to use.