GTM MCP Server
Provides a PostgreSQL-backed mock CRM backend, enabling the server's CRM query and write tools to read and upsert CRM records stored in PostgreSQL.
Click on "Install 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 MCP ServerEnrich Acme Corp and add their VP of Sales to my target list"
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 MCP Server
An MCP server that exposes go-to-market capabilities — company and contact enrichment, CRM query, and controlled writes back to a CRM — as tools an AI agent can call directly from Claude Desktop, Claude Code, or any MCP client.
Built on the official MCP Python SDK v2 against spec revision 2026-07-28.
Status: foundation complete, GTM tools not yet implemented. The server runs, connects to a real MCP client, and serves one diagnostic tool. The five GTM tools below are designed and architecturally provided for, but not written yet. The live
server_infotool reports exactly which capabilities are implemented, so this claim is checkable rather than something you have to take on faith. See PROJECT_STATUS.md for detail.
Why this exists
GTM teams run enrichment, list building and CRM hygiene through a stack of disconnected tools and a lot of manual copying. An AI agent could do that work end to end — research an account, find the right contact, check what the CRM already knows, write back the result — if it had safe, well-described tools to call.
"Safe" is the hard part. An agent with write access to a CRM is one ambiguous instruction away from corrupting a revenue system. This project treats that as the central design problem rather than an afterthought: the write path has no delete capability at any layer, every write is an audited upsert, and a tool structurally cannot report success for an operation that did not happen.
Related MCP server: AgentsGate
Planned capabilities
Tool | Kind | What it does | Status |
| read | Firmographic enrichment from a domain or name | Planned |
| read | People enrichment from a name and company | Planned |
| read | Query CRM records with bounded, typed filters | Planned |
| write | Add an existing contact to a GTM list | Planned |
| write | Upsert enriched data into the CRM | Planned |
| read | Report available capabilities and system health | Implemented |
Engineering highlights
Guardrails that are enforced, not promised. Every safety property in ARCHITECTURE.md maps to a mechanism and a test:
No delete exists anywhere — not on the repository port, not in the audit operation enum, not in any tool name. A contract test screens the live tool list for destructive naming.
WriteResult.successis a computed field derived from the outcome, on a frozen model. No call site can set it toTrueafter a failure. A dry run is explicitly not a success.Guardrail configuration is immutable at runtime and rejects unknown keys, so a typo in an environment variable fails loudly rather than silently disabling a safety check.
Every write attempt is audited, including the ones that were rejected or failed.
Tool definitions written for a model. Descriptions state when not to call a tool;
parameters carry descriptions and real constraints; errors are split into "the agent can fix
this" and "the server is broken" (ToolError vs MCPError) so a failure either teaches the
agent something or stays out of its way.
Schemas derived from types. No hand-written JSON Schema anywhere — the SDK derives input and output schemas from Pydantic models and validates returns against them, so the schema cannot drift from the implementation.
Protocol-level tests. MCP tools are tested through a real in-memory client session, so registration, schema derivation, annotations and lifespan injection are all covered — not just the Python function underneath.
Architecture at a glance
MCP client → server layer → tool layer → service layer → ports → adapters
├─ enrichment APIs
└─ PostgreSQL mock CRMA modular monolith with dependencies pointing inward. Only the tool layer knows about MCP; everything below it is ordinary, testable Python. Swapping an enrichment vendor or the CRM backend means writing one adapter, with no change to any tool.
Full detail in ARCHITECTURE.md; the reasoning behind each choice in DECISIONS.md.
Getting started
Requirements: uv, Docker (for the mock CRM database). uv supplies Python 3.13 itself.
git clone <repository-url>
cd GTM_MCP_PROJ
uv sync --extra dev # create the environment from the lockfile
cp .env.example .env # optional: every value has a working default
docker compose up -d --wait dbVerify the server starts and answers:
uv run pytest # 55 tests
uv run gtm-mcp-server # starts on stdio; Ctrl-C to stopConnect it to an MCP client
Claude Code
claude mcp add gtm -- uv --directory /absolute/path/to/GTM_MCP_PROJ run gtm-mcp-serverClaude Desktop — merge examples/claude_desktop_config.json
into your config file (%APPDATA%\Claude\claude_desktop_config.json on Windows,
~/Library/Application Support/Claude/claude_desktop_config.json on macOS), replacing the
path, then restart the app.
MCP Inspector — the official debugging tool, no install required:
npx @modelcontextprotocol/inspector uv run gtm-mcp-serverThen ask the agent "what GTM capabilities do you have?" — it will call server_info.
Configuration
Every setting is optional and read from GTM_-prefixed environment variables or .env; see
.env.example for the full list. The ones that matter most:
Variable | Default | Purpose |
|
| Mock CRM connection |
|
|
|
|
|
|
|
|
|
|
|
|
Logs always go to stderr; stdout is reserved for the JSON-RPC stream.
Testing
Tests are written alongside the code and grouped by what they need:
uv run pytest -m unit # fast, no I/O
uv run pytest -m mcp # real in-memory MCP protocol sessions
uv run pytest -m integration # requires PostgreSQL; skips cleanly without it
uv run pytest --cov # everything, with coverageThe suite verifies behaviour and failure modes, not that code runs. Representative examples:
startup survives an unreachable database instead of crashing; a bad DSN cannot hang startup;
logs never reach stdout; personal data is redacted; success cannot be forged on a failed
write.
Full quality gate, matching CI:
uv run ruff check . && uv run ruff format --check . && uv run mypy && uv run pytestRoadmap
Foundation — server, configuration, error taxonomy, audit contract, logging, test harness. ✅ Complete
Mock CRM — schema, migrations, seed data,
CrmRepositoryimplementation, durable audit sink.Read tools —
crm_query, thensearch_companyandsearch_contactonce an enrichment provider is selected on current evidence (D-013).Write tools —
sync_to_crmandsave_to_list, with the full guardrail and audit path.Evaluation — measure whether an agent picks the right tool from a realistic GTM request, and whether it interprets write outcomes correctly.
License
MIT
Available Tools
1 toolserver_infoGTM server statusARead-onlyIdempotent
Report which GTM capabilities this server can currently perform.
Call this first when you are unsure whether a GTM capability is available, or when a data-modifying call has failed and you need to know whether writes are disabled. It takes no arguments, reads no customer data, and changes nothing.
Returns which tools are implemented versus merely planned, whether the CRM database is reachable, and whether write tools are permitted to modify data. Do not call tools listed under planned capabilities; they are not registered and the call will fail.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| version | Yes | Server package version. |
| environment | Yes | Environment the server is running in. |
| server_name | Yes | Configured name of this server. |
| dry_run_writes | Yes | When true, write tools validate and audit but never persist changes. |
| database_available | Yes | Whether the CRM database is reachable. CRM tools fail when false. |
| write_tools_enabled | Yes | Whether write tools may modify data. When false they refuse every call. |
| planned_capabilities | Yes | GTM capabilities that are designed but not yet callable. Do not attempt to call these. |
| implemented_capabilities | Yes | GTM capabilities that are implemented and callable right now. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, but the description adds valuable context: it takes no arguments, reads no customer data, changes nothing, and returns specific status categories. There is no contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, front-loaded with the core purpose, and every sentence adds value. It avoids redundancy, clearly separates what the tool returns from when to use it, and is appropriately sized for the tool's simplicity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, no parameters, and annotations covering safety traits, the description covers all necessary context: when to call it, what it returns, and what not to do. Nothing important is missing for an agent to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the description explicitly states it takes no arguments, which is sufficient. With no parameters to document, the description does not need to add parameter semantics beyond confirming the absence of inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Report which GTM capabilities this server can currently perform.' It clearly identifies the tool's function and is not a tautology of its name or title. Even without siblings, it is unambiguous about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly tells the agent when to call this tool: first when unsure about capability availability, or after a data-modifying call fails to check whether writes are disabled. It also advises against calling tools listed under planned capabilities, providing actionable routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v0.1.0- First observed
server_info
TDQS
With only one tool, there is no possibility of confusion between tools. The server_info tool has a clear and singular purpose, so disambiguation is trivially perfect.
The single tool is named server_info, which follows a clear noun_noun pattern. With only one tool there are no inconsistencies to evaluate, so naming is internally consistent.
A server titled 'GTM MCP Server' would be expected to expose a range of GTM operations, but it exposes only a single information reporting tool. This falls at the 'too few' end of the scale for the apparent scope.
The server provides no tools for actual GTM management—no operations for tags, triggers, variables, containers, or any data modification. It only reports capabilities, leaving the domain severely uncovered.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Let AI agents query data and act across all your business apps via MCP.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access a unified catalog of tools from various APIs (OpenAPI, GraphQL, MCP, Google Discovery) through the MCP protocol.MIT

AgentsGateofficial
AlicenseNot gradedqualityAmaintenanceEnables AI agents to securely call MCP tools with risk scoring, checkpoints, rollback, and approval workflows.17MIT- FlicenseNot gradedqualityCmaintenanceAn MCP-native CRM backend for AI agents, enabling customer, opportunity, note, follow-up, and pipeline health management through 15 MCP tools.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with multiple CRM systems through a unified set of MCP tools, such as finding contacts, accounts, and deals, while supporting mock, REST, and vendor-specific backends.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vivz-git/Gtm-Mcp-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server