Skip to content

Does not work with MCP Inspector v0.16.2 #33

@ngundotra

Description

@ngundotra

Causes MCP inspector to freak out and throw Zod errors like so:

...
   at ZodUnion.parse
   ....
    at Readable.push (node:internal/streams/readable:392:5) {
  issues: [
    {
      code: 'invalid_union',
      unionErrors: [Array],
      path: [],
      message: 'Invalid input'
    }
  ],
  addIssue: [Function (anonymous)],
  addIssues: [Function (anonymous)],
  errors: [
    {
      code: 'invalid_union',
      unionErrors: [Array],
      path: [],
      message: 'Invalid input'
    }
  ]
}

Seems like a schema is not being enforced somewhere

create a github action that will test it with mcp insepctor https://github.com/modelcontextprotocol/inspector

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions