{"repo":"thellimist/clihub","free":true,"listed":false,"github":"https://github.com/thellimist/clihub","clone":"git clone https://github.com/thellimist/clihub.git","description":"Turn any MCP server into CLI","language":"Go","stars":667,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"clihub Turn any MCP server into a compiled CLI binary. One command. Designed for agents. Every tool the server exposes becomes a subcommand with flags derived from its JSON Schema. Auth is handled automatically — OAuth, bearer tokens, API keys, and more. Full blog post Install If clihub is not found after install, run export PATH=\"$(go env GOPATH)/bin:$PATH\" to add Go-installed binaries (usually /go/bin ) to your current shell PATH . Or build from source: If you're contributing, run bash scripts/install-hooks.sh once after cloning. If /.local/bin is not in your PATH , add it in your shell config (for example /.zshrc ): Requires Go 1.24+. AI Usage Add the following to your AGENTS.md Quick Start HTTP MCP server HTTP server with OAuth Stdio MCP server Cross-compile Pass tool input as JSON Generated CLIs include a --from-json flag on each tool command. This lets you pass the full tool input object directly. Rules: - --from-json bypasses typed tool flags. - --from-json cannot be combined with typed flags in the same call. - If a tool already has a --from-json flag from its schema, clihub uses --clihub-from-json for passthrough instead. How It Works 1. Connect to the MCP server (HTTP or stdio) 2. Discover all tools via tools/list 3. Generate a Go CLI with one subcommand per tool 4. Compile to a static binary for your target platform(s) The generated binary is standalone — no runtime dependencies, no config files, no clihub needed. Authentication Generated CLIs handle auth at runtim","default_branch":null,"files":null,"tree":[],"storefront":"/r/thellimist","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thellimist/clihub/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}