# Connecting AI Agents Through MCP: What to Approve Before Production

> A CTO's guide to approving an MCP connection: server trust, scoped access, outbound transfers, credential handling and tests that demonstrate enforceable limits.

- Reviewed & Approved by: [Muhammed Shakir](https://www.linkedin.com/in/muhammed-shakir-gen-ai-trainings-and-consulting), Founder · Architect, engineer and trainer
- Published: 2026-11-22
- Last updated: 2026-11-22
- Topic: AI Agent Security
- Written for: CTOs and architects
- Web page: https://infomovertech.com/articles/mcp-agent-connection-security

**At a glance:** An MCP connection exposes records, actions and data destinations; a local server also runs code on your machines. Approve one workflow after demonstrating restricted access and denied transfers. Review the server and credentials, test controls outside the model, and name an owner for updates and disconnection before expanding access.

![Test the transfer you intend to forbid: a tool policy outside the model permits the lookup and denies the injected transfer](https://infomover-public-content.s3.ap-south-1.amazonaws.com/prod/infomover/mcp-agent-connection-security/d11da0cccfb7-mcp-connection-release-test.svg "Approve a bounded connection only with evidence of access limits, denied transfers and a tested way to disconnect.")

## The short answer

An MCP connection exposes records, actions and data destinations; a local server also runs code on your machines. Approve one workflow after demonstrating restricted access and denied transfers. Review the server and credentials, test controls outside the model, and name an owner for updates and disconnection before expanding access.

---

## Make the connection a business decision

A successful demonstration shows that an agent can reach a system. Before approving production, you need evidence that it reaches only the information and actions the workflow requires. Otherwise, a convenient connection can widen access without anyone explicitly accepting the consequences.

An unapproved transfer can consume security and business-team time tracing what left and who received it, while the workflow is paused. A compromised local server may also require isolating machines and replacing exposed credentials. Reusing the approval record for the next connection reduces repeated discovery: reviewers can focus on changed permissions, destinations and owners.

Model Context Protocol, or MCP, gives an AI application a common way to connect to servers exposing tools and information. In the [MCP architecture](https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture), the host is the AI application; a client within it connects to each server. That server may run locally or remotely and may call another business system behind it.

Ask your architect to draw the complete path: **user → AI application → MCP server → business system**, including the model provider and other places data is sent or retained. Name the operator and credential at each step. Ask the team to show which records and actions the server permits after the user signs in.

For a hypothetical internal procedure assistant, the approval might cover answering questions from one authorised document collection. That purpose gives you a boundary to test before connecting a broader document store or adding actions.

---

## A read tool can still create a disclosure risk

Reading confidential information is consequential when the agent can send it elsewhere. Consider the combined tools available in the AI application, including those from other servers.

The official [local-server security guide](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/local-server-security) describes how malicious instructions in tool descriptions can influence an agent's use of other tools. Returned document text creates another instruction surface. Authenticating a server establishes a connection identity; it does not make every instruction in its content appropriate to follow.

For the procedure assistant, keep retrieved text as evidence for the answer. Require an independent policy check before any proposed tool action. Our [prompt-injection explainer](/articles/prompt-injection-explained-for-leaders) covers the underlying failure; the connection review must establish which additional capabilities could turn that failure into a transfer or change.

---

## Check remote access and local execution separately

Overbroad access can expose another team's records or allow changes outside the approved workflow. For a remote connection, ask the architect to demonstrate the intended user or service identity all the way to the business records. A broad shared credential needs an explicit justification and enforceable restrictions. The [MCP tools specification](https://modelcontextprotocol.io/specification/2026-07-28/server/tools) requires access controls and input validation at the server; your acceptance test should show how those controls enforce this workflow's permissions.

Two further checks belong in the remote review:

- **Credentials: prevent access granted for one service being reused at another.** Ask the architect to demonstrate that the MCP server rejects an access token intended for a different service and uses a separate token for the downstream API, as the [authorisation specification](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/security-considerations) requires. Also ask how credentials are stored securely and kept out of prompts and ordinary logs.
- **Destinations: prevent the connection reaching systems you never approved.** [MCP security guidance](https://modelcontextprotocol.io/docs/2026-07-28/tutorials/security/security_best_practices) describes how URLs supplied during sign-in setup can trigger requests to unintended services. Ask the architect to demonstrate destination checks that still apply when an address redirects or resolves to a different network location. Permit a necessary internal endpoint explicitly; deny unrelated internal services and cloud metadata endpoints. Review tool traffic and model-provider transfers as separate data paths too.

A local server can put files and credentials on your machines within reach of the software you launch. Ask the architect to demonstrate an isolated runtime, a minimal set of secrets, restricted files and controlled outbound access. Stdio, the local process transport, supplies no sandbox. The official local-server guide also notes that pinning the top-level package leaves dependencies to consider. Review the actual deployed artefact and its update process.

These checks need named implementers. A supplier should show which controls its product provides and which your identity, infrastructure and application teams must supply. Use the [least-privilege guide](/articles/least-privilege-for-ai-agents) to settle the access design.

---

## A public advisory shows why configuration belongs in the review

In June 2025, the [MCP Inspector maintainers reported a proxy vulnerability](https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-7f8r-222p-6f5g): missing authentication allowed requests to launch local MCP commands, enabling remote code execution. The advisory identified versions below 0.14.1 and listed 0.14.1 as its fix. It concerns a development tool's proxy, rather than every MCP connection.

In October 2026, a [follow-up Inspector advisory](https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-wmjf-2m46-2352) described an incomplete protection when authentication was deliberately disabled: requests without an Origin header could reach process launch. Ask whether the deployed configuration permits that bypass. Neither advisory establishes a customer breach or a financial loss.

For your review, the lesson is to test the deployed configuration. Require authentication on privileged proxy operations, keep development tools outside the production path where possible, and check current advisories before accepting a build. The original patch number alone cannot establish that today's configuration is safe. Retest with authentication bypass settings disabled and confirm unauthorised launch requests are refused; record that evidence alongside the version.

---

## Require an approval record for each connection

Use the following as a release checklist for the proposed workflow. It is a recommended governance record, not an MCP certification.

| Decision | Evidence to request | Accountable owner |
| --- | --- | --- |
| Which server are we trusting? | Publisher, endpoint or deployed artefact, runtime configuration, dependencies and advisory review | Service owner |
| Who can see which records? | Identity path and denied-access tests using another user's or team's records | Data and identity owners |
| Which actions can occur? | Approved tools, permitted arguments and enforcement location; approval for consequential changes | Business and application owners |
| Where can data travel? | Model-provider, tool, storage and outbound destinations; evidence that prohibited transfers fail | Security and infrastructure owners |
| What invalidates this approval? | Review triggers for changed tools, permissions, builds, destinations or operating terms | Release owner |
| How do we disconnect it? | Tested removal of access, credentials and local processes, with a manual fallback | Operations owner |

Assign a named person to each role. The [tools specification](https://modelcontextprotocol.io/specification/2026-07-28/server/tools) allows the advertised tool set to change. Treat a newly exposed export or write capability as a new decision, even if the server's name stays the same.

---

## Test the transfer you intend to forbid

For the hypothetical procedure assistant, run the acceptance exercise in an isolated environment using synthetic documents and a controlled test destination. Agree the expected results before testing:

1. **Permitted lookup:** an authorised user retrieves an allowed procedure and receives an answer supported by it.
2. **Forbidden lookup:** the same user requests another team's restricted document. The data-access layer refuses it before its contents enter model context.
3. **Injected transfer:** an allowed test document contains an instruction to send its contents to an unapproved destination. Supply a candidate transfer request directly to the policy layer as well as testing the agent with the document. The tool policy must refuse the request even if the model proposes it.
4. **Direct outbound attempt:** test the server runtime's network restriction independently. A denial in the host's tool policy does not test a local process's own network access.
5. **Disconnection:** remove the connection, revoke its access and stop any local process. Verify that new requests fail and explain how already-running work is handled.

Record the user identity, server build, proposed operation, destination, decision and enforcing component without copying confidential documents or credentials into the evidence. The [observability guide](/articles/ai-agent-observability-what-to-trace) explains how to connect those events during investigation.

Passing these exercises gives you evidence for the tested scope. It leaves residual risk to assess, including compromised permitted destinations and unexpected tool combinations. Repeat the relevant tests whenever a change widens that scope.

---

## What this means for you

Approve a bounded connection when the owners can demonstrate both the useful task and the required denials. If the team cannot trace a credential, show a data boundary or disconnect the server, keep that connection out of production while it resolves the gap. Staff can continue with the existing procedure lookup process.

Compare build, buy and partner proposals against the same approval record. Include isolation, access integration, testing, updates and incident response in the delivery estimate and ongoing ownership. Ask a managed-service supplier how you obtain denial evidence and revoke access; assign that work internally for a custom server.

---

## Questions to ask before approving the connection

- What exact workflow, records and actions does this approval cover?
- Who operates every component, and which identity reaches the business system?
- Which component denies a forbidden action even when the model requests it?
- Have we tested outbound traffic from both the host and the server runtime?
- What changes trigger review, and who checks security advisories?
- Can operations demonstrate disconnection and the manual fallback?

For a consulting engagement to review your proposed MCP connection and its acceptance evidence, [Discuss your project](/contact).

## Related

- Consulting: [Gen AI Architecture & Engineering](https://infomovertech.com/services/ai-engineering), [Enterprise AI Adoption](https://infomovertech.com/services/enterprise-ai-adoption)
