Grokking the Model Context Protocol (MCP)
Vote

0% completed

​

Calling Other APIs: Token Passthrough and the Confused Deputy

A plausible belief about remote servers is this: "The server can forward the token it received." The reasoning seems sound. The Costbook MCP server holds a valid token for user usr_5310, and to create an expense it must call the Costbook API as that user. One company runs both services, so the server copies the Authorization header into its own request.

The specification forbids exactly this. It says that an MCP server "MUST NOT pass through the token it received from the MCP client"

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content