Commit 9d7a3e0
committed
refactor(cli): auto-generate commands from registered server tools
Replace manually defined CLI commands with automatic generation from
the MCP server's registered tools. Commands are now dynamically created
at import time by introspecting the server's tool manager.
This ensures CLI commands always stay in sync with server tools and
reduces code duplication. JSON parameters (list/dict types) are auto-
detected and parsed from string input.1 parent 24ce4e6 commit 9d7a3e0
2 files changed
Lines changed: 184 additions & 429 deletions
0 commit comments