What Is MCP and Why Does It Matter for AI Employees?
The Model Context Protocol: How Anthropic’s universal standard replaces brittle custom integrations for AI agents.
Direct Answer (Quick Summary)
The Model Context Protocol (MCP) is an open standard that enables AI models to securely connect to external tools, databases, and business systems through universal client-server interfaces, eliminating the need for brittle, proprietary API integrations. Servers advertise discrete tools, so employees reach any system without bespoke code, and permissions grant one tool at a time.
Key Takeaways
- MCP is the USB-C of AI: one universal protocol connecting any agent to any data source or tool.
- Replaces custom, ad-hoc API wrappers with standardized JSON-RPC communication.
- OneCo supports first-party MCP servers (GitHub, Slack, Gmail, Stripe, Playwright) + custom URL servers.
- Enables least-privilege security by exposing discrete tools with enforced per-employee permissions.
- Only tools produce side effects; resources and prompts are read paths, which is what makes permission scoping tractable.
- MCP removes the N x M integration problem but not the N problem - someone still authors the servers and reviews every grant.
The Integration Nightmare in AI
Before late 2024, connecting an AI agent to an external tool required writing custom integration glue for every single platform. If you wanted an agent to access GitHub, you wrote a bespoke Python script formatting GitHub REST API endpoints into OpenAI function-calling schemas.
If you then switched to Anthropic Claude or Google Gemini, you had to rewrite or adapt those tool schemas. If GitHub updated its API, your agent broke.
This was integration debt on a massive scale.
Anthropic solved this structural problem by open-sourcing the Model Context Protocol (MCP).
WITHOUT MCP (Bespoke N x M Integrations):
[Agent A] ──Custom Code──> [GitHub API]
[Agent B] ──Custom Code──> [Slack API]
[Agent C] ──Custom Code──> [Stripe API]
WITH MCP (Universal Standard Protocol):
[OneCo AI Employees]
│
▼ (Standardized MCP Client JSON-RPC)
┌────────────────────────────────────────────────────────┐
│ MCP SERVERS │
│ • GitHub MCP Server (Issues, PRs, Commits) │
│ • Slack MCP Server (Channels, Messages, DMs) │
│ • Stripe MCP Server (Customers, Invoices, Charges) │
│ • Custom Postgres Server (Read-only SQL queries) │
└────────────────────────────────────────────────────────┘
How MCP Works Under the Hood
MCP operates as an open client-server architecture using standard JSON-RPC:
- The MCP Server: A lightweight process that connects directly to a specific data source or application (e.g. a local SQLite database or the Slack API) and exposes a list of available tools, prompts, and resources.
- The MCP Client: Embedded inside an AI execution platform like OneCo. When an employee boots, the client queries active MCP servers, collects tool schemas, and formats them for whichever model the employee uses (Claude, GPT-4o, Minimax).
- Execution: When the model invokes a tool call, OneCo passes the request to the MCP server, receives the normalized response, truncates output if it exceeds character bounds (
truncateToolResult), and returns it to the model.
Why MCP Is Critical for Enterprise AI Workforces
1. Vendor Portability
With MCP, your organization’s tools are decoupled from the underlying AI model. You can switch an employee’s brain from Claude 3.5 Sonnet to Minimax or DeepSeek without changing a single line of your integration infrastructure.
2. Granular Security Scoping
MCP exposes tools as discrete functions (slack_read_channel, slack_send_message). In OneCo, an organization can permit an employee to call slack_read_channel while strictly revoking access to slack_send_message, enforcing true least-privilege security.
3. Dynamic Tool Discovery
Through OneCo’s Composio and MCP Gateway, employees dynamically discover and attach specialized tools (from over 1,600 pre-configured actions) based on the project’s requirements.
Tools, Resources, and Prompts
MCP servers expose three primitive types. Conflating them is the single most common misunderstanding, and it is what makes permission scoping look harder than it is.
| Primitive | Who triggers it | How it moves | Where you see it in OneCo |
|---|---|---|---|
| Tool | The model, at runtime | JSON-RPC request/response, model-originated | slack_send_message, github_create_issue, stripe_list_invoices |
| Resource | The client, before execution | URI-addressed read injected into context | Listing sheets, policy PDFs, schema definitions |
| Prompt | A human, deliberately | Named template the user invokes | A reusable "audit this deal folder" instruction |
Only tools consume tokens and produce side effects. That single fact is why governance is tractable: you can enumerate every tool an employee may call, review that list like code, and revoke individual entries without touching the connection itself. Resources and prompts are read paths — they shape what the employee knows, not what it can do. The distinction between "can read" and "can write" is covered in how AI employees use tools and MCPs.
MCP vs. Traditional API Integrations
| Dimension | REST / OpenAPI integration | MCP integration |
|---|---|---|
| Who writes the mapping | Your engineer, once per model provider | The server, once, against the spec |
| Switching models | Rework every tool schema | No integration change at all |
| Discovery | Hardcoded endpoint list in your code | Server advertises its tools at boot |
| Context cost | Raw JSON dumped into the prompt | Compact schemas; oversized results truncated |
| Reuse | One-off glue, one employee | Any employee, any model, any workspace |
| Security unit | An API key with whatever scope it was issued | One discrete tool, individually grantable |
The last row is the one buyers underrate. A single Slack bot token gives an agent the ability to read every channel and post as a human, with no way to separate the two. An MCP server exposing slack_read_channel and slack_send_message as distinct tools lets OneCo issue the read permission and hold the write permission behind an approval gate. AI access control for enterprises depends entirely on that granularity existing at the protocol layer.
A Worked Example: One Inquiry, Three Servers
A brokerage AI employee picks up an email inquiry at 10:30 PM. The entire run touches three separate MCP servers, in this order:
Turn 1 model → gmail.search(query:"newer_than:1h from:sarah.chen")
gmail MCP → { messageId:"m-8814", snippet:"looking at the Oakridge..." }
Turn 2 model → postgres.query(sql:"SELECT budget_min, budget_max,
preapproved FROM leads WHERE email = $1")
postgres MCP → { budget_min:400000, budget_max:520000, preapproved:true }
Turn 3 model → slack.post_message(channel:"C0123",
text:"New qualified lead: Sarah Chen...")
policy layer intercepts → approval ticket created, no message sent
Three observations that matter operationally:
- Read-only was enough for turns 1 and 2. The employee’s grant list contains
gmail.searchandpostgres.querybut no write tools against either system. A prompt injection inside the email body cannot escalate, because there is nothing in scope to escalate into. - The third turn stopped before it fired. The approval gate is evaluated before the call reaches the MCP server, not after — the human sees a pending action, not a sent message to undo.
- Nothing here is vendor-specific. Swap Postgres for a property-management API and the model call is unchanged. That portability is the point of how MCP connections change enterprise AI.
The broader version — one employee moving between five or six systems without hand-written glue — is covered in can AI employees work across multiple applications.
The Failure Modes That Actually Show Up
Schema drift
An MCP server changes a tool name or drops a required parameter between versions. The client keeps advertising the stale schema, the model calls the old shape, and the server returns a validation error. Mitigation: treat server upgrades as dependency upgrades, pin versions, and smoke-test tool discovery after every bump.
Tool-result blowout
A single call returns 40,000 characters of JSON. The model does not reason better with more context — it reasons worse. truncateToolResult caps the payload, but truncation means the employee is deciding on partial data. If a workflow depends on fields that get cut, push the filtering server-side and expose a narrower tool instead of widening the truncation limit.
Too many tools
Grant an employee forty tools and every model-originated call carries forty schemas in the prompt. Selection accuracy drops and cost per session rises before any work is done. Start with eight to ten, and add tools only when a specific execution fails without them.
Dead or unauthorized servers
An MCP server whose token expired returns an auth error that looks identical to a network timeout. Health-check connectors before attaching them to a scheduled employee via POST /api/mcp/:id/health, rather than waiting for a 3 AM failure.
The over-broad custom server
A company exposes execute_sql as a single tool against production. The employee can read anything it is technically permitted to read, because you collapsed a hundred decisions into one. Expose narrow queries with bind parameters instead. How to control what AI employees can access covers the granularity decisions.
Adding a Custom MCP Server in OneCo
- Run the server inside your network. It holds the credentials, so it belongs in your VPC — not exposed to the internet.
- Expose narrow, named tools. Prefer twenty specific tools over one generic query tool.
- Register it:
POST /api/mcp/connect
{
"name": "internal-ledger",
"url": "https://ledger-mcp.internal.acme.corp/mcp",
"transport": "http",
"authType": "bearer"
}
- Pull the schema.
GET /api/mcp/:id/schemareturns the advertised tools so you can review them before granting anything. - Grant per-employee. Attach only the tools in the employee’s scope, then confirm with
POST /api/mcp/:id/health.
Steps 4 and 5 are the gate. Most teams skip them and discover the problem during an audit.
The Bottom Line
MCP removes the N×M integration problem, but it does not remove the N problem — someone still has to author the server, scope the tools, and decide which employee gets which grant. That work is real, and it moves from per-integration code into per-tool review. If your evaluation is still framed as "which model do we use," you are optimising the wrong layer. Start from why models alone aren’t enough for enterprise AI, then decide what the model needs to touch. The comparison against workflow builders such as n8n is in what n8n solves and what an AI workforce platform solves.
Sources and further reading
- Model Context Protocol: Introduction: the open standard for connecting AI applications to tools and data.
- Model Context Protocol Specification: how tools, schemas and errors are defined.
- Anthropic: Building Effective Agents: workflow and agent patterns from production use.
Frequently Asked Questions
Can I connect our internal company database via MCP?
Yes. You can run a custom MCP server inside your private VPC exposing read-only database queries and connect it to OneCo via our Custom MCP Connector interface at /api/mcp/connect. Expose narrow, parameterised queries rather than a single execute_sql tool, so each grant can be justified against a line in the outcome contract.
What is the difference between MCP and a normal API integration?
A normal API integration requires your engineer to map every endpoint into a tool schema for each model provider you use, and to redo that work when you switch models. An MCP server advertises its own tools once against the specification, so the client, the model, and every employee can reuse it without further mapping.
Do I have to build an MCP server for every tool I want to use?
No. OneCo ships first-party MCP servers for GitHub, Slack, Gmail, Stripe, and Playwright, plus a managed Composio gateway exposing more than 1,600 pre-built actions. You only write a custom server for systems nobody ships, typically your internal database or a proprietary internal service.
What happens when an MCP server fails in the middle of a run?
The call returns an error that OneCo classifies by type - transport failure, authentication failure, or tool-level error - and applies the matching retry policy rather than a blanket retry. Sessions are checkpointed before the failing call, so a retry resumes from that point instead of re-executing and re-billing the whole run.
Is MCP a replacement for our access control and audit system?
No, and treating it as one is a mistake. MCP provides the unit of authorisation - one discrete, reviewable tool call - which is what lets your existing RBAC and approval tooling enforce policy at tool granularity. The protocol supplies the boundary; your governance layer still has to decide who gets which boundary.
How many MCP servers can a single AI employee use?
Technically many, but each connected server adds tool schemas to every model call, which raises cost per session and lowers tool-selection accuracy. Start with eight to ten well-chosen tools, then add only when a specific execution has actually failed without them.
Related reading
- OneCo Desktop: An AI Desktop Agent That Uses Your Computer With Your Approval
- What Is an AI Employee?
- The Operating System for an AI Workforce
- OneCo vs n8n: AI Workforce Platform vs Workflow Automation
- MCP vs Traditional Integrations: An Architecture Comparison
- How AI Employees Use Tools and MCPs: A Practical Guide
- How MCP Connections Change Enterprise AI in Practice