N8n MCP Server Trigger node configure port number

Describe the problem/error/question

n8n offers a MCP Server Trigger node:

it has 2 URLs: test and production. Each URL uses http://localhost:5678.

I’ve tried modifying the URL, but cannot. I have different local implementations of n8n running for different clients (http://localhost:5678, http://localhost:5679, http://localhost:5680, etc).

Is it possible to configure n8n to use a different base URL ports by chance?

Information on your n8n setup

  • n8n version: 1.94.1
  • Running n8n via: Docker
  • Operating system: MacBook Pro
1 Like

Hey @tomschreck

You can find this here Deployment environment variables | n8n Docs

You can set the env vars, please let me know if u have any questions.

Samuel