MCP Server Integration: Connect AI Agents to CRM and ERP

MCP Server Integration: Connect AI Agents to CRM and ERP

Most business AI agents need your customer, order or project records, and some of the systems that hold them now offer Model Context Protocol (MCP) servers. How to connect one, choose each agent's tools and build your own.

Key takeaways

  • Most business AI agents need a system of record, such as a CRM or ERP. MCP server integration connects the agent to it through the system's MCP server, with setup instead of custom code.
  • Test a server before you enable it, and disable the tools an agent doesn't need. In Avesta AgentOS, a disabled tool is never sent to the agent, so the agent can't call it.
  • Large servers need a filter. A Basecamp MCP server we connected listed more than 300 tools, so give each agent only the tools its job needs.
  • In Avesta AgentOS, a new capability can be one new tool on a connected server. Once the platform fetches the new list, every agent that uses the server can call it, and the agent itself doesn't change.
  • When a vendor's MCP server lacks the tools your agent needs, build your own. Ours lets a textile manufacturer's order agent check customers, stock, prices and delivery dates, then place the order.

Sooner or later, an AI agent needs a system of record. It might be your CRM (customer relationship management system), your ERP (enterprise resource planning: orders, stock and finance) or the project tool where the work lives. An AI agent here means software that reads a request and takes steps in those systems to finish it.

Some of those systems now offer an MCP server: a small program that lets any AI agent use the system through one open standard, the Model Context Protocol (MCP). Microsoft documents one for Business Central, its finance and operations software, and Basecamp runs one for its project tool. Before the standard, each system needed its own custom connection, as Anthropic said when it published the standard in November 2024.

So MCP server integration, connecting an agent to a system through its MCP server, becomes setup work, not coding. The choices move into that setup: which servers to trust, how each agent proves who it is (authentication), and which of a server's tools each agent may use.

What is MCP server integration?

MCP server integration connects an AI agent to a business system, such as a CRM or ERP, through that system's MCP server. The server lists what the system can do as tools any MCP-compatible agent can call. You register the server once, test it, then enable only the tools each agent needs.

The other half is the MCP client, which runs inside the agent platform.

It connects to the server, asks for the list of tools, shows them to the AI model and runs the tools the model picks. The MCP architecture guide describes this pattern: list the tools, then call them. In our agent harness explainer, MCP is one part of the software around the model.

The rule we work by:

Connect a system once. Choose its tools agent by agent.

How is MCP different from an API?

An API is the door a system already has for other software: a set of requests it accepts, written up for developers.

An MCP server often sits on top of that API. It describes the same actions in a form an AI model can read and choose from, and it answers in the same way for every system.

So MCP doesn't replace your APIs. Microsoft's Business Central MCP server, for example, lets administrators choose which of the ERP's API pages agents can use.

That doesn't make a vendor's server the answer for every connection. A custom tool below means a tool a developer writes for one agent, which calls the system's API directly.

The situation Best way to connect Why
The vendor offers an MCP server with the tools you need The vendor's MCP server One setup, reused by every agent
There's no server, or the vendor's server lacks the tools you need Build and host your own MCP server Developer work once, then setup for every agent
One agent needs one or two fixed requests, and there's no server A custom tool Running a server for two requests is more to maintain
The same request runs on a schedule with nothing to decide No agent: a scheduled job There's no choice for an AI model to make
The tool changes data: records, money or messages to customers Any of these, plus an approval step How the agent connects doesn't change the risk

We hit the second row on an order agent we built for a textile manufacturer. Its ERP, Microsoft Dynamics 365 Business Central, has its own MCP server, but that server didn't offer the tools the agent needed. So we built and deployed a custom MCP server. Through it, the agent checks that the customer exists in the ERP, then checks stock, item prices and delivery dates. Once the customer confirms, it places the order.

How do you set up an MCP server integration?

These are the steps in the order we follow them. A platform administrator does most of the work, and the platform checks the server before agents use it.

Exhibit: a swimlane with three lanes, the admin, the agent platform and the MCP server. Step 1, the admin registers the server with its name, web address and authentication method. Step 2, the platform tests the connection and the server returns its list of tools; if the test fails, it is fixed before anything is enabled. Step 3, the admin enables the server once the test passes. Step 4, highlighted, the admin chooses the tools for each agent. Step 5, the admin tries a real task, and the agent calls only the tools that are enabled

  1. Register the server. Give it a name and its web address, plus a key if the server needs one. Some servers ask each person to sign in with their own account instead. When the agent acts for different people, prefer that kind: a shared key gives every user the same access.
  2. Test the connection. The platform connects and asks for the server's list of tools. Read each tool's name and description to see whether it reads or changes data. If the test fails, fix the server before you enable it.
  3. Enable the server once the test passes.
  4. Choose the tools for each agent. This is the step that sets what the agent can do.
  5. Try a real task. Ask the agent a question it will get every day, and check in the conversation which tools it called. The agent can only call the tools that are enabled.

Which tools should each AI agent get?

Only the tools its job needs, and large servers make that hard to ignore. A Basecamp MCP server we connected listed more than 300 tools, with no way on the server to filter them. Every enabled tool is shown to the AI model, which then has to pick the right one from the whole list.

A made-up orders server shows the same choice on a smaller scale. A support agent that answers "where is my order?" needs three of its six tools.

