eirikb/any-cli-mcp-server
by Various
Convert any (whatever) CLI to proper MCP server with tools mapped based on CLI help
MCP
eirikb/any-cli-mcp-server
Added 1 June 2026
Overview
This tool converts any command-line interface into a Model Context Protocol (MCP) server. It parses the CLI's help output to automatically map each available command as an MCP tool. The result is a server that exposes those commands to any MCP-compatible client, such as an AI assistant.
Best for
Best for
Developers who need a quick way to expose legacy or custom CLIs as MCP tools without writing a dedicated server.
Use cases
- Wrap an existing CLI tool as an MCP server for AI agents
- Quickly prototype MCP integrations without writing custom server code
- Expose multiple CLI utilities through a single MCP endpoint
Notes
This tool converts any command-line interface into a Model Context Protocol (MCP) server. It parses the CLI’s help output to automatically map each available command as an MCP tool. The result is a server that exposes those commands to any MCP-compatible client, such as an AI assistant.
18 stars on GitHub. Last updated 2025-09-04. Licensed MIT.
Use cases
- Wrap an existing CLI tool as an MCP server for AI agents
- Quickly prototype MCP integrations without writing custom server code
- Expose multiple CLI utilities through a single MCP endpoint
Pros
- Works with virtually any CLI that produces structured help output
- No manual tool mapping required, reduces setup effort
- Written in TypeScript, easy to extend or debug
Cons
- Relies entirely on the quality and consistency of the CLI’s help text
- May fail to capture complex argument relationships or subcommand dependencies
- Low project maturity (18 stars) and limited community adoption
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Works with virtually any CLI that produces structured help output
- No manual tool mapping required, reduces setup effort
- Written in TypeScript, easy to extend or debug
Cons
- Relies entirely on the quality and consistency of the CLI's help text
- May fail to capture complex argument relationships or subcommand dependencies
- Low project maturity (18 stars) and limited community adoption
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Cursor
Anysphere
The AI-first code editor. Tab to autocomplete, Composer to multi-file refactor, Agents for the long-running stuff.