Copilot coding agent failing to start n8n MCP server #187200
Unanswered
simonknittel
asked this question in
Copilot Conversations
Replies: 0 comments
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.
-
Select Topic Area
Question
Copilot Feature Area
Copilot Coding Agent
Body
I'm trying to set up the n8n MCP server (https://github.com/czlonkowski/n8n-mcp) for the Copilot coding agent. I've already got it successfully working locally in VSCode with Copilot, but I'm having issues with the Copilot coding agent on GitHub.
I've added this MCP configuration to the Copilot coding agent in my repository:
{ "mcpServers": { "n8n-mcp": { "type": "local", "command": "npx", "args": [ "-y", "n8n-mcp" ], "env": { "MCP_MODE": "stdio", "LOG_LEVEL": "error", "DISABLE_CONSOLE_OUTPUT": "true", "N8N_API_URL": "https://<my self-hosted n8n instance>", "N8N_API_KEY": "COPILOT_MCP_N8N_API_KEY" }, "tools": ["*"] } } }I've also added the n8n API key as environment secret (
COPILOT_MCP_N8N_API_KEY) in thecopilotenvironment in that repository.I've also added the n8n API URL to the Custom allowlist of the Copilot coding agent firewall in that repository.
Now, when I prompt the Copilot coding agent I'm getting the following error when it tries to start the MCP servers:
Looking at the verbose/detailed logs shows this:
I already tried disabling the Copilot coding agent firewall fully. This didn't change anything.
Any idea what is missing or wrong?
Beta Was this translation helpful? Give feedback.
All reactions