Hey, I have an issue with connecting the instance mcp server to claude code. Claude only accepts OAuth, but n8n only provides an Access Token, so I always get an error message.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
This is a limitation/compatibility issue between the authentication model expected by Claude Code for remote MCP and the type of authentication currently provided by the n8n MCP server.
You could put an OAuth-supporting proxy in front of the n8n MCP endpoint. Claude Code would authenticate to the proxy using OAuth, and the proxy would forward MCP requests to n8n using the n8n Bearer token. Without this type of proxy, this may not work directly unless Claude Code supports custom Authorization headers/Bearer tokens for remote MCP servers.
Firstly i wanna make sure you have the claude desktop app and also have a paid plan which gives you access to claude code.
And then you can navigate to claudecode</> → customize → browse connectors → Then search for n8n there an official connector would come up and then you just have to enter the name of your choice and then navigate to n8n activate the instance level MCP then collect the MCP server URL and paste it below the enter name field.
And then you just have to click add and it will be connected, once it is then just configure some permissions and in your n8n instance enable the workflows you wanna integrate with claude code with MCP.
If you face any problems with this let me know, I hope this helps.
Authorization with the MCP server failed. You can check your credentials and permissions. If this persists, share this reference with support: “ofid_c88d502ebb7de64c”
@tmwieczorek I am not sure why this is getting flagged, but I developed a workaround to this exact problem that is really useful. If you want to skip the OAuth issue entirely, I built a Python MCP server that connects Claude to n8n over stdio instead. No OAuth negotiation, no proxy needed; just your n8n API key. Might be worth a try: https://github.com/DerJams/n8n-mcp-server-python