{"slug": "why-your-ai-agent-s-mcp-config-is-a-security-boundary-not-a-convenience-file", "title": "Why Your AI Agent's MCP Config Is a Security Boundary (Not a Convenience File)", "summary": "Jarvis Nelson Osorio released mcp-pordego, an open-source security scanner that checks MCP configuration files for Claude, Cursor, and VS Code before an AI agent starts. The tool flags unpinned servers, plaintext secrets, over-broad tool permissions, leftover shadow servers, and missing inventories, and is meant to run as a preflight and in CI. Osorio argues that MCP configs are a security boundary rather than a convenience file, and that \"discovery is not authorization\" for agent-to-agent tool sharing.", "body_md": "|---|---|\n\n| **Unpinned servers** | `npx some-mcp@latest` with no lock | Supply chain drift; yesterday’s tool is not today’s |\n\n| **Secrets in plain env** | API keys embedded in the MCP JSON | Keys land in backups, sync, and screenshots |\n\n| **Over-broad tools** | One server exposes shell + FS + network | Blast radius = entire workstation |\n\n| **Shadow servers** | Old entries left after experiments | Forgotten high privilege |\n\n| **No inventory** | Nobody can list “what can this agent do?” | You cannot audit what you cannot name |\n\nNone of these require a sophisticated attacker. They require a tired Friday merge.\n\n**Answer:** Add a preflight that is independent of the model:\n\nThat is the job of a scanner, not a paragraph in the system prompt.\n\n**Answer:** **mcp-pordego** is an open-source MCP security scanner I maintain — a checker for Claude, Cursor, and VS Code style configs, not an MCP server itself.\n\nHub: [jarvisosorio.com/mcp-pordego](https://jarvisosorio.com/mcp-pordego/)\n\nSource: under [github.com/JarvisOsorio](https://github.com/JarvisOsorio)\n\nIt exists to answer a boring, important question before the agent starts:\n\n“Is this config the one I think it is, and is it safe enough to attach to a model that improvises?”\n\nPair it with the rest of the local-first stack when you care about the full path:\n\nDocs hub: [jarvisosorio.com/open-source](https://jarvisosorio.com/open-source/)\n\n**Answer:** Two bridges:\n\n**Product honesty** — In *The Compliant Mind*, the failure mode is systems that never refuse. Agent stacks that load every tool “because it might be useful” are the engineering twin of always-yes chat. Refusal and narrow scope are features.\n\nPaperback: [https://www.amazon.com/dp/B0HLVFB72B](https://www.amazon.com/dp/B0HLVFB72B) \n\n**Governance** — In *Breaking the Centralized Order*, treasuries need propose/execute separation and freeze paths. Tool lists are miniature treasuries of capability. Who may add a server? Who may promote it to prod? What freezes a bad tool mid-incident?\n\n[https://www.amazon.com/dp/B0HLWZVBCK](https://www.amazon.com/dp/B0HLWZVBCK) \n\nIf your agent can move money, code, or customer data, write the constitution for tools first.\n\n**Answer:** Pick one agent runtime you actually use. Export its MCP config. Run an inventory. Delete one server you do not need. Pin one you do. Put the scanner in CI. That single week of hygiene beats another month of prompt poetry.\n\nIf you already ship agents to other agents (offer cards, automated pitches, shared tool buses), the config boundary multiplies. Every peer you trust inherits the weakest server you loaded. That is why agent-to-agent protocols still need human-owned allowlists — discovery is not authorization.\n\n**Answer:** No. Local-first reduces who can see your data by default. It does not stop a local process with shell tools from harming the machine it sits on. Local without inventory is still privileged chaos — just chaos that stays on your laptop until it syncs a bad secret into a repo.\n\nScan local configs with the same seriousness you apply to cloud IAM. Then keep memory, transcripts, and side-effect checks local-first where you can.\n\nCapability is cheap now. **Gates are the product.**\n\n*Jarvis Nelson Osorio is a Miami Beach technology entrepreneur and innovator working on autonomous AI agents, systems architecture, and DAO institutional design. Author of The Compliant Mind and Breaking the Centralized Order. Open source: [jarvisosorio.com/open-source](https://jarvisosorio.com/open-source/).*", "url": "https://wpnews.pro/news/why-your-ai-agent-s-mcp-config-is-a-security-boundary-not-a-convenience-file", "canonical_source": "https://dev.to/jarvisosorio/why-your-ai-agents-mcp-config-is-a-security-boundary-not-a-convenience-file-4948", "published_at": "2026-12-04 01:08:50+00:00", "updated_at": "2026-12-04 01:16:36.010541+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-safety", "ai-tools", "developer-tools"], "entities": ["Jarvis Nelson Osorio", "mcp-pordego", "Claude", "Cursor", "VS Code", "Model Context Protocol"], "also_reported_by": [], "takeaway": "Run an independent MCP config scanner in preflight and CI to catch unpinned servers, plaintext secrets, over-broad tool scopes, and stale shadow servers before an agent loads them.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/why-your-ai-agent-s-mcp-config-is-a-security-boundary-not-a-convenience-file", "markdown": "https://wpnews.pro/news/why-your-ai-agent-s-mcp-config-is-a-security-boundary-not-a-convenience-file.md", "text": "https://wpnews.pro/news/why-your-ai-agent-s-mcp-config-is-a-security-boundary-not-a-convenience-file.txt", "jsonld": "https://wpnews.pro/news/why-your-ai-agent-s-mcp-config-is-a-security-boundary-not-a-convenience-file.jsonld"}}