Skip to content

MCP is incompatible with Claude #2756

@msarlitt

Description

@msarlitt

The MCP doc fails to mention it is incompatible with Claude/Claude Code.

This is because the Claude API doesn't support oneOf, allOf, or anyOf at the top level of a tool's input_schema. It requires input_schema to have type: "object" at the top level — combiners like oneOf/allOf/anyOf are only supported nested inside the schema, not as the root.

Aside from the docs update, is there any expected timeline for updating the input_schema to be compatible with Claude?

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