part 4MCP authorization, revision by revision·lesson 4.4 of 9·1 min read
MCP 2024-11-05: no auth standard
The first MCP revision, 2024-11-05, ran over the HTTP+SSE transport and had no authorization standard at all: every server did its own thing. This lesson covers exactly what that revision said about authentication and authorization, the mechanisms servers used, and the three consequences of having no standard.
In this lesson
Know exactly what the 2024-11-05 spec said about authorization.
List the three consequences of having no standard.
What the spec says
Any HTTP mechanism goes
With no standard, any of the classic HTTP mechanisms from lesson 1.3 is equally valid:
Option
How the credential travels
Static Bearer token
Authorization: Bearer <token>
API key
A custom header, e.g. X-API-Key
Basic auth
Authorization: Basic <base64 of user:password>
Session cookie
Cookie
mTLS
Client certificate on the TLS connection
Consequences
The client cannot discover how to authenticate: it has to be configured by hand in every client.
A generic MCP client only works if it happens to support the mechanism chosen.
The spec does not define what to respond when the credential fails (not even a 401 with hints).
On top of that, with HTTP+SSE both endpoints had to be protected: the GET that opens the stream and the POST for messages (see lesson 4.2). This is the scenario that motivates every later revision: giving clients a standard, discoverable way to authenticate.
Summary
Authorization is outside the protocol; each server chooses.
No discovery, no defined error response, manual configuration.
With HTTP+SSE, two endpoints to protect.
quiz · 3 questions
1. In 2024-11-05, one server responds 403 with no body when the API key is invalid, and another responds 401 with an HTML page. Which one complies with the spec?
This is precisely one of the gaps of this revision: it did not define what to answer when a credential fails.
2. Why does a generic MCP client struggle with 2024-11-05 servers that require authentication?
Without a standard there is no discovery, so each client has to be configured by hand for each server's mechanism.
3. Which transport did MCP 2024-11-05 use over HTTP?
2024-11-05 used HTTP+SSE, with a GET stream and a separate POST endpoint, both of which needed protecting.