GTM Data MCP
Connects to approved Notion sources through a scheduled reconciliation connector, proposing catalog changes for review before they are applied.
Accepts Slack-signed requests through a Slackbot MCP client endpoint, allowing verified Slack users to query the GTM catalog with workspace allowlisting and invocation auditing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GTM Data MCP Who owns Google Ads and what's the escalation runbook?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GTM Data MCP
GTM Data MCP is Runpod's governed context layer for go-to-market operations. It gives compatible AI clients one place to find owners, teams, agencies, vendors, platform accounts, integrations, measurement assets, data definitions, runbooks, lineage, and safe bulk-change templates.
The server is deliberately independent from the Runpod UTM Builder. Either product can operate alone. When UTM_BUILDER_URL and UTM_BUILDER_TOKEN are configured, the MCP adds an optional UTM module that calls the builder's governed /api/v1 interface for reference data, search, preview, and approved issuance.
What V1 includes
A searchable GTM catalog with typed records and relationships.
Ownership, personnel, agency, vendor, account, measurement, and lineage lookups.
Business-term and technical-field data dictionaries.
Readiness checks that surface unverified, stale, conflicted, or pending information.
Governed bulk-change templates with CSV generation and offline validation.
A scheduled Notion reconciliation connector that proposes changes for review.
PostgreSQL persistence, version checks, source evidence, locks, and an audit log.
Local STDIO and remote Streamable HTTP MCP transports.
A Slackbot MCP Client endpoint with request verification, org/workspace allowlisting, per-user identity, restricted-record controls, and invocation auditing.
An optional, separately authenticated UTM Builder adapter.
V1 does not store credentials inside catalog records, write directly to advertising platforms, silently copy every Notion edit into the catalog, or make the UTM Builder depend on this server.
Related MCP server: Marketing Brain
Architecture
flowchart LR
C[Codex or Claude Code] -->|MCP: HTTP or STDIO| M[GTM Data MCP]
M --> P[(PostgreSQL catalog and audit log)]
N[Approved Notion sources] -->|scheduled reconciliation| P
A[GTM administrator] -->|review and import| P
M -. optional API adapter .-> U[Independent UTM Builder]
U --> R[(UTM registry)]The failure boundary is intentional: catalog queries continue if the UTM Builder is unavailable; the UTM Builder and already-issued URLs continue if the MCP is unavailable.
Tool inventory
Area | Tools |
Discovery |
|
Ownership |
|
Measurement |
|
Operations |
|
Bulk work |
|
Optional UTM |
|
All catalog and template tools are read-only. UTM issuance tools are only registered when the UTM API is configured, require an explicit confirmed=true, and use the independent builder's validation and registry.
Quick start
Requirements: Node.js 20 or newer.
npm install
cp .env.example .env
npm run typecheck
npm test
npm run buildThe bundled data/catalog.json supports a database-free local evaluation:
GTM_CATALOG_PATH=./data/catalog.json npm run devFor local HTTP testing:
GTM_MCP_BEARER_TOKEN="replace-with-a-secret" npm run dev:httpThe endpoints are http://localhost:8787/mcp and http://localhost:8787/health.
Slack access
The production deployment exposes two independent MCP entry points:
/api/mcpuses a bearer token for Codex, Claude Code, and other approved MCP clients./api/slack/mcpaccepts only Slack-signed Streamable HTTP requests and reads the verified caller from_meta.slack.
Connect the Slack endpoint to the shared Runpod GTM Ops Slack app using Slack identity auth. Users can then ask Slackbot questions such as “Who owns Google Ads and what is the escalation runbook?” without configuring an MCP client locally. Tool calls are attributed to the Slack enterprise/workspace/user identity and recorded in gtm_audit_events; tool arguments are deliberately excluded from the invocation audit payload.
The canonical Slack app manifest and deterministic /utm workflow live in the companion UTM Builder repository. See Slack setup and operations.
Codex and Claude Code compatibility
Yes. The server uses the open Model Context Protocol rather than a client-specific API. Both Codex and Claude Code support local STDIO and remote HTTP MCP servers; only their client configuration differs. The shared deployment recommendation is remote Streamable HTTP with HTTPS and authentication. See the OpenAI MCP documentation and Claude Code MCP documentation.
Codex remote configuration in ~/.codex/config.toml:
[mcp_servers.gtm_data]
url = "https://gtm-data-mcp.example.com/api/mcp"
bearer_token_env_var = "GTM_DATA_MCP_TOKEN"Claude Code remote configuration:
claude mcp add --transport http gtm-data \
https://gtm-data-mcp.example.com/api/mcp \
--header "Authorization: Bearer ${GTM_DATA_MCP_TOKEN}"Local STDIO is also available after npm run build:
claude mcp add --transport stdio gtm-data -- node /absolute/path/to/gtm_data_mcp/dist/src/index.jsFor Codex, use command = "node" and args = ["/absolute/path/to/gtm_data_mcp/dist/src/index.js"] under [mcp_servers.gtm_data].
Data model
Supported record types are person, team, agency, vendor, system, account, integration, data_term, data_field, measurement_asset, runbook, policy, and report. Relationships express responsibilities and lineage without embedding the same fact in many records.
Every record carries lifecycle, sensitivity, verification state, source evidence, version, and update timestamps. restricted records are excluded by default. Secrets belong in the deployment secret store and are referenced by environment-variable name, never copied into the catalog.
Administration and deployment
Security posture
Standard remote requests require a fixed bearer token in V1; Slack requests use Slack signatures and Slack identity instead.
Slack calls enforce timestamp-based replay protection and can be limited to approved enterprise/workspace IDs. Restricted records require a separate per-user allowlist.
Source updates are review-first. Auto-apply is possible only for existing records and an explicit per-connector top-level field allowlist.
Proposal approval uses optimistic version checks so a stale proposal cannot overwrite a newer catalog update.
UTM tokens and Notion tokens remain server-side.
Bulk tools generate and validate files but do not upload them to third-party platforms.
Repository status
This is a V1 foundation. The starter catalog contains verified UTM identifier definitions and several draft platform templates. Draft templates must be certified against a current export and current platform documentation before production use.
Available Tools
15 toolsgtm_check_readinessCheck GTM readinessBRead-onlyIdempotent
Check lifecycle, verification, ownership, runbook linkage, and pending source updates.
Inputs: recordId (required).
gtm_find_runbooksFind GTM runbooksCRead-onlyIdempotent
Find active operating, incident, escalation, and recovery runbooks.
Inputs: limit, query.
gtm_generate_bulk_templateGenerate bulk-change CSVBRead-onlyIdempotent
Generate safe CSV headers/examples; draft templates require verification against a current platform export.
Inputs: templateKey (required).
gtm_get_account_contextGet GTM account contextCRead-onlyIdempotent
Find platform account IDs, contacts, APIs, owners, agencies/vendors, integrations, runbooks, and systems.
Inputs: query (required), limit.
gtm_get_data_definitionGet GTM data definitionCRead-onlyIdempotent
Find governed business-term and technical-field definitions.
Inputs: query (required), limit.
gtm_get_measurement_inventoryGet GTM measurement inventoryBRead-onlyIdempotent
Return measurement assets, systems, integrations, reports, ownership, and lineage.
Inputs: limit, query.
gtm_get_personnel_mapGet GTM personnel mapARead-onlyIdempotent
Return people, teams, agencies, and vendors with active responsibility relationships.
Inputs: limit, query.
gtm_get_recordGet GTM recordARead-onlyIdempotent
Get one governed record by ID or key with active relationships.
Inputs: id, key, recordType.
gtm_list_bulk_templatesList GTM bulk-change templatesBRead-onlyIdempotent
List governed mass-change templates, constraints, documentation, and verification state.
Inputs: operation, platformKey.
gtm_list_source_updatesList detected source updatesARead-onlyIdempotent
List reviewable changes detected by source reconciliation; this tool cannot approve or apply them.
Inputs: limit, status, connectorKey.
gtm_module_statusGTM Data module statusARead-onlyIdempotent
Describe the enabled catalog backend, UTM integration availability, and restricted-data policy.
Inputs: no named parameters.
gtm_resolve_ownershipResolve GTM ownershipCRead-onlyIdempotent
Resolve owners, operators, approvers, backups, agencies, vendors, and escalation contacts.
Inputs: query, recordId.
gtm_search_catalogSearch GTM data catalogARead-onlyIdempotent
Search people, teams, agencies, vendors, systems, accounts, integrations, definitions, measurement assets, runbooks, policies, and reports.
Inputs: limit, query, lifecycle, recordTypes, +1 more.
gtm_trace_lineageTrace GTM data lineageARead-onlyIdempotent
Trace governed upstream and downstream relationships up to four levels.
Inputs: recordId (required), depth, direction.
gtm_validate_bulk_changeValidate bulk-change CSVBRead-onlyIdempotent
Validate columns, required values, allowed values, and row limits without uploading or changing a platform.
Inputs: csv (required), templateKey (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Several read-oriented tools overlap in scope: resolve_ownership and get_personnel_map both return responsibility relationships, and get_measurement_inventory, get_account_context, and get_record all offer relationship-rich snapshots. The descriptions generally clarify the primary focus of each tool, but an agent could still struggle to pick between them.
Tool names are overwhelmingly snake_case with a consistent gtm_ prefix and verb-first structure, e.g., get_, list_, search_, generate_, validate_. The only notable deviation is gtm_module_status, which uses a noun phrase rather than a verb_noun pattern, though it remains readable.
Fifteen tools is within a reasonable range for a broad data governance domain, and most tools serve a distinct read or validation purpose. However, the count feels slightly high because some tools could be consolidated or aligned more tightly around core entities.
The server is strong on read, search, lineage, readiness, and bulk-change validation coverage, so most query-oriented workflows are supported. However, there are no lifecycle or mutation tools: source updates can be listed but not approved/applied, records cannot be created or updated, and bulk changes can be generated and validated but not submitted. This leaves notable workflow dead ends, even if the read-only boundary is intentional.
Related MCP Connectors
Governed business context, analytics and actions for revenue, legal, advisory and data workflows.
Shared, permission-aware company context for AI agents, with provenance, approvals and audit.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Governed map of company knowledge for humans + agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to autonomously manage and improve execution processes for repetitive task types by storing reusable task contexts with associated artifacts (practices, rules, prompts, learnings) and providing full-text search across historical best practices.81MIT
- FlicenseAqualityDmaintenanceProvides standardized brand guidelines and structured content templates for marketing assets like blogs, emails, and social media. It serves as a central source of truth for brand voice and strategy through an extensible file-based system.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search, explore data lineage, understand business context, and generate SQL queries across an organization's data ecosystem.Apache 2.0
- FlicenseAqualityDmaintenanceExposes marketing catalogs (offers, assets, campaigns, and computed metrics) to MCP clients, enabling natural language queries and AI-driven marketing analysis.8-