Skip to content

fix(cli): remove MCP schema format annotations - #70

Merged
birdmanmandbir merged 4 commits into
mainfrom
fix/mcp-numeric-schema-formats
Aug 13, 2026
Merged

fix(cli): remove MCP schema format annotations#70
birdmanmandbir merged 4 commits into
mainfrom
fix/mcp-numeric-schema-formats

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove all generated format annotations from advertised MCP input and output schemas
  • enforce the format-free schema contract across every tool
  • clarify in AGENTS.md that DTO-derived schema precision covers the serialized JSON contract, while format remains intentionally absent because client support is nonportable and has no useful UI contract

Verification

  • cargo test -p flicknote-cli main_tests::mcp::mcp_tool_output_schemas_are_strict_client_compatible -- --exact
  • cargo test -p flicknote-cli mcp::server::tests::mcp_service_is_send_and_sync -- --exact
  • live MCP tools/list audit: 27 tools, no format fields
  • cargo fmt --all --check

@birdmanmandbir
birdmanmandbir merged commit ea9529f into main Aug 13, 2026
9 checks passed
@orga-agent
orga-agent Bot deleted the fix/mcp-numeric-schema-formats branch August 13, 2026 03:34
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.

1 participant