Book a Call
Back to Perspective
AI ImplementationJuly 9, 2026 · 8 min read

MCP: Connect AI Agents to Your CRM and ERP

Learn how Model Context Protocol connects AI agents to CRM and ERP systems for real-time data access and automated workflows.

AI Implementation — MCP: Connect AI Agents to Your CRM and ERP

MCP: Connect AI Agents to Your CRM and ERP

Model Context Protocol (MCP) is an open standard that lets AI agents read from and write to external systems like Salesforce, HubSpot, SAP, and NetSuite through a structured tool-calling interface. To connect an AI agent to your CRM or ERP using MCP, you build or deploy an MCP server that wraps your system's API, then expose that server to your agent runtime so the agent can query records, update fields, and trigger workflows in real time.


Most AI deployments inside companies hit the same wall. The model is capable. The use case is real. But the agent has no reliable way to talk to the systems that hold the actual data. It cannot pull a customer's order history from SAP. It cannot check whether a deal moved stages in Salesforce. It cannot update a contact record in HubSpot after a call summary is generated.

So it hallucinates. Or it produces outputs that sit disconnected from any system of record, forcing a human to copy-paste information between tools. Reducing AI hallucinations in enterprise workflows becomes critical when agents cannot access reliable, live data sources. The promise of agentic AI collapses into a glorified chatbot.

Model Context Protocol changes that architecture. Anthropic released MCP as an open standard in late 2024, and by mid-2026 it has become the dominant pattern for connecting AI agents to enterprise data sources. The core idea is simple: instead of hardcoding API calls into every agent, you build a standardized server layer that any compliant agent can discover and use. The agent does not need to know how Salesforce authenticates. It just knows that a tool called get_opportunity_by_id exists, and it calls it.

This post walks through how that actually works, what it takes to implement it, and where teams tend to get stuck.


What MCP Actually Does (And What It Does Not)

MCP is a protocol, not a product. It defines how an AI agent, called the client, communicates with a tool server, called the MCP server. The server exposes a list of tools. The agent discovers those tools at runtime, decides which ones it needs, and calls them during a reasoning loop.

Think of it as a structured menu. Your CRM MCP server might expose tools like search_contacts, create_deal, log_activity, and get_account_summary. Your ERP MCP server might expose check_inventory, get_open_purchase_orders, and submit_invoice. The agent sees all of these as available actions and selects them based on the task at hand.

What MCP does not do is handle your business logic, your data permissions, or your integration security. Those are still your responsibility. The protocol standardizes the communication layer. You still have to build what sits behind it.

This distinction matters because teams often expect MCP to be plug-and-play. It is not. It is a standard that dramatically reduces integration friction once you have servers built and maintained. Getting there still requires engineering work.


The Architecture: Three Layers to Understand

Connecting an AI agent to a CRM or ERP through MCP involves three distinct layers.

The agent runtime. This is where reasoning happens. It might be Claude, GPT-4o, Gemini, or an open model running locally. The runtime needs to support MCP natively or through a wrapper. As of 2026, Claude supports MCP natively. OpenAI's ecosystem supports it through community libraries. LangChain and LangGraph both have MCP adapter packages. If you are building on a custom agent framework, you will need to implement the MCP client spec yourself, which is non-trivial but well-documented.

The MCP server. This sits between your agent and your external system. It translates agent tool calls into actual API requests, handles authentication, formats responses into a structure the agent can process, and returns results. You can build MCP servers in Python or TypeScript using the official SDKs. Several vendors are also shipping pre-built MCP servers for popular systems: there are community-maintained servers for Salesforce, HubSpot, and Notion, and SAP has announced native MCP support for select S/4HANA modules.

The external system. Your CRM or ERP. The MCP server talks to this through the system's native API, whether that is REST, GraphQL, or an SDK. Your existing API credentials and rate limits still apply. MCP does not bypass security controls.


Building an MCP Server for Salesforce: A Concrete Example

Suppose you want an AI agent that can look up account details, summarize recent opportunities, and draft a follow-up email, all pulling live data from Salesforce.

You would start by building an MCP server in Python using the mcp SDK. The server defines tools using the @server.tool() decorator. For a get_account_summary tool, you write a function that takes an account ID as input, calls the Salesforce REST API using simple-salesforce or a similar library, and returns a structured JSON object containing account name, industry, ARR, open opportunities, and last activity date.

Authentication is handled at the server level using OAuth 2.0 or a connected app with JWT. The agent never sees credentials. It just calls the tool and gets back data.

You then register this server with your agent runtime. In Claude Desktop, for example, you add the server's command to the MCP configuration file. In a LangGraph setup, you initialize the MCP client and pass the tool list into the agent's tool registry.

When the agent receives a task like "Give me a briefing on Acme Corp before my call this afternoon," it identifies that it needs account data, selects the get_account_summary tool, calls it with the Acme Corp account ID, receives the response, and incorporates it into its output. The whole loop runs in seconds.

