
urfave-cli-mcp
by thepwagner
Expose any urfave/cli Go application as a Model Context Protocol server effortlessly.
What it does
This tool provides a bridge between Go applications built with the urfave/cli library and the Model Context Protocol. It allows developers to instantly expose their existing CLI command trees as MCP tools, enabling AI agents to execute CLI subcommands with full support for descriptions, flags, and required arguments.
Tools
Dynamic Tool Generation: The server automatically crawls the urfave/cli Command tree and creates an MCP tool for every subcommand found in the application.
Installation
To use this in your Go project, import github.com/thepwagner/urfave-cli-mcp and add the MCP command to your application:
App.Commands = append(App.Commands, urfaveclimcp.NewMCPCommand(App))
For Claude Desktop, you would compile your Go binary and add it to your config:
{
"mcpServers": {
"urfave-cli-mcp": {
"command": "/path/to/your/compiled-binary",
"args": []
}
}
}
Supported hosts
- claude
Quick install
go get github.com/thepwagner/urfave-cli-mcpInformation
- Pricing
- free
- Published
- 6/1/2026
- stars






