Back to Home
thepwagner icon

urfave-cli-mcp

Verified Safe

by thepwagner

Overview

Reuses existing urfave/cli applications as Model Context Protocol (MCP) servers, allowing them to be invoked as tools by MCP clients.

Installation

Run Command
go run ./cmd/example mcp

Security 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

Stats

Interest Score30
Security Score9
Cost ClassLow
Avg Tokens10
Stars1
Forks0
Last Update2026-01-18

Tags

GoCLIMCPServerTooling