proxy.golang.org : github.com/njayp/ophis
Package ophis transforms Cobra CLI applications into MCP (Model Context Protocol) servers, enabling AI assistants to interact with command-line tools. Ophis automatically converts existing Cobra commands into MCP tools, handling protocol complexity, command execution, and tool registration. Add MCP server functionality to your existing Cobra CLI application: This adds the following subcommands to your CLI: You can customize the MCP server behavior using the Config struct: Enable MCP support in Claude Desktop or VSCode:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/njayp/ophis
Keywords:
cli
, cobra
, cobra-cli
, go
, golang
, golang-library
, mcp
, mcp-server
, open-source
License: Apache-2.0
Latest release: 3 days ago
First release: 4 months ago
Namespace: github.com/njayp
Stars: 38 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/njayp
Last synced: 3 days ago