Skip to content

Commit ed6dad2

Browse files
committed
add scopes to oauth metadata
1 parent 2c85c66 commit ed6dad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/auth/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def build_metadata(
177177
issuer=issuer_url,
178178
authorization_endpoint=authorization_url,
179179
token_endpoint=token_url,
180-
scopes_supported=None,
180+
scopes_supported=client_registration_options.valid_scopes,
181181
response_types_supported=["code"],
182182
response_modes_supported=None,
183183
grant_types_supported=["authorization_code", "refresh_token"],

0 commit comments

Comments
 (0)