Skip to main content

One post tagged with "security"

View All Tags

Your MCP Server Must Refuse That Token

· 15 min read
TheMCPGuy
MCP Developer & Educator

Series cover. A red row shows a client token passed straight through an MCP server to a third-party API across a trust boundary, marked wrong audience. A green row shows the client getting an audience-bound token from an auth server first. The strapline reads: issued for the MCP server, or refuse it.

You are wrapping a third-party API in an MCP server. The client that connects to you already holds an access token for that API, and it sends the token along. Your server has the token, the API wants the token, and there is a perfectly good Authorization header sitting right there.

Forward it. Ship it. Move on.

The MCP specification states it as a hard requirement: MCP servers MUST NOT accept any tokens that were not explicitly issued for the MCP server. It is worth understanding why the bar is set there.