cd /news/ai-agents/mcp-is-a-tool-protocol-not-a-permiss… · home › topics › ai-agents › article
[ARTICLE · art-181822] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

MCP Is a Tool Protocol, Not a Permission Boundary

A developer argues that the Model Context Protocol (MCP) standardizes how AI applications discover and call tools but does not itself restrict what those tools can do, since real authority comes from the server implementation, its runtime identity, credentials, and OS controls. The writeup recommends scoping tools narrowly (e.g., read_project_file with an enforced root over run_shell), running servers under dedicated accounts with limited filesystem and network access, requiring human confirmation for irreversible actions, and logging validated arguments and authorizing identity.

recommendation

Before connecting an MCP server to an agent, scope its tools narrowly and drop the process's OS authority with a dedicated account, limited mounts, and restricted egress, since the protocol itself enforces no permissions.

more in playbook: Securing agents and AI tools
by read2 min views7 publishedDec 4, 2026

An MCP server can make a capability easy for an AI application to discover and call. That convenience can create a dangerous mental shortcut: “The model only sees a tool named read_notes, so the process can only read notes.” That conclusion does not follow from the protocol.

MCP standardizes communication between an AI application and servers that expose tools, resources, or prompts. A server tool may read a database, modify files, or call another service. The actual authority comes from the server implementation, its runtime identity, configured credentials, and the machine’s operating-system controls. A tool schema describes an interface; it does not turn an overprivileged process into a restricted one.

For a local server launched as a child process, start by asking what user account runs it and what that account can access. If the server runs as you, it may inherit access to your files and environment. A wrapper that advertises only two MCP tools does not remove a bug in the server or a dependency that reads elsewhere.

For a remote server, inspect the credentials and network access it holds. A narrowly named tool can still forward sensitive data if its implementation or endpoint is compromised. Review where arguments and results travel, how authorization is scoped, and whether the server accepts arbitrary URLs or paths.

The MCP security best practices cover local server compromise, confused-deputy behavior, and scope minimization. MCP’s server concepts describe tools that perform actions and resources that provide read-only access. Review each server's implementation to see how those interfaces map to its permissions.

Before connecting a server to an agent, write down answers to these questions:

Prefer small tools with explicit operations over generic access. read_project_file with a server-enforced root and file-size cap is easier to inspect than run_shell. A database tool that accepts a fixed query shape is easier to limit than one that executes arbitrary SQL. Reject unknown names and malformed arguments in the host, even if the model was given a schema.

Then reduce the process’s OS authority. Run it under a dedicated account, expose only the required directory, use read-only mounts for reference data, and avoid passing unrelated secrets in its environment. Restrict network egress where practical. These controls apply even if a model is manipulated or the server has a bug.

Use human confirmation for irreversible or externally visible actions such as sending messages, deleting data, or changing production state. Show the recipient and message, the files to delete, or the proposed configuration change so the person can inspect the effect before approving it. Log the tool name, validated arguments with sensitive values redacted, result status, and the identity that authorized the call. If a tool writes the wrong file, that record should tell you which request selected it and which account performed the write. Keep secrets and full private documents out of those logs by default.

── more in #ai-agents 4 stories · sorted by recency
── more on @model context protocol 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/mcp-is-a-tool-protoc…] indexed:0 read:2min 2026-12-04 · —