The short answer
Do not let an MCP server treat “the agent is connected” as blanket permission to read or change everything. Map each tool to the smallest useful resource scope, validate its arguments on the server, require fresh human confirmation for consequential actions, and record what was requested, approved, and executed.
This matters commercially. A narrow MCP design reduces the blast radius of a mistaken agent decision, makes customer conversations easier to defend, and gives you fewer permissions to maintain. It also protects uptime: an agent that cannot accidentally send, delete, purchase, or publish beyond the approved task is less likely to create an incident that interrupts delivery or revenue.
The central design rule is simple: one approval covers one operation, not an open-ended future session. If the agent may need to perform a second consequential operation, request confirmation again unless your product has a deliberately designed, bounded authorization flow.
MCP itself is a connection standard, not a governance system. Its specification describes tools as model-controlled and says implementations should provide a human in the loop with the ability to deny tool invocations, make tool exposure visible, indicate when tools are invoked, and present confirmation prompts for operations. The protocol also distinguishes resources—context or data exposed by a server—from tools—functions the model can invoke. Your server’s permission and consent design fills in the operational details.
Start with the job, not the database
“Connect the agent to our CRM” is not a usable permission design. It describes an integration, not an outcome.
Start with a founder-style inventory of jobs the agent must complete:
- Find a customer’s recent support case.
- Summarize the latest invoice.
- Draft a reply for review.
- Issue a refund after approval.
- Export selected records for analysis.
Then split those jobs into read and write actions. Reading a customer record and issuing a refund do not belong under the same permission simply because both use the CRM API.
For each job, define four things:
- Resource boundary: Which exact customer, workspace, repository, project, document, account, or time range may be touched?
- Operation: Which action is allowed—read, draft, update, send, delete, purchase, or publish?
- Approval rule: Is the action routine enough to run directly, or does it need a person to confirm it?
- Audit record: What must you retain to explain who or what initiated the action and what actually happened?
This produces a small permission matrix. For example:
| Agent job | Tool | Allowed scope | Approval | Audit event |
|---|---|---|---|---|
| Inspect a support case | get_case |
One assigned case ID | No additional confirmation if access is authorized | Read case ID, actor, outcome |
| Summarize an invoice | get_invoice |
One invoice owned by the current customer | No additional confirmation if access is authorized | Read invoice ID, actor, outcome |
| Draft a reply | draft_reply |
One assigned case ID | No additional confirmation | Draft ID, actor, case ID |
| Issue a refund | issue_refund |
One order, amount at or below an explicit limit | Explicit confirmation before execution | Approval ID, order, amount, actor, result |
| Export records | export_records |
Selected workspace and bounded date range | Explicit confirmation before execution | Scope, row count, actor, result |
The point is not to create a large permissions bureaucracy. It is to make the safe path the easiest path for both the agent and the operator.
1. Give tools narrow resource access
A tool is an executable function. A resource is data or context a server exposes. The distinction is operationally useful because access to information and permission to act are different decisions.
For a resource-reading tool, scope access by a stable identifier rather than exposing a generic “search everything” capability. Prefer get_invoice(invoice_id) over read_invoice(query). Prefer list_cases(workspace_id, status) over get_cases(). The broad form may be needed for legitimate discovery, but it should not be the default route to sensitive data.
A good rule is: the tool name should communicate the operation; its schema should communicate the boundary.
{
"name": "issue_refund",
"description": "Issue a refund for one eligible order.",
"inputSchema": {
"type": "object",
"properties": {
"order_id": { "type": "string" },
"amount": { "type": "number", "exclusiveMinimum": 0 },
"currency": { "type": "string" },
"reason_code": { "type": "string" }
},
"required": ["order_id", "amount", "currency", "reason_code"],
"additionalProperties": false
}
}
The schema is not a security boundary by itself. A model can submit malformed or unwanted values, and a client may not honor every schema constraint. The MCP server must enforce authorization and validation again when the tool is called.
For resource access, check identity and scope on every call:
- Is the caller authenticated?
- Does the caller have permission for this resource collection?
- Is this specific resource inside the caller’s workspace or ownership boundary?
- Has the resource been delegated for this task or session?
- Does the operation require a stronger privilege than ordinary read access?
Do not rely on a resource ID being hard for the model to guess. IDs are not authorization. Query filters are not authorization either. Enforce ownership in the data-access layer or through a trusted service that performs the check for you.
This is also where product design and security reinforce each other. A founder-facing permission scope audit checklist can help inventory what existing tools already expose before you add new capabilities.
2. Split “prepare” from “commit”
Many agent workflows become dangerous because preparation and commitment are collapsed into one tool. A tool such as send_email may accept recipients, subject, body, and attachment, then perform the irreversible action immediately. If the agent needs to iterate, that creates duplicate sends or sends to an incorrect recipient.
Split the workflow where the underlying system allows it:
prepare_emailcreates or validates a draft and returns a preview plus a draft identifier.send_email(draft_id, approval_id)sends the exact reviewed draft.
The same pattern applies to refunds, migrations, deletions, purchases, deployments, and public publishing. The preparation step may be automatic. The commitment step should consume a specific, single-use approval record.
This design gives the operator something meaningful to approve. A generic confirmation such as “Do you want to proceed?” is weak when the agent has not yet shown the recipient list, amount, target, or final payload. The confirmation should show the consequential facts at the point of execution.
For a refund, show at least:
- order and customer;
- exact amount and currency;
- reason;
- destination or external account where relevant;
- whether taxes, fees, or finality rules apply;
- the tool that will execute the action.
The operator should be confirming a specific action, not approving the agent’s general competence.
3. Require human approval for consequential actions
The MCP tools specification says applications should present confirmation prompts for operations and maintain the ability for a human to deny invocation. Treat that as a minimum interaction requirement, not a complete consent architecture.
Classify actions by consequence, not by whether they happen to use a tool called write:
Usually safe to run without per-action confirmation
- Reading an already-authorized resource.
- Searching within a bounded workspace.
- Classifying, summarizing, or drafting a proposed change.
- Returning a preview without committing it.
Usually requires explicit confirmation
- Sending communications to customers or third parties.
- Spending money or changing billing state.
- Deleting or overwriting data.
- Publishing content publicly.
- Changing access control or security settings.
- Deploying code or modifying production infrastructure.
The final policy must reflect your product’s actual consequences, but the bias should be conservative. “Low risk” actions can still become dangerous when scopes, recipients, or destination accounts are wrong.
A useful approval payload is structured rather than free-form:
{
"approval_id": "apr_01JXYZ...",
"tool": "issue_refund",
"arguments_hash": "sha256:...",
"summary": {
"order_id": "ord_123",
"amount": 49.00,
"currency": "USD"
},
"expires_at": "2026-04-08T14:05:00Z",
"single_use": true
}
Bind the approval to the tool, normalized arguments, actor, and intended target. If the amount, recipient, order, body, or destination changes after approval, require a new approval. Otherwise, a user who approved a $20 refund could inadvertently authorize a $2,000 refund through a changed model-generated argument.
Keep approvals short-lived and single-use unless there is a compelling product reason for otherwise. If you support delegated or batch approval, define the maximum count, amount, destination set, and expiry explicitly. “Approved for this session” is rarely precise enough for money, deletion, or external communication.
Also distinguish user approval from application authorization. Connecting an MCP server with OAuth may establish that a user authorized the server to act on their behalf. It does not mean every individual action has been reviewed. Similarly, a server-level API key is not proof that the current person intended the action. The MCP specification does not mandate one universal user-interaction model, so your application must implement and explain its own policy.
4. Validate arguments at the server boundary
Do not assume the client’s tool schema or the model’s output is trustworthy. Validate again in the server before touching an external system.
At minimum, validate:
- Types and shape: Is
order_ida string within the allowed length? Isamounta finite number? - Unknown fields: Reject unexpected properties when the schema does not permit them.
- Business eligibility: Is the order refundable by the current policy? Has it already been refunded?
- Resource ownership: Does the order belong to the caller’s authorized customer or workspace?
- Value limits: Are amount, recipient count, batch size, and date range bounded?
- Destination safety: Is the email domain, account, repository, or deployment target allowed?
- Idempotency: Could a retry duplicate the action?
Use an idempotency key for operations that may be retried after a timeout. The key should represent one logical operation, such as an approved refund. If the server receives the same key again, it should return the original result rather than execute a second refund or send a second message.
Be careful with error messages. A validation error should be precise enough for the agent to correct the request without leaking whether an unauthorized resource exists. “Order is not eligible for this operation” is usually safer than an error that reveals the complete customer or refund history.
Validation and authorization are related but distinct. Validation asks whether the request is well formed and permitted by business rules. Authorization asks whether this caller may perform this operation on this resource. A server needs both.
5. Audit consent, not just tool calls
Tool-call logs alone cannot tell you whether the right person approved the right operation. Store a consent trail that links the proposed action, approval, execution, and outcome.
A useful audit event contains:
- timestamp and request or trace identifier;
- authenticated user and tenant;
- agent, client, and MCP server identifiers;
- tool name and normalized arguments—or a safe reference plus a hash;
- approval identifier, approver, approval time, and expiry;
- destination and action category;
- execution status and external operation identifier;
- reason for denial, cancellation, or failure.
Avoid storing unnecessary sensitive payloads. A refund approval may need the amount and order ID; it usually does not need a copy of the entire customer record. Redact secrets, credentials, tokens, and sensitive message bodies. The goal is an evidence trail, not a second data lake.
Consent audit records should be tamper-resistant or access-controlled. If an ordinary agent can edit the same log that proves what it did, the trail has little evidentiary value.
You also need a clock. Expired approvals, changed permissions, and revoked accounts should invalidate pending execution. On the server side, re-check authorization at execution time. A request approved a minute ago should not proceed after the user’s workspace access was removed.
6. Test the failure paths, not only the happy path
A permission design fails in awkward states: a customer changes, a payment times out, a model produces an unexpected recipient, an approval expires between review and execution, or the agent retries after receiving no response.
A practical test set includes:
- Cross-tenant access: Can the agent request a resource belonging to another customer?
- Argument tampering: Can it change the amount or recipient after approval?
- Approval replay: Can a consumed approval be used again?
- Expiry: Is an expired or stale approval rejected?
- Revocation: Does execution fail after access is revoked?
- Retry duplication: Does a timeout cause a duplicate send, refund, or deployment?
- Tool-list changes: Does a newly added or changed tool inherit permissions it should not have?
- Denial behavior: Does a denied action stop rather than quietly find another route to the same result?
Treat denial as a first-class outcome. The user should be able to deny an invocation, and the agent should receive enough structured feedback to revise or stop. MCP clients can support elicitation for additional user input, while the tools specification calls for the ability to deny invocations; the exact UI and request flow depend on your host and client capabilities.
A practical server-side gate
The implementation can be modest if its invariants are clear. Before executing a consequential tool:
1. Authenticate the caller and resolve tenant, user, and delegated scopes.
2. Validate the arguments against the server-owned schema.
3. Resolve the target resource and enforce ownership/authorization.
4. Apply business rules and value limits.
5. If the action is consequential, require a valid single-use approval.
6. Recompute or verify the approved arguments and destination.
7. Execute with an idempotency key.
8. Record the approval, execution, external result, and audit event.
The crucial detail is that approval is checked near execution—not merely when the agent first suggests the action.
Founder checklist before launch
Before exposing a new MCP tool to customers or internal users, ask:
- What business job does this tool complete?
- Is the resource scope explicit in both the tool schema and server authorization?
- Can the model call a broader operation than the task requires?
- Is this action reversible, and what is its real blast radius?
- Does it send, spend, delete, publish, deploy, or change permissions?
- If so, what exact facts will the human see before approving?
- Is the approval bound to the tool, arguments, target, actor, and expiry?
- Can an approval be replayed after execution?
- What happens on timeout or retry?
- Can the agent bypass the intended tool by using another exposed capability?
- Will the audit record explain both the approved intent and the actual result?
If the answer to the approval question is “the user approved the whole agent session,” redesign it. If the answer to the scope question is “the server will check it later,” be precise about where that check occurs and what it enforces.
Frequently asked questions
Should every MCP tool call require approval?
No. Requiring confirmation for every read can make the product tedious and encourages users to approve reflexively. Reserve confirmation for consequential actions, while preserving visibility, denial, authorization, and auditability for routine operations. The risk classification should reflect actual consequences, not merely the tool name.
Does an MCP client’s approval protect the server?\n
No. A client-side prompt may improve the interaction, but the server must still enforce authorization, validation, approval validity, and execution limits. The client and server may be operated by different teams or products, and the server cannot treat UI state as a security guarantee.
Can one approval cover a multi-step workflow?
Only when the workflow is explicitly bounded and the approval represents the complete, reviewed plan. For example, a user could approve “send these three exact messages to these three exact recipients.” If the recipients, content, amount, or count can change after approval, issue a fresh approval for the changed action. Keep the approval record linked to a normalized representation of what was approved.
Does using a narrow tool schema guarantee least privilege?\n
No. Schemas improve clarity and input handling, but they do not prove ownership or authorization. The server must independently resolve the target resource and enforce the caller’s permissions. This is why least privilege belongs in both interface design and backend enforcement.
Bottom line
A trustworthy MCP integration is not the one with the most tools or the smoothest unattended demo. It is the one that lets an agent complete useful work while keeping access, approval, and execution easy to reason about.
For founders, the practical sequence is: narrow the resource scope, separate draft from commit, validate at the server, ask a human to approve the exact consequential action, and audit the complete chain. That design may add a confirmation step, but it buys something more valuable: an agent product that customers can adopt without handing it unrestricted access to the systems that run the business.







