Skip to content

valibot schemas fail during tools/list #313

Description

@onmax

i’m testing nitro-mcp-toolkit from the latest main pkg.pr.new build, and i understand it’s wip.

defineMcpTool({
  inputSchema: v.object({
    query: v.string(),
  }),
  handler: ({ query }) => query,
})

tools/list then fails with:

Schema library "valibot" does not implement StandardJSONSchemaV1 (`~standard.jsonSchema`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().

i expected the documented valibot support to work directly or require toStandardJsonSchema explicitly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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