Skip to content

fix(mcp): omit incompatible output schemas - #63

Merged
iannuttall merged 1 commit into
mainfrom
feature/audit-and-fix-issue-56
Aug 18, 2026
Merged

fix(mcp): omit incompatible output schemas#63
iannuttall merged 1 commit into
mainfrom
feature/audit-and-fix-issue-56

Conversation

@iannuttall

Copy link
Copy Markdown
Owner

Summary

This removes optional open output schemas from all six MCP tools because the SDK converts them to draft-07, which Claude Code rejects before tool execution.

Structured content and input validation stay unchanged, so agents can register and call report and provider tools.

A regression assertion prevents the incompatible output schemas from returning.

Validation passed: build, typecheck, test, lint, package dry run, and a built MCP smoke test.

Fixes #56

Keep structured tool results while avoiding the SDK's hard-coded draft-07 output schema declaration. Claude Code can now register all report and provider discovery tools.

Fixes #56
@iannuttall
iannuttall marked this pull request as ready for review August 18, 2026 11:55
@iannuttall
iannuttall merged commit 724f6a3 into main Aug 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tools unusable in Claude Code — outputSchema declares JSON Schema draft-07

1 participant