The same pattern applies to HubSpot, NetSuite, Microsoft Dynamics, and any other system with an API. The protocol is the same. What varies is the business logic inside each tool function.


ERP Integration Is Harder Than CRM, and That Is Worth Saying Plainly

CRM systems like Salesforce and HubSpot have mature, well-documented REST APIs. Scoping an MCP server for them is relatively predictable. ERP systems are a different situation.

SAP, Oracle ERP Cloud, and legacy NetSuite installations often have complex authentication flows, inconsistent API design across modules, and data models that require significant domain knowledge to navigate. Querying inventory in SAP, for example, might require understanding plant codes, storage locations, and valuation types. A tool called check_inventory that returns an unusable number without that context is not actually useful.

This is where the difference between an integration that works in a demo and one that works in production becomes stark. Building MCP tools for ERP systems requires collaboration with people who understand the business data model, not just developers who can call an API. An AI implementation partner with ERP domain expertise can accelerate this significantly.

Several implementation teams have found it useful to start narrow: pick one ERP workflow that is high-frequency and well-understood, build a small set of MCP tools around it, test it with real users, and expand from there. Trying to expose an entire ERP through MCP in one pass tends to produce fragile, low-quality tools that erode trust in the agent.


Permissions, Governance, and the Mistakes Teams Make

The most common mistake in MCP deployments is treating agent permissions the same as user permissions. An agent that has read-write access to your CRM through a shared service account can make changes at a scale and speed that no human would. That is useful when it works correctly. It is a serious problem when it does not.

Best practice is to create dedicated service accounts for each MCP server with the minimum permissions needed. A server that only needs to read contact records should not have write access. An agent that drafts follow-up emails should not be able to delete deal records.

Logging is equally important. Every tool call the agent makes should be logged with the inputs, outputs, and timestamps. This creates an audit trail that is both operationally useful and increasingly expected from a compliance standpoint. If your AI agent updates a customer record and the update turns out to be wrong, you need to be able to trace exactly what happened and why.

Some teams add a human-in-the-loop step for write operations during initial deployment. The agent prepares the action and queues it for review before execution. This slows things down but builds trust, and that trust tends to accelerate adoption more than speed ever does.


What to Expect From Early Deployments

Teams that have implemented MCP-connected agents against CRM systems in 2026 are seeing meaningful productivity gains in specific workflows. Sales teams using agents that can pull deal context, draft call prep summaries, and log activity notes are saving two to three hours per rep per week in administrative work. Customer success teams using agents connected to both CRM and ERP data to answer account health questions are reducing the time to first meaningful response on client requests.

These are not transformational numbers in isolation. But they compound. An agent that handles administrative CRM hygiene frees up time for higher-value work. An agent that can cross-reference order history in an ERP against customer sentiment in a CRM surfaces insights that humans were simply not checking because it was too time-consuming.

The technology is ready. The bottleneck now is almost always implementation quality and organizational readiness: knowing which workflows to target first, building MCP servers that are reliable and well-scoped, and training the people who will work alongside these agents.

Related reading: Connecting LangChain to Your Business Data

Ready to take the next step?

Book a Discovery Call

Frequently asked questions

Do I need to build my own MCP server or are there pre-built ones for CRM and ERP systems?

Both options exist. There are community-maintained MCP servers for Salesforce and HubSpot, and SAP has announced native MCP support for select S/4HANA modules. However, pre-built servers often need customization to match your specific data model and business logic. For most production deployments, teams end up extending or rebuilding from a reference implementation rather than using an off-the-shelf server as-is.

Which AI agent runtimes support MCP in 2026?

Claude supports MCP natively. LangChain and LangGraph both have MCP adapter packages. OpenAI-based agents can use MCP through community libraries, though the integration requires more setup. If you are building a custom agent framework, you can implement the MCP client spec directly using the official documentation from Anthropic's MCP project.

How do I handle security and permissions when giving an AI agent access to my CRM or ERP?

Create dedicated service accounts for each MCP server with the minimum permissions required for that server's specific tools. Do not reuse human user credentials. Log every tool call the agent makes, including inputs and outputs, for audit purposes. For write operations especially, consider implementing a human review step during initial deployment until you have confidence in the agent's behavior.

What is the difference between MCP and a traditional API integration for connecting AI to enterprise systems?

A traditional API integration hardcodes specific calls into your application. MCP creates a standardized tool discovery and invocation layer that any compliant agent can use at runtime. The practical benefit is that you build the integration once as an MCP server, and multiple agents or agent frameworks can use those tools without rebuilding the connection each time. It also makes the agent more flexible, able to decide which tools to call based on context rather than following a fixed script.

Where do most MCP implementations fail in practice?

The most common failure points are overly broad tool definitions that return too much data, inadequate error handling when the underlying API returns unexpected results, and insufficient attention to ERP data models. Tools that work in demos often break in production because real CRM and ERP data is messier than test data. Starting with a small number of well-scoped, high-frequency tools is more likely to succeed than trying to expose an entire system at once.

Related Perspective