Skip to content

Commit 999aa07

Browse files
authored
Update error description for client metadata validation
1 parent f751fd7 commit 999aa07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/auth/handlers/register.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def handle(self, request: Request) -> Response:
7272
return PydanticJSONResponse(
7373
content=RegistrationErrorResponse(
7474
error="invalid_client_metadata",
75-
error_description="grant_types must contain authorization_code and refresh_token",
75+
error_description="grant_types must be authorization_code and refresh_token",
7676
),
7777
status_code=400,
7878
)

0 commit comments

Comments
 (0)