Skip to content

MCP client does not support multi-parameter MCP server: 'Cannot read properties of undefined (reading "inputType")' #21569

@clcc2019

Description

@clcc2019

Bug Description

When using n8n with the MCP client, it does not support MCP servers with multiple parameters. The following error is thrown: Cannot read properties of undefined (reading 'inputType'). Please investigate and resolve this issue.

To Reproduce

  1. Configure n8n to use the MCP client.
  2. Attempt to connect to an MCP server that requires multiple parameters.
  3. Observe that the following error appears: Cannot read properties of undefined (reading 'inputType').

Expected behavior

The MCP client should support MCP servers with multiple parameters, and the connection should succeed without JavaScript errors.

Debug Info

Cannot read properties of undefined (reading 'inputType')

Operating System

docker

n8n Version

1.117.3

Node.js Version

22

Database

PostgreSQL

Execution mode

queue

Hosting

self hosted

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions