What happened?
After successfully logging in through the OAuth popup, Claude.ai fails to connect to the MCP server. The error shown is "Your account was authorized but the integration rejected the credentials."
What did you expect to happen?
After logging in, Claude.ai should connect to my MCP server and the tools should be available.
Steps to reproduce
Go to Claude.ai Settings → Integrations → Add custom connector
Enter a remote MCP server URL
Click Add — a login page appears
Enter username and password and click Sign In
Page redirects back to Claude.ai
Error appears: "There was an error connecting to the MCP server... McpAuthorizationError: Your account was authorized but the integration rejected the credentials"
Additional info:
Server logs confirm the OAuth token is successfully issued after login, but Claude's backend (python-httpx) then makes a follow-up request to the MCP server with no Authorization: Bearer header — so the server correctly rejects it with a 401. The token is never used. This appears to be a known issue also reported at github.com/modelcontextprotocol/modelcontextprotocol/issues/2157.
Area
MCP Connector (adding/managing servers)
MCP Server (if applicable)
No response
Error messages or logs
Additional context
No response
What happened?
After successfully logging in through the OAuth popup, Claude.ai fails to connect to the MCP server. The error shown is "Your account was authorized but the integration rejected the credentials."
What did you expect to happen?
After logging in, Claude.ai should connect to my MCP server and the tools should be available.
Steps to reproduce
Go to Claude.ai Settings → Integrations → Add custom connector
Enter a remote MCP server URL
Click Add — a login page appears
Enter username and password and click Sign In
Page redirects back to Claude.ai
Error appears: "There was an error connecting to the MCP server... McpAuthorizationError: Your account was authorized but the integration rejected the credentials"
Additional info:
Server logs confirm the OAuth token is successfully issued after login, but Claude's backend (python-httpx) then makes a follow-up request to the MCP server with no Authorization: Bearer header — so the server correctly rejects it with a 401. The token is never used. This appears to be a known issue also reported at github.com/modelcontextprotocol/modelcontextprotocol/issues/2157.
Area
MCP Connector (adding/managing servers)
MCP Server (if applicable)
No response
Error messages or logs
Additional context
No response