
any-cli-mcp-server
Wraps any command-line tool as an MCP server by reading its --help output
any-cli-mcp-server is an open-source MCP server for developer tools. It is available on CLI and Self-hosted.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- GitHub stars
- 26
- Last commit
- Language
- TypeScript
- License
- MIT
Similar MCP servers
About any-cli-mcp-server
Point it at a command-line program such as gh, az or git and it generates a set of MCP tools by parsing that program's help text. AI clients can then call the CLI through the standard Model Context Protocol instead of shelling out directly.
Because the tools are derived from --help output at runtime, no per-CLI integration code has to be written. A cache file can be built ahead of time so the server starts faster on later runs, which the project recommends for regular use.
The package is aimed at developers who already rely on a CLI and want an AI assistant to operate it inside an MCP-compatible client. Setup is a short JSON entry in the client's MCP configuration.
What it does
- Help-driven tool generation
- Builds MCP tools automatically by reading each command's --help output.
- Works with any CLI
- Any program that prints help text can be exposed, including gh, az and git.
- Prebuilt command cache
- Caches generated tool definitions to a JSON file for faster startup.
- Simple client configuration
- Runs through npx with a short mcpServers entry in the client config.
- Multiple servers at once
- Several CLIs can be registered as separate MCP servers in one configuration.
Good for
- Letting an AI assistant run GitHub CLI operations for a repository
- Driving Azure CLI commands from an MCP-enabled chat client
- Giving an assistant controlled access to git history and actions
- Reducing startup time for a CLI-backed MCP server with a cache file
Pricing
Open source
Free and open source under MIT.
any-cli-mcp-server FAQ
How are the MCP tools created?
They are built by parsing the --help output of the target command-line tool.
How do I make the server start faster?
Run the cache build command once for the CLI, then point the server at the generated JSON cache file.
Which license does any-cli-mcp-server use?
It is released under the MIT license.
Is any-cli-mcp-server free?
Yes. any-cli-mcp-server is open source, so you can use and self-host it for free.
What are the best alternatives to any-cli-mcp-server?
The closest alternatives to any-cli-mcp-server are cli2mcp, mcp-server-commands, mcp-server-toolkit, Ncp and agent.
Where this comes from
- Description: written from the project's README.


