Let’s talk
← All insightsCybersecurity / MCP & agent integrations

MCP server security: what to check before an agent gets access

Connecting a tool is easy. Deciding exactly what it may do—and proving the limits hold—is the security work.

The short answer

An MCP security review should examine the client, server, identities, tools and downstream systems together. Verify authentication and resource authorization, constrain tool actions, treat retrieved content as untrusted and test failure recovery. A successful connection or a model refusing one unsafe request does not establish a secure integration.

Who this is for Engineering leads and security owners connecting AI assistants to business applications, internal data or operational tools.

Agentic AI & MCP security reviews

The connection is not the permission model

Your assistant can find a customer record and draft a reply. The demonstration works. Then someone asks it to “sort this out,” and the same integration can also change the customer account, issue a credit and send the reply. Did you intend to grant all three powers?

That is a fictional design situation, but it is a useful starting question. Model Context Protocol, or MCP, provides a way for AI applications to connect with tools and context. It does not decide which business actions your organization should permit. That decision still belongs to the system owner and must be enforced in the components that receive the request.

Review the whole chain: person, client application, model, MCP server, downstream API and affected records. A limit in one component may not exist in another. A client that displays a confirmation does not automatically prevent a different client from calling the server. A server authenticated as an administrator does not automatically know which customer records the original user may read.

The following checklist is an AKD review method for a defined integration. It combines source-backed protocol considerations with original test-planning examples. It is not a protocol compliance suite, a guarantee against prompt injection or a report of client results.

Write a small permission map before testing

On a small screen, scroll the table sideways.

Illustrative customer-support assistant: intended authority
ActionPermitted scopeEnforcement and evidence
Find a customer caseCases the signed-in support user can already accessServer resolves the authenticated user and applies the same record permissions
Prepare a replyDraft text for the selected caseDraft remains separate from the mail-sending operation
Change an account fieldOnly the specifically approved field and customerAction-specific approval is checked at execution against the intended change
Issue a creditExcluded from this pilotNo credit tool or downstream credit permission is granted
Send a replyOnly after approval of the actual message and recipientExecution records match the reviewed destination and content

This example intentionally leaves a capability out. You do not have to expose every action the underlying API supports. A narrow tool that updates one agreed field is easier to reason about than a general tool that can submit arbitrary requests with a powerful credential.

Give each permitted action an owner and a way to check what happened. If you cannot explain the identity and record boundary in a few sentences, resolve that design question before a broad test campaign. More test prompts will not repair an authorization model that nobody has defined.

1–3. Identify the caller, validate credentials and limit access

1. Distinguish the identities. Record the human user, the client, the server and any downstream service account. Identify where permissions are checked for each. For a local process, review the operating-system user and accessible files. For a remote service, review the network authentication and authorization flow. “Local” is a deployment detail, not evidence that the process is harmless.

2. Check token handling against the selected protocol version. The official MCP security guidance rejects accepting tokens that were not issued for the MCP server and describes the risks of token passthrough. It also says a state handle must not substitute for authentication. Verify the implementation rather than treating the presence of an OAuth screen as sufficient evidence.

3. Exercise the resource boundary. Create authorized test users with different roles and separate synthetic organizations. Check both permitted and prohibited record access. Test what happens after a role changes or access is revoked. Note which component makes the decision and whether a cached result or background task preserves access longer than intended.

Keep raw tokens and real customer data out of the review worksheet. Store a reference to controlled evidence instead. The useful artifact is a reproducible account of the permission decision, not a second uncontrolled collection of credentials.

4–6. Control the tools, the content and the destination

4. Review the tool catalog as part of a release. Record the tool names, accepted parameters, server version and deployment configuration. Identify which tools read information and which change it. If a tool gains a new operation or broader access, the review should have a clear reason to reopen. A name such as “lookup” is not enough to establish read-only behaviour.

5. Test untrusted content across the workflow. A customer message or retrieved document can contain text that attempts to redirect the assistant. OWASP's Agentic Applications Top 10 offers a risk framework for systems that plan and act across tools. Use it to broaden your review, then test the specific behaviour your integration permits. A model might follow a malicious instruction while a correctly enforced tool boundary still prevents the prohibited action.

6. Decide where requests and data may go. Inventory the destinations needed for the task. The MCP guidance discusses server-side request forgery risks during authorization discovery; review destination validation in that flow. Separately, examine tools that fetch URLs, upload files or send messages. Test their allowed destinations and data restrictions with harmless staging endpoints. Protocol metadata validation and business-tool egress are related review areas, but they are not the same implementation.

Consider what the model can see as well as what it can send. If retrieval returns a record the user should not read, blocking a later email does not undo that disclosure. Apply permissions before supplying protected context.

