AI & Automation5 min readNetray Engineering Team

MCP Enterprise Integration: Servers, Auth, and Tool Governance

The Model Context Protocol (MCP) has become the default way enterprises expose internal tools, data sources, and APIs to AI agents, replacing the earlier pattern of every team writing bespoke tool-calling glue for every model. An MCP server describes a set of tools and resources in a standard schema that any compliant agent can discover and call, which is genuinely useful for reducing integration sprawl. It is also, unmanaged, a fast way to grant a language model broad access to systems nobody meant to expose. Enterprise MCP integration is really a governance problem wearing a protocol's clothing: the technical wiring is the easy part.

MCP Server Architecture: Where the Servers Should Live

An MCP server sits between the agent and a backend system, translating protocol calls into whatever the backend actually speaks, whether that is a REST API, a database query, or an ERP integration object. In practice, enterprises settle on one of two topologies: a small number of purpose-built servers, each scoped tightly to one system (an ERP server, a document repository server, a ticketing server), or a single gateway server that fronts many backends behind one endpoint. Purpose-built servers are easier to reason about and audit individually; a gateway is easier to monitor centrally but becomes a single point of both failure and compromise. Most regulated enterprises land on purpose-built servers behind a shared authentication and logging layer, which gets most of the benefit of both.

  • Purpose-built servers per backend system are easier to scope and audit individually
  • A shared authentication and logging layer in front of multiple servers centralizes monitoring without a single point of compromise
  • Version each server's tool schema and treat a schema change as a breaking API change
  • Run MCP servers inside your network boundary for any backend touching regulated or export-controlled data

Authentication and Identity for Agent-to-Server Calls

The recurring mistake is authenticating the MCP server connection once, at setup, and then letting every tool call inherit broad standing permissions regardless of which user or task triggered the agent. Better practice gives the agent its own identity in your directory, scoped through OAuth or a service-account pattern with token exchange, so permissions can be reviewed the same way a human account's access is reviewed. Where the agent acts on behalf of a specific user, pass that user's identity through to the backend call so authorization decisions happen at the system of record, not inside the agent. This also means a compromised or manipulated agent session cannot exceed the permissions of the user or service it is impersonating.

Governing Which Tools an Agent Can Actually Call

Tool governance is the practical center of MCP security. Every tool exposed to an agent is a capability, and capabilities compound: a tool that reads customer records plus a tool that sends email is, together, a data exfiltration path even if neither tool is individually dangerous. Maintain an explicit allowlist of tools per agent and per use case rather than exposing an entire server's tool set by default, and review that list on the same cadence you review human access grants. Flag any tool that performs a write, a send, or a delete for separate approval before it is added to an agent's allowlist, and require that combination-risk be reviewed, not just individual tool risk.

  • Explicit per-agent tool allowlist, reviewed on the same cadence as human access recertification
  • Flag write, send, and delete tools for individual security review before they are added to any allowlist
  • Assess tool combinations, not just individual tools, since read plus send capabilities together create exfiltration risk
  • Log every tool call with the requesting agent, user context, arguments, and result for audit

Estimating the Real Effort of an MCP Rollout

Teams consistently underestimate MCP integration effort because the protocol wiring genuinely is fast, often a day or two per backend using an existing SDK. What takes the remaining weeks is everything around it: getting security sign-off on the authentication model, writing and testing the tool allowlist policy, building the audit logging pipeline, and running a tool-combination risk review with the systems owners. A realistic estimate separates protocol effort from governance effort explicitly, since a project that only budgets the former routinely blows its timeline once security review starts, which is exactly the gap tools like an mcp-integration-effort-estimator are built to surface early.

How Netray Deploys MCP for Regulated Enterprises

Netray deploys MCP servers inside the customer's own infrastructure, paired with on-prem models, so tool calls, retrieved data, and agent reasoning never transit a third-party network, which is the deciding factor for aerospace, defense, and electronics clients handling ITAR or CUI data. We build purpose-scoped servers per backend system rather than a single sprawling gateway, implement per-agent tool allowlists with combination-risk review baked into the design phase, and deliver the audit logging schema security teams ask for during review rather than after an incident. Most engagements budget governance effort as roughly two to three times the protocol wiring effort, which is closer to what actually happens than the day-per-server estimate vendors like to quote.

Frequently Asked Questions

What is MCP and why are enterprises adopting it for AI agents?

MCP, the Model Context Protocol, is a standard way to describe tools and data sources so any compliant AI agent can discover and call them without custom integration code per model. Enterprises adopt it to stop rebuilding tool-calling glue for every new model or agent framework. The tradeoff is that a poorly governed MCP server can grant an agent broad standing access to a backend system, so the protocol needs a governance layer on top, not just the wiring.

How should authentication work between an AI agent and an MCP server?

Give the agent its own identity in your directory rather than a shared or borrowed credential, scoped through OAuth or a service account with token exchange so its access is reviewable like any human account. Where the agent acts for a specific user, pass that user's identity through to the backend so authorization happens at the system of record. This limits the blast radius if the agent session itself is ever compromised or manipulated.

How long does it take to integrate MCP with an enterprise ERP system?

The protocol wiring itself is usually fast, a day or two per backend with an existing SDK. The real timeline is governance: security sign-off on the authentication model, building a tool allowlist and combination-risk review, and standing up audit logging typically add two to four weeks. Budget governance effort separately from wiring effort or the project will look done technically while still being blocked on security review.

What is tool combination risk in MCP deployments?

It is the risk created when two individually safe tools are exposed to the same agent and, together, enable something neither permits alone, such as a read tool over customer records paired with a send tool that can email external addresses. Governance reviews should assess allowlists as combinations, not just individually, and flag any pairing of a broad read tool with an outbound send or write tool for separate approval.

Key Takeaways

  • 1MCP Server Architecture: Where the Servers Should Live: An MCP server sits between the agent and a backend system, translating protocol calls into whatever the backend actually speaks, whether that is a REST API, a database query, or an ERP integration object. In practice, enterprises settle on one of two topologies: a small number of purpose-built servers, each scoped tightly to one system (an ERP server, a document repository server, a ticketing server), or a single gateway server that fronts many backends behind one endpoint.
  • 2Authentication and Identity for Agent-to-Server Calls: The recurring mistake is authenticating the MCP server connection once, at setup, and then letting every tool call inherit broad standing permissions regardless of which user or task triggered the agent. Better practice gives the agent its own identity in your directory, scoped through OAuth or a service-account pattern with token exchange, so permissions can be reviewed the same way a human account's access is reviewed.
  • 3Governing Which Tools an Agent Can Actually Call: Tool governance is the practical center of MCP security. Every tool exposed to an agent is a capability, and capabilities compound: a tool that reads customer records plus a tool that sends email is, together, a data exfiltration path even if neither tool is individually dangerous.

Rolling out MCP servers to connect agents to your ERP, document store, or ticketing system? Netray will design the server topology, auth model, and tool governance before your security review, not after.