Transform any Cobra CLI into an MCP server

cli cobra cobra-cli go golang golang-library mcp mcp-server open-source
3 Open Issues Need Help Last updated: Sep 17, 2025

Open Issues Need Help

View All on GitHub
enhancement good first issue

Transform any Cobra CLI into an MCP server

Go
#cli#cobra#cobra-cli#go#golang#golang-library#mcp#mcp-server#open-source
help wanted

Transform any Cobra CLI into an MCP server

Go
#cli#cobra#cobra-cli#go#golang#golang-library#mcp#mcp-server#open-source

AI Summary: The issue proposes enhancing the `Generator` to support per-command handler configuration, moving away from a single global handler. This allows users to assign specialized handlers (e.g., for image manipulation) to specific command paths, eliminating the need for complex internal switching logic within a single handler. The solution involves adding a configurable handler map to the `Generator`.

Complexity: 2/5
help wanted question

Transform any Cobra CLI into an MCP server

Go
#cli#cobra#cobra-cli#go#golang#golang-library#mcp#mcp-server#open-source