Skip to content

feat(mcp-cli): add a gittensory-mcp tools command that lists every stdio tool + description #2233

Description

@JSONbored

There is no CLI affordance to enumerate the MCP tools the local stdio server exposes; a user must start --stdio and speak MCP. The stdio server registers all tools in one place (packages/gittensory-mcp/bin/gittensory-mcp.js, server.registerTool calls from line 328) but the descriptors aren't reusable for a list command. Add a tools command (and --json) that prints name + one-line description for each registered tool.

Deliverables

  • Refactor the stdio tool descriptors into a small array/record so both registration and the new command read one source of truth (keep behavior identical)
  • Add a tools top-level command that prints name + description; support --json
  • Add tools to CLI_COMMAND_SPEC for shell-completion and to printHelp()
  • CLI test asserting the count matches the number of registered tools and each has a non-empty description

References

  • packages/gittensory-mcp/bin/gittensory-mcp.js:328
  • packages/gittensory-mcp/bin/gittensory-mcp.js:26
  • packages/gittensory-mcp/bin/gittensory-mcp.js:1389

size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.visualUI/web visual work — owner-led, NOT for Gittensor contributors (extensions excepted)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions