MCP Community node not working on Railway in "active" mode

Hi!

I get a weird behavior on Railway.com.

I’ve set up a Notion MCP. It works fine when I run it using “Test Workflow”.
But as soon as I switch to “Active” mode, I get Unrecognized node type: n8n-nodes-mcp.mcpClientTool

So it behaves as if I didn’t set the N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE="true" variable… But I did.

What is the error message (if any)?

Please share your workflow

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Railway.com
  • Operating system:
2 Likes

Same issue here and in Railway, as well.

I have a similiar problem

Hi,

Shouldn’t it be N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true instead of N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=“true” (which would be a string instead of a boolean. Also i might think of something like worker / versus UI execution differences?

I’ve these configurations on Railway
N8N_ENABLE_COMMUNITY_NODES=true
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true

but same problem

I have the same issue, did you manage to solve it?

Same issue

I set N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true in Docker env.
it’s work, n8n version: 1.84.0

did you figure it out?

edit: ok I see. You not only have to add to settings → shared variables but also have to click the share button on the same row and select which “boxes” to share with then finally, re-deploy.

still getting this error no matter what I try but this works perfectly on local install but not cloud installs like railway so i’ll stick to local

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.