Replies: 1 comment
-
Additional Header Issue FoundI'm experiencing a similar but different authentication header issue: My Environment:
My Issue: Evidence: Summary:
The n8n-mcp tool needs to support both header requirements. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue: The n8n MCP tool is using Authorization: Bearer header instead of the required X-N8N-API-KEY header when making API calls to n8n instances.
Expected Behavior:
API calls should use X-N8N-API-KEY: YOUR_API_KEY header
This is the standard header format for n8n API authentication
Actual Behavior:
MCP tool uses Authorization: Bearer YOUR_API_KEY header
Results in authentication errors: {"message":"'X-N8N-API-KEY' header required"}
Environment:
n8n MCP tool version: 2.11.2
n8n instance: n8n.cloud (https://lanzko.app.n8n.cloud/)
MCP configuration: Correct (API key and URL are properly set)
Reproduction Steps:
Configure n8n MCP with valid API key and URL
Try to list workflows: n8n_list_workflows()
Get authentication error despite correct configuration
Same API key works fine with direct curl: curl -H "X-N8N-API-KEY: KEY" "https://instance.com/api/v1/workflows"
Workaround:
Currently using direct curl commands instead of MCP tools for n8n API operations.
Request:
Please update the MCP tool to use the correct X-N8N-API-KEY header format for n8n API authentication.
Beta Was this translation helpful? Give feedback.
All reactions