7–9. Make approvals precise and recovery believable

7. Bind approval to the action. The reviewer needs to see the recipient or system, relevant record, intended change and any material consequence. If the proposed action changes after approval, it should be reviewed again. Ask whether approval is enforced at the server or downstream operation, rather than relying only on the client interface to behave correctly.

The Canadian Cyber Centre's agentic AI guidance recommends explicit oversight for higher-impact actions and defined limits on autonomy. A practical implementation still needs to decide which action requires a person and what happens if the approval service cannot be reached.

8. Reconcile uncertain results. Imagine a tool call times out after the downstream application accepts a change. Retrying the entire task might repeat the action. Your test plan should check whether the system can find the existing result, use an appropriate duplicate-protection mechanism and surface uncertainty when it cannot determine the outcome. The correct behaviour depends on the downstream system; an agent's confident summary is not a transaction receipt.

9. Test stopping and access revocation. Define what a stop control actually stops: new tool calls, queued jobs, running work or only the visible conversation. Check a background job after the user's access is revoked. Record what cannot be reversed. If an email has already been delivered, recovery is a different task from deleting a draft.

Turn the checklist into observable tests

Choose a safe environment and agree the methods before testing. Use synthetic records and destinations controlled by the test team. The table below describes review cases, not exploit instructions or a substitute for authorization.

On a small screen, scroll the table sideways.

Example test cases for the illustrative support integration
CaseExpected resultEvidence that answers the question
A second test organization requests the first organization’s caseNo protected record is returnedServer authorization decision and absence of protected content in the response
Retrieved content asks for an excluded actionThe excluded operation cannot executeTool availability and downstream denial, even if the model attempts it
The recipient changes after message approvalThe changed message is held for a new decisionApproved action record compared with attempted execution
A downstream update succeeds but the response is lostReconcile the known operation before any repeatDownstream receipt and operation identity; uncertainty recorded if reconciliation fails
Access is revoked with a job still queuedThe job cannot use the revoked authorityExecution-time authorization result and queue outcome

For each case, record the configuration, preconditions, expected result, actual result and evidence reference. Separate “not tested” from “passed.” Keep a short explanation when a test cannot be run safely or depends on unavailable access.

Download the MCP review worksheet (CSV)

The downloadable worksheet is an empty working template with nine review areas. It does not calculate a security score. An overall percentage can hide a single serious failure, such as cross-customer access, behind several easy passes. Discuss that failure directly and decide whether the workflow must remain restricted.

Make the release decision about observed behaviour

End the review with a decision the team can use: proceed within the tested scope, proceed with specified restrictions, or hold until named problems are addressed. Include the tested versions, missing coverage and unresolved risks. Record who accepts the remaining risk and which changes will trigger another review.

Retest meaningful changes to tools, permissions, model configuration, retrieval sources and execution paths. Keep a small set of high-value regression cases with the integration so a later release does not quietly reopen a known weakness. Test the business task too: an integration that denies every request may be restrictive without being useful.

AKD's agentic AI security service can scope this work across the application, MCP integration and downstream systems, including agreed remediation. If you need a broader starting point, use the cybersecurity assessment checklist. Start an inquiry with the workflow and connected systems; arrange sensitive access through the agreed engagement process.

MCP security questions

Is an MCP server secure because it uses OAuth?

No. Authentication is one part of the review. Check token handling, user and resource authorization, tool scope, downstream permissions and the execution path for sensitive actions.

Can prompt injection be solved by changing the system prompt?

A prompt can influence model behaviour, but it should not be the only boundary protecting data and actions. Test how the application and tools enforce limits when untrusted content reaches the model or the model makes a mistake.

Are local MCP servers safer than remote servers?

Each has different risks. A local process may inherit broad file or operating-system access; a remote service introduces network authentication, tenant and deployment considerations. Review the actual permissions and trust boundaries.

What should we prepare for an MCP security review?

A workflow description, tool catalog, architecture and data-flow diagram, relevant configuration, synthetic test accounts and an authorized environment. Agree the permitted test methods and handling of sensitive evidence before sharing access.

Sources & notes

Sources reviewed 29 October 2026. Protocol requirements should be checked against the implementation’s selected MCP version. Permission maps, test cases and worksheets are AKD editorial designs using fictional systems; no successful client test or certification is implied.

Published by Active K Digital. Our articles explain practical delivery decisions; examples are illustrative unless a named case study says otherwise. Technical sources support the attributed points. They do not establish client results or certify a project.

Know what your agent can actually do.

Bring one workflow and its connected tools. We can define the security review, test the important boundaries and scope the fixes.

Discuss an agent security review