|---|---|
| Unpinned servers | npx some-mcp@latest with no lock | Supply chain drift; yesterday’s tool is not today’s |
| Secrets in plain env | API keys embedded in the MCP JSON | Keys land in backups, sync, and screenshots |
| Over-broad tools | One server exposes shell + FS + network | Blast radius = entire workstation |
| Shadow servers | Old entries left after experiments | Forgotten high privilege |
| No inventory | Nobody can list “what can this agent do?” | You cannot audit what you cannot name |
None of these require a sophisticated attacker. They require a tired Friday merge.
How should builders gate MCP before an agent runs?
Answer: Add a preflight that is independent of the model:
- Inventory — enumerate every server and tool name the config would load.
- Pin — require version pins or content hashes for installable servers.
- Secret hygiene — fail if high-entropy secrets appear inline; point at a vault.
- Scope — prefer servers with narrow tools; drop “god shell” unless a human session explicitly enables it.
- Diff in CI — treat MCP config changes like IAM policy changes: review the diff, not the vibes.
- Runtime confirm — for production agents, load only an allowlisted subset of tools per task class.
That is the job of a scanner, not a paragraph in the system prompt.
What is mcp-pordego?
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.
Hub: jarvisosorio.com/mcp-pordego
Source: under github.com/JarvisOsorio
It exists to answer a boring, important question before the agent starts:
“Is this config the one I think it is, and is it safe enough to attach to a model that improvises?”
Pair it with the rest of the local-first stack when you care about the full path:
- agentscrub — redact secrets/PII from transcripts after the fact
- Ambient Memory — local memory without shipping your life to a random cloud by default
- Agent Replay Lab — record/replay tool I/O so “what did we call?” is testable
- Agent Outcome — verify side effects in the world, not only in the model’s story
Docs hub: jarvisosorio.com/open-source
How does this connect to books and institutions?
Answer: Two bridges:
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.
Paperback: https://www.amazon.com/dp/B0HLVFB72BGovernance — 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?
https://www.amazon.com/dp/B0HLWZVBCK
If your agent can move money, code, or customer data, write the constitution for tools first.
Checklist you can paste into a PR template
- [ ] MCP config diff reviewed like IAM
- [ ] No inline API keys or tokens
- [ ] Server installs pinned (version or hash)
- [ ] Tool list inventoried; unused servers removed
- [ ] High-risk tools (shell, unrestricted FS, payments) off by default
- [ ] Scanner (e.g. mcp-pordego) run in CI or pre-commit
- [ ] Incident freeze: known path to disable MCP servers without redesigning the agent
What should a team do this week?
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.
If 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.
Q: Is “local-first” enough without scanning?
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.
Scan local configs with the same seriousness you apply to cloud IAM. Then keep memory, transcripts, and side-effect checks local-first where you can.
Capability is cheap now. Gates are the product.
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.

