The Research Report
Whitelisting MCP Clients Is Security Theater With a Good Press Release
Figma closed its edit-capable remote MCP server to unapproved clients and named one exclusion. The Hacker News thread hit 187 points and 106 comments in a day. The protocol's creator objected publicly. Underneath the argument sits a real gap that nobody has closed: MCP has no way to prove who a client is.
HN item 49922729 | Submitted October 1, 2026 | 187 points, 106 comments
The Announcement
On October 1, a Figma engineer posted that Figma now restricts access to its remote MCP server to a set of approved clients, and that one AI coding tool, Pi, sits outside that set. The submission landed on Hacker News under the title "Figma restricts MCP access to whitelisted clients, excluding Pi" (thread, submitted by thdr, linking a post from Figma's Gayani).
Read-capability MCP servers have been broadly available for over a year. The edit-capable one is a different animal. Once a server can modify a design file, a bad tool call or a prompt injection produces writes to a system of record. Vendors started gating access, and Figma made it explicit.
Why Whitelisting Rose
Three pressures pushed server operators in the same direction at the same time.
Write-capable tools turned MCP into a privileged API surface. A read-only server that returns dashboard data is a convenience. A server that mutates a Figma file, a GitHub repo, or a Postgres table is production infrastructure with an agent on the end of it. Vendor security teams inherited that risk and needed a control.
The client population exploded faster than the review process. Anyone can implement the client half of MCP. Dozens of AI coding tools appeared, each with its own prompt handling, context assembly, and bug surface. Server operators had no way to reason about any of them, so they picked a subset they did reason about.
Prompt injection turned tool authorization into the only line of defense. When an agent reads untrusted content, that content can attempt to steer tool calls. The usual mitigation chain is context isolation, then least-privilege scopes, then human confirmation on dangerous operations. Many remote MCP deployments have none of the first and a partial version of the second. A client allowlist becomes a coarse outer wall: if the attacker cannot run the injected prompt through your agent, the injection never fires.
That is a coherent reason to gate. The question is what the gate actually checks.
The Trust Model It Breaks
MCP's design assumption is that any conformant client can connect and that authorization happens per user, not per client. The specification layers OAuth-style user consent over a transport anyone may implement. The client sends a request. The server checks whether this user may call this tool. The identity in the exchange is the user, carried in a token the client presents on the user's behalf.
Client allowlisting removes that assumption. It asks a question the protocol was never built to answer: which software is on the other end of the socket? Once you ask that question, you are out of protocol territory and into vendor-specific heuristics.
The objection from the protocol's creator lands in a real gap. Client identity is genuinely underspecified. The allowlist is being asked to do a job the spec never assigned to it.
Why the Header Layer Is Not Identity
Most client gating works by matching a string the client sends about itself. That string is a User-Agent, a custom header, or an MCP initialize-time field. All of them are attacker-controlled plaintext.
An impersonation is one command:
curl -H "User-Agent: Figma-Desktop/2.4.1" \
-H "Authorization: Bearer $USER_OAUTH_TOKEN" \
https://mcp.figma.com/mcp
The server sees the approved client name and a valid user token. It has no way to tell the difference. Spoofing the approved string is not even an exploit. It is the absence of a check.
A self-asserted identifier cannot be made trustworthy by convention. If the value is security-relevant, it must be cryptographically bound to something the client cannot choose freely, and verified against a value the server holds. Otherwise the allowlist is a costume.
The uncomfortable corollary: an allowlist that names allowed clients without proving identity gives the operator a false sense of coverage. The excluded client is genuinely locked out. Everyone else is one header away from being that client.
The Figma Case, Specifically
Figma's move splits into two parts that deserve separate judgment.
The capability split is sound. Serving edit tools to a locked-down set of first-party clients, with the broader market on read-only endpoints, matches the risk. It also shrinks blast radius when a bug lands in a client, because the reachable surface is smaller and known.
The client gating is where the argument belongs. Excluding a named competitor from an edit-capable path is a product and partnership decision as much as a security one. If the exclusion is enforced by a spoofable header, it will not hold. If it is enforced by something the excluded party cannot forge, it will hold, and then it is no longer whitelisting. It is authentication. That is the distinction the thread kept circling without naming: Figma may well have a real mechanism, but the announcement describes it as whitelisting, and whitelisting implies a string comparison.
What a Real Enforcement Point Looks Like
A client-identity check that survives scrutiny has four parts.
Bind identity to a credential the client cannot choose. Issue per-client credentials at registration: a client certificate for mutual TLS, or a signed client assertion over the token request. Bind the proof of possession to the connection so a stolen bearer token alone is not enough.
Make the authorization server the source of truth. Register each client as a distinct OAuth client with its own clientid, redirect URIs, and PKCE requirements. Reject token requests that present an unregistered clientid. Token introspection then returns a client_id the resource server can trust, rather than a string the caller asserted.
Scope tokens per client, not per vendor. Bind each issued token to an audience and to a tool set. A token minted for a read-only client should be cryptographically or server-side incapable of invoking a write tool, so a whitelisted-but-wrong client fails closed.
Log the clientid and alert on mismatches. When the token's clientid and the observed behavior diverge, that is the signal worth paging on.
Note what all four share: they answer "who is this" with something unforgeable, not something declared.
What Brian Should Do This Week
- Inventory every MCP server you expose and note how each identifies clients. Grep your gateway configs for
User-Agent,X-Client, and any allowlist logic. Write down which checks are string comparisons and which are cryptographic. This takes an hour and the answer is usually uncomfortable. - Assume every string-based allowlist is decorative. Put a test client in place with a forged header. If it gets through, that finding goes in your risk register today, because the allowlist is what everyone will point to as the control.
- Split capabilities before you argue about identity. If you run an edit-capable server, stand up a separate read-only endpoint and put the writes behind one. This works today, needs no protocol change, and cuts blast radius regardless of how identity gets solved.
- Push tokens toward per-client scoping. If your authorization layer can register separate client_ids, do it now. Scoped tokens fail closed, so an impersonation that clears the header check still cannot reach the write tools.
- Track the standard emerging rather than build your own. Client attestation for MCP is being discussed in the same community arguing about this thread. Watch the spec work before committing to a custom mechanism.
- Tell your team not to trust an allowlist. The likely failure is not an attacker breaking the gate. It is an engineer reasoning that the gate holds, then shipping something that assumed it did.
The lesson is narrow and worth stating plainly. MCP's open-client premise is not broken. It was never extended to carry client identity. Whitelisting is what you get when a server operator needs that identity before the protocol supplies it, and the gap is filled with a string that anyone can rewrite.