urfave-cli-mcp
Verified Safeby thepwagner
Overview
Reuses existing urfave/cli applications as Model Context Protocol (MCP) servers, allowing them to be invoked as tools by MCP clients.
Installation
go run ./cmd/example mcpSecurity Notes
The server executes `os.Args[0]` (the current executable) with arguments derived from MCP tool calls. This design mitigates direct command injection as it avoids shell execution. The primary risk would be vulnerabilities present in the wrapped `urfave/cli` application itself. The library includes a safeguard against invoking the 'mcp' command recursively.
Similar Servers
Unla
Transforms existing MCP Servers and APIs into MCP protocol-compliant endpoints through configuration, enabling LLM tool calling without code changes.
orla
Orla acts as a runtime for Model Context Protocol (MCP) servers, enabling the execution of lightweight open-source AI agents and command-line tools locally.
mcp-server-dump
A command-line tool to extract, analyze, and document the capabilities (tools, resources, prompts) of MCP (Model Context Protocol) servers in various formats, including Markdown, JSON, HTML, PDF, and Hugo sites.
toolhive-registry-server
The central metadata hub for enterprise Model Context Protocol (MCP) server governance and discovery, implementing the official MCP Registry API specification.