@@ -125,16 +125,7 @@ sequenceDiagram
125
125
Note over C,M: MCP communication continues with valid token
126
126
```
127
127
128
- ### 2.4 MCP specific headers for discovery
129
-
130
- MCP clients ** SHOULD** include the ` MCP-Protocol-Version: <protocol-version> ` HTTP header during
131
- any request to the MCP server allowing the MCP server to respond based on the MCP protocol version.
132
-
133
- MCP servers ** SHOULD** use the ` MCP-Protocol-Version ` header to determine compatibility with the MCP client.
134
-
135
- For example: ` MCP-Protocol-Version: 2024-11-05 `
136
-
137
- ### 2.5 Dynamic Client Registration
128
+ ### 2.4 Dynamic Client Registration
138
129
139
130
MCP clients and authorization servers ** SHOULD** support the
140
131
OAuth 2.0 Dynamic Client Registration Protocol [ RFC7591] ( https://datatracker.ietf.org/doc/html/rfc7591 )
@@ -157,7 +148,7 @@ these authorization servers, MCP clients will have to either:
157
148
OAuth client themselves (e.g., through a configuration interface hosted by the
158
149
server).
159
150
160
- ### 2.6 Authorization Flow Steps
151
+ ### 2.5 Authorization Flow Steps
161
152
162
153
The complete Authorization flow proceeds as follows:
163
154
@@ -198,9 +189,9 @@ sequenceDiagram
198
189
Note over C,M: MCP communication continues with valid token
199
190
```
200
191
201
- ### 2.7 Access Token Usage
192
+ ### 2.6 Access Token Usage
202
193
203
- #### 2.7 .1 Token Requirements
194
+ #### 2.6 .1 Token Requirements
204
195
205
196
Access token handling when making requests to MCP servers ** MUST** conform to the requirements defined in
206
197
[ OAuth 2.1 Section 5 "Resource Requests"] ( https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-12#section-5 ) .
@@ -226,7 +217,7 @@ Host: mcp.example.com
226
217
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
227
218
```
228
219
229
- #### 2.7 .2 Token Handling
220
+ #### 2.6 .2 Token Handling
230
221
231
222
MCP servers, acting in their role as an OAuth 2.1 resource server, ** MUST** validate access tokens as described in
232
223
[ OAuth 2.1 Section 5.2] ( https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-12#section-5.2 ) .
@@ -242,7 +233,7 @@ own resources.
242
233
243
234
MCP servers ** MUST NOT** accept or transit any other tokens.
244
235
245
- ### 2.8 Error Handling
236
+ ### 2.7 Error Handling
246
237
247
238
Servers ** MUST** return appropriate HTTP status codes for authorization errors:
248
239
0 commit comments