Skip to content

mcp: expose appearance, status_bar, clipboard, logs, and type.keys in tools/list - #34

Merged
Developing-Gamer merged 1 commit into
Developing-Gamer:mainfrom
chiroro-jr:fix/mcp-tool-schemas
Nov 25, 2026
Merged

Developing-Gamer merged 1 commit into
Developing-Gamer:mainfrom
chiroro-jr:fix/mcp-tool-schemas

Conversation

@chiroro-jr

Copy link
Copy Markdown
Contributor

Summary

mcp::call() already handles "appearance", "status_bar", "clipboard", "logs", and the "keys" boolean option on "type", but none of those were declared in mcp::tools(). As a result, MCP clients (tools/list) could not discover those 4 tools or type.keys.

Changes

  • Added JSON schemas for appearance, status_bar, clipboard, and logs to mcp::tools().
  • Added the optional keys boolean property to type in mcp::tools().
  • Expanded mcp::tests::every_tool_has_a_schema to cover all 26 tools and type.keys.

Verification

  • cargo test and cargo clippy --all-targets -- -D warnings pass.
  • Verified live via JSON-RPC tools/list (26 tools returned) and tools/call against status_bar, clipboard, and appearance.

@Developing-Gamer
Developing-Gamer merged commit 2b52956 into Developing-Gamer:main Nov 25, 2026
2 checks passed
@Developing-Gamer

Copy link
Copy Markdown
Owner

Merged. Verified over JSON-RPC tools/list: 26 tools, and type has keys. Thanks!

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.

2 participants