Skip to content

Squash MCP tools into one CLI-style tool per entity - #49

Open
DenysKuchma wants to merge 1 commit into
mainfrom
refactor/squash-tools
Open

DenysKuchma wants to merge 1 commit into
mainfrom
refactor/squash-tools

Conversation

@DenysKuchma

Copy link
Copy Markdown
Contributor

Summary

#48

94 per-operation tools replaced with 17 CLI-style tools — one per entity.

Operations are passed as the required command argument:
{ "name": "tests", "arguments": { "command": "list", "tql": "priority == 'high'" } }

  • Migration: <entity>_<op> → <entity> + "command": "<op>" (incl. tests_share → tests/share, tests_issues_link → tests/issues_link)
  • New functionality = new command, the tool list doesn't grow
  • Registry/API-client logic unchanged; dispatch is <entity>_<command> → existing op handler
  • Profiles: core drops rare entity tools, read restricts the command enum to read-only
  • Also fixes found by live testing on beta: attachment upload multipart field (file → files) and unregistered tags_search

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