{"repo":"njayp/ophis","free":true,"listed":false,"github":"https://github.com/njayp/ophis","clone":"git clone https://github.com/njayp/ophis.git","description":"Transform any Cobra CLI into an MCP server","language":"Go","stars":89,"topics":["cli","cobra","cobra-cli","go","golang","golang-library","mcp","mcp-server","open-source"],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"Transform any Cobra CLI into an MCP server Ophis automatically converts your Cobra commands into MCP tools, and provides CLI commands for integration with Claude Desktop, VSCode, and Cursor. Quick Start Install Add to your CLI Enable in Claude Desktop, VSCode, or Cursor Your CLI commands are now available as MCP tools! Stream over HTTP Expose your MCP server over HTTP for remote access: Commands The ophis.Command(nil) adds these subcommands to your CLI (the default command name is mcp , configurable via Config.CommandName ): Configuration Control which commands and flags are exposed as MCP tools using selectors. By default, all commands and flags are exposed (except hidden/deprecated). Custom Command Name By default the ophis command is named mcp . If your CLI already uses mcp for something else, set CommandName to avoid the collision: The command tree, editor config ( enable / disable ), and internal filters all use the configured name automatically. Default Environment Variables Editors launch MCP server subprocesses with a minimal environment. On macOS this means a PATH of just /usr/bin:/bin:/usr/sbin:/sbin , so tools like helm , kubectl , or docker installed via mise/homebrew/nix won't be found. Use DefaultEnv to capture the current PATH (or any other variables) at enable time: These are merged into the editor config written by enable . User-provided --env values take precedence on conflict. See docs/config.md for detailed configuration options. How It Works Ophis bridges","default_branch":null,"files":null,"tree":[],"storefront":"/r/njayp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/njayp/ophis/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."}