MCP server and plugin allowlist for coding agents
Published · Updated · Checked against Claude Code managed-mcp and ZDR docs, Codex managed-configuration page, Copilot MCP concepts page, 10 Nov 2026
An MCP server is code that runs on a developer's machine, or a remote service the agent calls, with whatever access the developer's session has. Vendor zero-data-retention terms do not cover it. Anthropic's zero data retention page says data processed by "third-party tools, MCP servers, or other external integrations" is not covered. So an approved list of servers and plugins is a control in its own right. Below are a policy clause, an approval form, what each vendor can actually enforce, and a worked review.
The policy clause
MCP SERVERS AND PLUGINS: POLICY
Scope: [all coding agents used for company work, on company or personal machines]
1. Only servers and plugins on the approved list [URL] may be used.
2. Each entry is identified by [command and arguments, or URL], not by display name.
3. A new entry needs a completed approval form, a named owner and a review date no later than [12] months out.
4. Servers that can write, send or delete need [security lead] sign-off.
5. Credentials are issued per person and never stored in shared config files.
6. Use of unlisted servers is reported to [owner] and handled under [incident procedure].
7. Approved servers and their owners are reviewed on [date] each [period].
Delete what does not apply.
Point 2 matters because of how enforcement works in at least one tool, covered next.
What each vendor can enforce
| Tool | Allowlist for servers | Plugin or marketplace control | Gaps found |
|---|---|---|---|
| Claude Code | Yes, allowedMcpServers with allowManagedMcpServersOnly: true, or a fixed set in managed-mcp.json | Yes, strictKnownMarketplaces and strictPluginOnlyCustomization | Name entries are not a security control |
| Codex | Yes, mcp_servers in requirements.toml | Yes, [marketplaces] with restrict_to_allowed_sources, and features.plugins = false | Page only partly read |
| Copilot | No organisation server allowlist described; MCP policy on or off | Tool allowlist per repository for the cloud agent | Policy is off by default |
| Cursor | Could not confirm | Could not confirm | MCP admin controls not found in pages read |
Claude Code
Per the managed MCP page, read 10 November 2026, "By default, anyone running Claude Code can connect any MCP server they choose." Three patterns matter. A deployed managed-mcp.json gives exclusive control: users cannot add other servers, including plugin-provided ones. An approved catalog uses allowedMcpServers together with allowManagedMcpServersOnly: true. A soft allowlist, without that flag, merges allowlists from every settings scope, so a user can broaden it in their own settings. The page also says Claude Code has no built-in registry to browse, so publish the approved list and its claude mcp add commands yourself.
Entries match by serverUrl, serverCommand or serverName. The page's warning is blunt: a serverName entry "is not a security control", because the name is whatever label the user assigned. Match on command or URL. The denylist applies to every server whatever its source, so it works as a veto on top of any allowlist.
One caveat deserves a line in your change log. Servers that users had configured stop loading under an empty managed-mcp.json, and per the page "with no warning that policy is the reason". Tell people before you roll it out.
Codex
The Codex managed-configuration page describes mcp_servers tables in requirements.toml, each with an identity matched on command for stdio servers or url for streamable HTTP servers. It says the client "enables an MCP server only when both its name and identity match an approved entry", and that a present but empty mcp_servers disables all of them. Marketplace sources can be restricted with restrict_to_allowed_sources = true, and features.plugins = false turns plugins off. Only the first 100,000 of about 122,000 characters of that page could be read, so check the remainder for limits before relying on this summary.
Copilot
GitHub's MCP concepts page says "The policy is disabled by default" and that organisations and enterprises can enable or disable MCP for members on Copilot Business or Enterprise. The page does not describe an organisation-level server allowlist. For the cloud agent, a tools field in repository settings lets you allowlist specific tools. The page also says that when work is delegated to Copilot, it "does not ask for approval before calling" configured MCP tools, so the repository allowlist is the control that counts.
Cursor
Admin controls for MCP in Cursor could not be confirmed from the pages read. Treat it as uncontrolled until a vendor page or a test shows otherwise, and say so on the board brief.
The approval form
MCP SERVER OR PLUGIN APPROVAL
Name and version: [name, version or commit]
Requested by: [name] Owner: [name] Date: [date]
Identity to allowlist: [exact command and args, or URL pattern]
Where it runs: [developer machine / our infrastructure / vendor cloud]
Tools it exposes: [list; mark each read-only or write]
Data it can read: [files, repos, tickets, secrets, none]
Data it can send out: [destinations, with domains]
Authentication: [per-user OAuth / token in env / none]
Network access: [none / listed hosts / open]
Vendor contract: [DPA signed Y/N; subprocessors reviewed Y/N; retention period]
Update channel: [pinned version / auto-update / unknown]
Prompt-injection exposure: [does it return text from outside parties, e.g. issues, web pages, email?]
Decision: [approved / approved with limits / rejected] Review by: [date]
Delete what does not apply.
The last field before the decision exists because a server that returns third-party text puts that text into the agent's context, where it can act as an instruction. The security review questionnaire covers the vendor side of the same concern.
A worked review: Sealkeep's own MCP server
Running sealkeep mcp install registers a local MCP server with Claude Code and Codex. Filling the form for it, the facts are these. It exposes six tools, all local, and the project states nothing new is exposed to the network. It reads the user's own sealed session history and vault status, and can restore a session. Its authentication is the local vault on that machine. Its update channel is the Sealkeep package. Recalled text is historical conversation, so it is untrusted data and should be labelled as such to the agent; a past session can contain instructions someone once pasted. The memory poisoning guide covers that risk.
An approver might allowlist it by its exact command, limit it to engineers who run Sealkeep, and set a review date. That is the form working as intended, not an endorsement. Sealkeep does not enforce an allowlist for any other server, and it covers Claude Code and Codex only.
Rolling it out and watching it
Start in observe mode. With OpenTelemetry export configured, setting OTEL_LOG_TOOL_DETAILS=1 makes Claude Code include MCP server and tool names in tool events, so a collector can show which servers people actually use before you block anything. The roll-out guide places this step in the sequence, and the controls comparison lists the other managed settings.
FAQ
Does zero data retention cover MCP servers?
For Claude Code the vendor page says no. Data handled by a third-party server falls under that server's own terms, which is why the approval form asks for a vendor contract.
Can I allowlist by server name?
In Claude Code, a name entry is not a security control, because the user chooses the label. Use the command or the URL.
Do plugins need a separate list?
Both Claude Code and Codex have marketplace controls separate from server lists. Plugins can bundle servers, so restrict both.
How do I know a block is working?
On Claude Code, claude mcp list should show only the permitted servers, and claude mcp add on a managed machine should fail with an enterprise-configuration error, per the managed MCP page.
What about tools that have no admin control?
Record them as uncontrolled risk, forbid them in policy if you can, and look for them with the methods in finding shadow coding agents.