Any CLI MCP Server

Community AI and agents

Turn any CLI tool with --help output into an MCP server, with caching.

Install

The installation steps are in the documentation below. Documentation

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. any-cli-mcp-server
  2. Quick Start
  3. Setup
  4. Faster Startup (Optional, but very recommended)

any-cli-mcp-server

Turn any CLI tool into an MCP server.

Uses the --help to build MCP tools.

Works with any CLI tool that has --help output.

Quick Start

# Use with GitHub CLI
npx any-cli-mcp-server gh

# Use with Azure CLI
npx any-cli-mcp-server az

# Use with Git
npx any-cli-mcp-server git

Setup

{
  "mcpServers": {
    "github-cli": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "gh"]
    },
    "azure-cli": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "az"]
    },
    "git-from-cache": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "git_cache.json"]
    }
  }
}

Build a cache first for better performance:

# Build cache
npx any-cli-mcp-server --cache-build gh

# Use cache
npx any-cli-mcp-server gh_cache.json

Frequently asked questions

What is Any CLI MCP Server?

Turn any CLI tool with --help output into an MCP server, with caching.

How do I install Any CLI MCP Server?

Follow the installation steps in its documentation, shown on this page and in its repository.

Is Any CLI MCP Server open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Any CLI MCP Server?

It is published by eirikb. AI.tn lists it but does not maintain or endorse it.

From the community awesome-mcp-servers lists and the project's GitHub repository. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.