n8n sends the workflow node's type as clientInfo.name, and has a second MCP client with its own name
Kind: idiosyncrasy · Status: current · Last verified: 2026-11-27 · Clients: n8n · Revisions: 2025-11-25
The workflow MCP nodes share one connect function, connectMcpClientForCredential. It builds the SDK Client with name: node.type and version: node.typeVersion.toString(). What a server sees therefore depends on which node connected:
- MCP Client Tool (the AI Agent toolkit):
@n8n/n8n-nodes-langchain.mcpClientTool, version1,1.1,1.2,1.3or1.4. - MCP Client (standalone node):
@n8n/n8n-nodes-langchain.mcpClient, version1or1.1. - MCP registry nodes:
@n8n/mcp-registry.<slug>, one name per registry server (for example@n8n/mcp-registry.githubin the tests), version1or1.1. - The Microsoft Agent 365 trigger:
Microsoft-Agent-365, version1.
The version is the node's type version, not the n8n release. A telemetry feed that joins on name sees an open set of @n8n/mcp-registry. names. The registry entry lists the fixed names only.
A second MCP client lives in @n8n/agents, the code-first agent runtime. The Agents module builds one per JSON-config server, and Instance AI builds them from N8N_INSTANCE_AI_MCP_SERVERS and the MCP registry. It sends @n8n/agents with version 0.1.0, on the same SDK 1.32.0, also with capabilities: {}. It differs from the node path in three ways: it reads only the first tools/list page, it falls back from Streamable HTTP to SSE on a 404 or 405 when no transport is configured, and it has a stdio path for a config with a command. No n8n surface traced at this commit supplies a command: the Agent JSON schema and the Instance AI variable carry URLs.
The Apify seed list has an entry named n8n-mcp-client with stdio support. That string does not appear in packages/ at this commit, and the n8n nodes have no stdio transport. It may name a community node or an older release. I did not trace which.
Sources
- shared/utils.ts, connectMcpClientForCredential passes node.type and node.typeVersion, commit
fb1aec9c,packages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts:connectMcpClientForCredential, 2026-11-27 - shared/utils.ts, the Client constructor, commit
fb1aec9c,packages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts:connectMcpClient, 2026-11-27 - McpRegistryClientTool, registry nodes saved as @n8n/mcp-registry.
, commit fb1aec9c,packages/@n8n/nodes-langchain/nodes/mcp/McpRegistryClientTool/McpRegistryClientTool.node.ts:McpRegistryClientTool, 2026-11-27 - microsoft-utils.ts, the Agent 365 trigger connects with its own name, commit
fb1aec9c,packages/@n8n/nodes-langchain/nodes/vendors/Microsoft/microsoft-utils.ts:getMicrosoftMcpTools, 2026-11-27 - @n8n/agents McpConnection, commit
fb1aec9c,packages/@n8n/agents/src/runtime/mcp/mcp-connection.ts:McpConnection,McpConnection.listTools, 2026-11-27 - Agents module builds an @n8n/agents McpClient per JSON-config server, commit
fb1aec9c,packages/cli/src/modules/agents/json-config/mcp-client-factory.ts:buildMcpClientForServer, 2026-11-27 - Instance AI reads name=url pairs from N8N_INSTANCE_AI_MCP_SERVERS, commit
fb1aec9c,packages/cli/src/modules/instance-ai/turn-setup/assistant-agent.factory.ts:AssistantAgentFactory, 2026-11-27