A question we hear more often now: "If we put an MCP server in front of our CRM, is the integration done?" The short answer is no. The Model Context Protocol standardizes the plug. It doesn't standardize what's behind it, and most of the work that decides whether an agent is safe on a system of record sits behind it.
This note covers what the specification actually defines, what it leaves to you, and how we put an MCP server in front of a CRM when an agent has to read and write real records. We refer to the current revision of the spec, dated July 28, 2026.
What MCP standardizes
Messages and roles. MCP uses JSON-RPC 2.0 messages between hosts (the LLM application), clients (connectors inside the host) and servers (services that provide context and capabilities). The spec cites the Language Server Protocol as its inspiration.
Three kinds of thing a server can offer. The difference between them is who decides when they're used:
- Tools are model-controlled. The model discovers them and decides when to call them. Each has a name, a description and a JSON Schema for its inputs, and can declare an output schema.
- Resources are application-driven. The host decides how to bring them into context, for example by letting a user pick a record from a list.
- Prompts are user-controlled. They're templates a person chooses, typically from a command menu.
Two standard transports. With stdio, the client launches the server as a subprocess and they exchange newline-delimited messages. With Streamable HTTP, each message is an HTTP POST to a single endpoint, and the reply comes back as JSON or as a stream for that request. The July 2026 revision made the protocol stateless. It removed the initialize handshake and protocol-level sessions, so every request carries its own protocol version and client capabilities. A server that needs state across calls returns an explicit handle and accepts it as an ordinary tool argument.
Authorization for HTTP servers. Authorization is optional in MCP. When an HTTP server uses it, the spec builds on the OAuth 2.1 draft and a set of existing RFCs. The MCP server acts as an OAuth resource server and must publish Protected Resource Metadata (RFC 9728) so clients can find its authorization server. Clients must use resource indicators (RFC 8707) so a token is bound to the server it was requested for. Servers must reject tokens that weren't issued for them. If the server calls an upstream API, it uses a separate token from the upstream authorization server and must not pass through the token it received. Servers on stdio aren't meant to use this flow. They take credentials from the environment.
Hints about behavior. A tool can carry annotations: readOnlyHint, destructiveHint, idempotentHint and openWorldHint. The schema is explicit that these are hints. They aren't guaranteed to describe the tool faithfully, and clients should never make decisions based on annotations from untrusted servers.
That's real progress: one server can serve many hosts, and discovery and auth work the same way everywhere. But look at what the list leaves out.
What it leaves to you
The quality of the integration. A tool called update_opportunity is only as good as the code behind it. The protocol doesn't know about duplicate accounts, validation rules, required fields that differ by record type, or the trigger that fires an email when a stage changes. MCP changes the shape of the interface, not the integration work behind it.
Rate limits. The tools section says servers must rate limit tool invocations. It doesn't say how, or against what. Most CRMs and ERPs enforce API limits across the whole account, not per user: a daily allocation, a per-minute rate, a cap on concurrent long-running requests, or all three. Past the limit, calls fail until the window resets. An agent stuck in a retry loop draws on the same budget as your nightly sync and your middleware.
Permissions mapping. OAuth gets the user a token for the MCP server. Because the spec forbids passing that token through, the server has to decide what identity it uses with the CRM. If it uses one integration user with broad access, then anyone who can reach the agent effectively has that access, whatever their own profile says. Security teams ask about this first.
Idempotent writes. Retries are built into the protocol. In the current revision, a broken response stream loses the in-flight request, and the client must send it again as a new request with a new ID. Models also repeat calls when a result looks ambiguous. If create_case isn't idempotent, a dropped connection becomes a duplicate case. Setting idempotentHint doesn't make a tool idempotent. Only the server's code can do that.
Tool poisoning and prompt injection. In April 2025, Invariant Labs described what they called tool poisoning attacks: instructions hidden in a tool's description that the model sees but the user usually doesn't. Their experiments got an agent to read local configuration files and SSH keys and send them to a malicious server. They also described "rug pulls", where a server changes a tool description after the user has approved it, and "shadowing", where one server's descriptions change how the agent uses another, trusted server. OWASP lists prompt injection as the first risk for LLM applications and notes that indirect injection can arrive in any outside content the model reads. In a CRM, that includes case descriptions, email bodies and chat transcripts, all of which customers write.
The spec is candid about this. Its security principles say MCP "cannot enforce these security principles at the protocol level". It asks hosts to get explicit user consent before invoking any tool, and says there should always be a human in the loop who can deny a tool call.

