-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Description
Client Information
- LLM Client: Anthropic Claude Code
- Client Config: Standard configuration in the
.claude.jsonproject file. - Using MCP Remote?: No (the server is run locally via stdio)
- MCP Server: @cloudflare/mcp-server-cloudflare
- Prompt: N/A (the error occurs on application startup during tool registration)
Describe the bug
When using the @cloudflare/mcp-server-cloudflare with Anthropic's Claude Code, the server fails to load correctly due to an API validation error from the Anthropic backend.
The error log indicates that the input_schema for one of the tools uses an unsupported structure (oneOf, allOf, or anyOf) at the top level, which causes the API to reject the tool definition.
Error Log:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.78.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level"},"request_id":"req_011CSmBV2omZKeFAsJytXZWK"}Metadata
Metadata
Assignees
Labels
No labels