urfave-cli-mcp
@thepwagner
关于 urfave-cli-mcp
Expose
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is urfave-cli-mcp?
urfave-cli-mcp is a Go package that reuses a urfave/cli application as a Model Context Protocol (MCP) server. It crawls the application's Command tree and exposes subcommands as MCP tools, supporting descriptions, flags, default values, and required flags. It is intended for developers who want to turn query-only CLIs into MCP servers with minimal code, or to prototype MCP tools as a CLI before exposing them to an MCP client.
How to use urfave-cli-mcp?
Add the urfaveclimcp.NewMCPCommand(App) command to your application's Commands slice, as shown in the example. The package will then handle the MCP protocol, exposing subcommands as tools that are invoked by forking the current process and returning stdout as the result.
Key features of urfave-cli-mcp
- Crawls the entire urfave/cli
Commandtree. - Exposes subcommands as MCP tools automatically.
- Supports flag descriptions, default values, and required flags.
- Invokes tools by forking the current process.
- Returns stdout as the tool result.
- Enables one‑line reuse of query‑only CLIs as MCP servers.
Use cases of urfave-cli-mcp
- Reuse an existing query‑only CLI as an MCP server by adding a single command.
- Prototype new MCP tools as a CLI application, then switch to MCP mode without rewriting.
- Allow MCP clients to interact with command‑line tools that have complex flag configurations.
FAQ from urfave-cli-mcp
How do I integrate urfave-cli-mcp into my Go app?
Add the MCP command to your app's Commands slice: App.Commands = append(App.Commands, urfaveclimcp.NewMCPCommand(App)). The example in the README shows the full setup.
Can I use ur
开发工具 分类下的更多 MCP 服务器
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
评论