Putting an MCP server in front of a CRM
Here's how we build it when an agent needs to work with real records.
- A few narrow tools, each with one job. No
run_query, no genericupdate_record. A triage agent might getget_case_context,set_case_queueanddraft_reply, and nothing else. The tool list is the agent's real permission set, so keep it short enough to read in a meeting. - Tight schemas, enforced by the server. Enumerate the allowed values, reject unknown fields and validate ID formats. When the model sends something odd, the server refuses it with a clear error.
- Act as the user where you can. Validate the token's audience, then call the CRM with a token for that same person, so its own sharing rules and field permissions apply. Where a service identity is unavoidable, give it a dedicated integration user with a permission set limited to the exact objects and fields the tools touch.
- A budget of your own. Rate limit per user and per tool, and give the agent a fixed share of the account's API allocation. When the CRM pushes back, return a tool error the model can read, such as "rate limited, try again in 60 seconds", rather than letting it try again straight away.
- Idempotency keys on every write. Have the caller supply a request ID, store it in a unique external ID field, and write with an upsert keyed on that field: the record is created if the key isn't found and updated if it is, so a repeated call changes nothing. Use an update-only call where creating a record would be wrong.
- Treat record text as data, not instructions. Return customer-written fields in clearly labeled structured content. Don't give the same agent session both a tool that reads untrusted text and a tool that sends data outside the company. Run only MCP servers you built or reviewed, and pin their tool definitions so a changed description gets noticed.
- Confirmation where it matters. Anything that changes ownership, sends a message to a customer or touches money goes to a person first.
- Logs someone can read. Record each call with the user, the tool, the arguments, the CRM record IDs and the outcome. The spec documents how to carry OpenTelemetry trace context in request metadata, which makes it possible to follow one request from the host to the CRM and back.
Here's what one of those tools looks like. The annotations tell the client what to expect. The schema and the server code are what actually hold the line:
{
"name": "set_case_queue",
"description": "Move one support case to a queue. Changes no other field.",
"inputSchema": {
"type": "object",
"properties": {
"case_id": { "type": "string", "pattern": "^[0-9]{1,12}$" },
"queue": { "type": "string", "enum": ["Billing", "Technical", "Returns"] },
"request_id": { "type": "string", "description": "Caller-generated key. Repeating a call with the same key has no further effect." }
},
"required": ["case_id", "queue", "request_id"],
"additionalProperties": false
},
"annotations": { "readOnlyHint": false, "destructiveHint": true, "idempotentHint": true, "openWorldHint": false }
}Finally, put the server under the same nightly evaluation as the agent. Include cases with duplicate accounts, cases whose descriptions contain instructions, and cases that should be refused. A tool description is part of the prompt, so changing one is a change to the agent.
Questions to ask before you connect one
- Can you list every tool the agent can call, and say in one sentence what each one changes?
- Whose identity does the MCP server use with the CRM, and what can that identity see that the user can't?
- What happens to the account's daily API allocation if the agent loops for an hour?
- If the same write arrives twice, do you get one record or two?
- Which tools read text that customers or outsiders wrote, and can the same session send data anywhere?
- Who reviews a change to a tool description, and how would you notice one you didn't make?
- Can you trace a single tool call from the chat window to the CRM record it changed?
MCP makes it cheaper to connect an agent to the systems people already use. It doesn't make that connection safe. That part is still integration work, and the system of record will hold you to it.
Sources
- Model Context Protocol, "Specification", revision 2026-07-28.
- Model Context Protocol, "Key Changes", revision 2026-07-28.
- Model Context Protocol, "Transports: Overview", revision 2026-07-28.
- Model Context Protocol, "Authorization", revision 2026-07-28.
- Model Context Protocol, "Tools", revision 2026-07-28.
- Model Context Protocol, "Schema Reference" (ToolAnnotations), revision 2026-07-28.
- Model Context Protocol, "Security Best Practices", revision 2026-07-28.
- Invariant Labs, "MCP Security Notification: Tool Poisoning Attacks", April 1, 2025.
- OWASP Gen AI Security Project, "LLM01:2025 Prompt Injection", 2025.



