Skip to content

Commit 53399ff

Browse files
committed
authorization: Fix endpoint path
The path for the endpoint shown in the example is slightly confusing as it is a traditional REST endpoint. Usually MCP servers are free to define _one_ MCP endpoint. Commonly `/`, `/sse`, `/messages` or `/mcp` are used. In this ase we choose `/mcp` to stay away from any indication if we are using SSE or not.
1 parent db809ae commit 53399ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/specification/draft/basic/authorization.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ even if they are part of the same logical session.
214214
Example request:
215215

216216
```http
217-
GET /v1/contexts HTTP/1.1
217+
GET /mcp HTTP/1.1
218218
Host: mcp.example.com
219219
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
220220
```

0 commit comments

Comments
 (0)