lib-agent-mcp

shhac/lib-agent-mcp
★ 0 stars Go Code/Dev Tools Updated today
Expose any spf13/cobra CLI as an MCP server with no hand-maintained schemas — tools reflected from the command tree, NDJSON output translation.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "lib-agent-mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/shhac/lib-agent-mcp@latest"
      ]
    }
  }
}

README Excerpt

Expose any [`spf13/cobra`](https://github.com/spf13/cobra) CLI as a **no hand-maintained schemas**. A cobra command tree already knows its subcommands, flag types, required-ness, help text, and completions. That is almost a complete MCP tool schema sitting unused. `lib-agent-mcp` reflects over the tree to generate the tools, and runs

Tools (1)

readOnlyHint