Skip to content

feat(mcp): add tool annotations and update docs for TS v0.2.27 parity#15

Merged
htcarr3 merged 1 commit intomainfrom
update_spec
Jan 31, 2026
Merged

feat(mcp): add tool annotations and update docs for TS v0.2.27 parity#15
htcarr3 merged 1 commit intomainfrom
update_spec

Conversation

@htcarr3
Copy link
Copy Markdown
Contributor

@htcarr3 htcarr3 commented Jan 31, 2026

What

Add MCP tool annotations support and update documentation to achieve full SDK parity with TypeScript v0.2.27 and Python v0.1.26.

Why

The TypeScript SDK v0.2.27 added tool annotations, leaving the Ruby SDK one feature behind. The README was also missing documentation for several message types and client methods that were already implemented.

How

  • Added annotations parameter to MCP::Tool and MCP.tool convenience method
  • Updated SPEC.md reference versions (TS v0.2.25→v0.2.27, Python v0.1.25→v0.1.26)
  • Added README sections for: UserMessageReplay, HookStartedMessage, HookProgressMessage, ToolUseSummaryMessage, FilesPersistedEvent, tool annotations, mcp_reconnect/mcp_toggle
  • Removed duplicated content from CLAUDE.md, linking to README instead
  • Added unit, integration, and RBS type signature coverage

…ith TS v0.2.27

Add MCP tool annotations support (readOnlyHint, destructiveHint,
idempotentHint, openWorldHint, title) on MCP::Tool and MCP.tool
convenience method. Update SPEC.md for TS v0.2.27 and Python v0.1.26.
Add README documentation for missing message types (UserMessageReplay,
HookStartedMessage, HookProgressMessage, ToolUseSummaryMessage,
FilesPersistedEvent), mcp_reconnect/mcp_toggle client methods, and
tool annotations. Remove duplicated content from CLAUDE.md.
@htcarr3 htcarr3 merged commit 95b3bef into main Jan 31, 2026
1 check passed
@htcarr3 htcarr3 deleted the update_spec branch January 31, 2026 18:40
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