What happened?
After completing the OAuth flow, Claude.ai returns:
"Authorization with the MCP server failed. You can check your credentials and permissions."
Reference code: ofid_413d9cbff0b8d515
OAuth completes successfully on n8n's side — the Connected clients tab shows "Claude" as authorized. But Claude.ai never completes the post-auth MCP handshake.
What did you expect to happen?
Connector shows as Connected in Claude.ai and n8n MCP tools become available in conversations.
Steps to reproduce
- Self-hosted n8n v2.18.5 on a VPS behind Nginx
- Enable Instance-level MCP in n8n Settings
- Mark at least one workflow as Available in MCP
- Go to Claude.ai → Settings → Connectors → Add custom connector
- Enter URL: https://n8n.e-global-trading.com/mcp-server/http
- Click Connect → OAuth flow starts → redirected to n8n → authorize → redirected back to Claude.ai
- Claude.ai shows: "Authorization with the MCP server failed"
- n8n Connected clients tab shows Claude as successfully connected
Area
MCP Connector (adding/managing servers)
MCP Server (if applicable)
https://n8n.e-global-trading.com/mcp-server/http
Error messages or logs
Claude.ai error: "Authorization with the MCP server failed. You can check your credentials and permissions."
Reference: ofid_413d9cbff0b8d515
curl test result (confirms server works correctly):
POST https://n8n.e-global-trading.com/mcp-server/http
Headers: Authorization: Bearer <mcp_token>, Accept: application/json, text/event-stream
Response: HTTP 200 — valid MCP initialize response received ✅
Additional context
What happened?
After completing the OAuth flow, Claude.ai returns:
"Authorization with the MCP server failed. You can check your credentials and permissions."
Reference code: ofid_413d9cbff0b8d515
OAuth completes successfully on n8n's side — the Connected clients tab shows "Claude" as authorized. But Claude.ai never completes the post-auth MCP handshake.
What did you expect to happen?
Connector shows as Connected in Claude.ai and n8n MCP tools become available in conversations.
Steps to reproduce
Area
MCP Connector (adding/managing servers)
MCP Server (if applicable)
https://n8n.e-global-trading.com/mcp-server/http
Error messages or logs
Additional context