Skip to main content
Glama

any-cli-mcp-server

npm version Release License: MIT TypeScript Node.js

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
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
2wRelease cycle
5Releases (12mo)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eirikb/any-cli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server