Skip to content

MCP Servers all use the same server name #14724

Closed
@BillSobel

Description

@BillSobel

Bug Description

McpServer.ts hardcodes the string 'n8n-mcp-server' which is passed to the client. If multiple proxies are running, then OpenWebUI displays a list of tools to enable/disable all called 'n8n-mcp-server'

setUpServer(): Server {
	const server = new Server(
		{
			name: 'n8n-mcp-server',
			version: '0.1.0',
		},
		{
			capabilities: { tools: {} },
		},
	);

To Reproduce

Setup N8N MCP server
Proxy server to openapi with mcpo (ghcr.io/open-webui/mcpo:main)
Connect openwebui to proxy (as it can't connect directly)
Tool name is 'n8n-mcp-server' and the user can not modify it.

Expected behavior

User can configure the name (e.g. 'n8n-mcp-server') per MCP node or if no UI changes, autogenerate the name from the path string. In the end, each string should be unique and allow the user to determine what tool they are using.

This user or generated string should be passed to 'new Server(...)' so the name can be changed.

Operating System

Ubuntu 22

n8n Version

1.88.0

Node.js Version

20.19.0

Database

PostgreSQL

Execution mode

queue

Metadata

Metadata

Assignees

No one assigned

    Labels

    In ReviewWe are reviewing the issuein linearIssue or PR has been created in Linear for internal review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions