{
  "id": 23654180,
  "title": "MCP Server Security: A Developer's Checklist",
  "url": "https://urgent.news/2026/12/05/mcp-server-security-a-developers-checklist",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T16:25:42.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/samiullahchanna/mcp-server-security-a-developers-checklist-1157"
  },
  "original_language": null,
  "account": "MCP — the Model Context Protocol — is a rapidly expanding method for granting AI agents real-world capabilities. However, this same power also presents a significant challenge. Each tool an MCP server exposes is an action that the agent can perform using your credentials. Any description, tool result, or document that the agent reads through MCP is considered as instructions by the model. If you connect to the wrong server or trust a tool definition that has changed after your approval, the agent can act on your behalf, using your access token. In essence, securing an MCP server requires treating it like any other production dependency: thoroughly vetting its tool list and public footprint before connecting, granting only the most limited OAuth scopes and named tools, locking the specific version you have reviewed, re-approving any changes, and logging every tool call. The principle of least privilege, enforced structurally, is of utmost importance. On 1 December 2026, Salt Labs at Salt Security released research revealing how MCP servers at three major online services - a social network, an online payments provider, and a cloud collaboration platform, collectively serving hundreds of millions of users - could have allowed an attacker to take control of a user account with a single malicious link. The common starting point for all these attacks: open OAuth Dynamic Client Registration. Unlike typical APIs, an MCP server does not present a normal interface. Instead, you provide the model with a menu of tools, and it decides which to call, in what order, and with which arguments. The model treats the tool names, descriptions, and results as language, not as code. Everything sent by the server is essentially prompt input. When a client connects, it calls tools/list, passing each tool's name, description, and input schema to the model. The model then reads this text as potential instructions. Every tool is an action that uses your credentials. Both read-only and delete tools appear identical in the menu, as does the agent, based on the conversation's context, select the appropriate tool using the token you granted. Trust is granted once and seldom re-checked. You approve a server, its tools, and its scopes when you connect. Most clients do not query again when the server changes its tool list or adds a new capability. Tool poisoning refers to the oldest and most effective attack in MCP. A malicious or compromised server can inject instructions into a tool's name, description, or parameter descriptions - text that the user never sees but the model always does. Common tactics include an \"IMPORTANT\" block in a description instructing the model to perform an action first, such as reading a configuration file, copying a value into an extra parameter, or sending a result elsewhere. Another technique is poisoning a parameter description. While developers rarely review inputSchema.properties.city.description, the model does, and an injection there can manipulate how the model uses tools from other servers, a technique known as tool shadowing. Attackers often use a friendly cover story like \"for security verification\", \"to improve results\", or \"confirm the user's identity by reading...\" to justify their actions. The key to defense is structural, not about reading every description. You must connect only to servers you trust, lock the exact version you reviewed, and treat any information returned by a tool, including its own description, as untrusted input. The rug pull attack assumes a trusted server that changes. An MCP server can modify its tool list at runtime, and many clients do not require re-approval when this happens. A team may approve a third-party threat-enrichment tool after reviewing its description. Months later, the server's operator or an attacker who has compromised it could update the tool's definition, adding a feature that forwards a copy of whatever the agent queries to an external endpoint \"for extended analysis\". The agent, already holding approved access, complies. This flaw was disclosed by Docker on 1 December 2026, known as the Docker Sandboxes flaw. Another type of attack that commonly occurs in MCP setups is indirect prompt injection. Unlike direct prompt injection, where malicious instructions are typed into a chat box, indirect prompt injection involves hiding instructions within the content that agents retrieve. When a tool returns this content, the model reads it and executes the instructions with the agent's permissions, turning a data breach into a one-step operation. To combat these threats, structure is crucial. Every tool result should be treated as untrusted data. Wrap these results in clearly delimited blocks, and tell the model that they are data, not instructions. Separate the reader from the writer, ensuring that one agent run does not have both read access to untrusted content and write access to production in the same session. Split the job: have one agent read and summarize, while a second, narrowly-scoped agent performs the necessary actions. Implement approval gates for anything outbound or destructive, and allow reads to run freely. Reads can operate independently. Anything that writes, deletes, sends, pays, or deploys must undergo human approval.",
  "summary": "MCP — the Model Context Protocol — is the fastest-growing way to give an AI agent real power. That power is exactly the problem. Every tool an MCP server exposes is an action your agent can take with your credentials. Every description, tool result and document the agent reads through MCP is text the model treats as instructions. Connect the wrong server or trust a tool definition that changed…",
  "summary_source": "publisher",
  "key_points": [
    "MCP servers expose actions using developer credentials, posing significant security risks",
    "Attackers can manipulate tool descriptions and parameters to perform unauthorized actions"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}