You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcp(feat[tools,resources]): Add complete MCP annotations and titles
why: The MCP spec (2025-06-18) defines 4 tool annotation hints with
defaults that can be misleading — `destructiveHint` defaults to `true`
and `openWorldHint` defaults to `true`. Tools that only set
`readOnlyHint: true` inherited the contradictory `destructiveHint: true`
default. Since all tools interact with local tmux (not external APIs),
`openWorldHint` should be `false` across the board.
Additionally, the MCP spec supports `title` on tools and resources for
human-readable display in MCP clients, but none were set.
what:
- Set all 4 annotations explicitly on all 25 tools (readOnlyHint,
destructiveHint, idempotentHint, openWorldHint)
- Add human-readable `title` to all 25 tools and 6 resources
- Set `openWorldHint: false` everywhere (local tmux, not external APIs)
- Set `idempotentHint: true` on rename/set/resize/select/kill tools
- Update MockMCP in test_resources.py to accept **kwargs
0 commit comments