Exhibit: a mock-up of a support agent's tool settings for a made-up orders system server. Under "Read data", three tools are enabled: look up an order, track a delivery and list a customer's orders. Under "Change data", three tools are disabled: change a delivery address, cancel an order and issue a refund. One note says tools that read data are enabled; another says a disabled tool is never sent to the agent, so the agent can't call it

  • Tools that read data are enabled. The agent can answer the question without changing anything.
  • Tools that change data are disabled. A disabled tool is never sent to the agent, so the agent can't call it. Enable one only once there's an approval step for it; our post on AI agent human approval covers how to set one up. For access rules beyond MCP, see AI agent permissions.

How MCP server integration works in Avesta AgentOS

Avesta AgentOS is the platform we build and run AI agents on. An administrator adds MCP servers in its settings, then chooses servers and tools for each agent.

1. A server is tested when you add it

Adding a server by its web address runs a connection test: Avesta AgentOS connects, asks for the tool list and saves it. A server can't be enabled until a test has passed, unless it asks each person to sign in. That kind can't list its tools until someone does.

If a later test fails, the platform clears the saved tools and disables the server. Once a server is live, each tool call has a 60-second limit, and a server that can't be reached is skipped while the agent carries on with the others. Our post on AI agent tool call failures covers what should happen next.

2. A switch for every tool, for every agent

Servers like that Basecamp one are why we added a switch for each tool, for each agent in October 2026. Before that, choosing a server gave an agent every tool on it. The tools are grouped by server, with a count of how many are on, so two agents can share one server with different powers.

Since November 2026, the agent's change log shows each switch change, server by server, as tools disabled or enabled.

3. A new tool reaches agents without changing them

Every tool on a chosen server starts enabled. So does a tool the server adds later, once Avesta AgentOS fetches the new list, for example when the connection is re-tested.

That default is what makes new capabilities cheap. To give agents a new capability on a server we run, we add one tool to the server. Every agent that uses the server can call it, and nothing in the agent changes.

Every tool on a chosen server starts enabled. Review the list before the agent goes live.

The same default applies to a vendor's server, so new tools from a vendor arrive enabled too. Re-test and review the list after a vendor adds tools, and disable what each agent shouldn't have.

4. Each person's own authentication

Some servers ask each person to sign in with their own account, using OAuth: a standard way to give an app limited access to an account without sharing the password. When a server is added, Avesta AgentOS checks whether it asks for this and marks it.

The agent then calls that server's tools with the signed-in person's own access. An expired sign-in is renewed, and the call is tried once more. Someone who has never signed in sees a sign-in card in the chat.

When should you not use an MCP server?

The table above covers the cases where a custom tool or a scheduled job does the job better. Two more cases come up:

  • The whole task lives in one system. The CRM's or ERP's own built-in AI assistant, which you may already pay for, can be enough. Some tasks need records from two systems, though, such as the customer from the CRM and stock from the ERP. An assistant that only reaches its own vendor's system can't finish that task; an agent connected to both servers can.
  • A server you can't vouch for. MCP is an open standard, so servers come from many publishers. Before you connect one, find out who runs it and what it can reach.

The bottom line

The standard handles the connection. It can't decide which servers your business should trust, which of their tools each agent should have, or when a vendor's server falls short and you need your own. Those decisions sit with whoever enables the server.

Next, see what an AI agent audit log should record about each tool call.

If your busiest agent could call only three tools, would you know which three?


Connecting AI agents to your CRM, ERP or your own systems? See how Avesta AgentOS tests an MCP server when you add it. You get a switch for every tool, for every agent.

See how Avesta AgentOS works

Get started: hello@avestalabs.ai

Frequently asked questions

What are MCP server integrations?
They are connections between an AI agent and an outside system made through that system's MCP server, instead of code written for one agent. A typical example is an agent that looks up customers in a CRM, checks stock in an ERP or reads tasks in a project tool. The server describes what the system can do, and the agent platform decides which agents may use which actions.
What are some MCP server examples?
When Anthropic released the standard in November 2024, it shared ready-made servers for Google Drive, Slack, GitHub, Git, Postgres and Puppeteer. As of December 2026, Microsoft documents MCP servers for Dynamics 365 Sales and Business Central, and Basecamp runs a hosted server for its project tool. Check whether your system offers one before you build your own.
Can you build your own MCP server?
Yes. The MCP project publishes software development kits in several programming languages, and OpenAI's developer docs walk through building a remote server in Python. Build one when no server exists for your system, or when the vendor's server lacks the tools your agent needs. Host it somewhere your agent platform can reach over the web.
Does ChatGPT use MCP?
Yes. As of December 2026, OpenAI's developer docs describe remote MCP servers that connect to ChatGPT and Codex through plugins, to ChatGPT deep research and company knowledge, and to OpenAI's API. The MCP project gives Claude Desktop, Claude Code and Visual Studio Code as examples of applications that connect to MCP servers too. One remote server can serve all of them.
Can an AI agent use a local MCP server?
Only an agent running on the same computer. The standard has two ways to connect: a local one, where the server runs on the same machine and usually serves one application, and a remote one over the web that can serve many. A shared agent platform needs the remote kind, so a server that runs on someone's laptop has to be hosted somewhere the platform can reach first.

Share this article

Written by

Naresh Tank

Software Engineer