MCP.Market

cli2mcp MCP server

by RonieNeubauer·io.github.RonieNeubauer/cli2mcp·v0.1.4·12 stars

Wrap any CLI as a Model Context Protocol server - schema auto-inferred from --help.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Growing

12 stars43 downloads/wk

Reviews

Write one

Nobody has reviewed cli2mcp yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

cli2mcp tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 151 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How cli2mcp compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 65% of 4,460 AI and agents servers
GitHub stars
12
more than 85% of 2,711 AI and agents servers
Downloads a week
43
more than 35% of 1,538 AI and agents servers with a package

Install cli2mcp in Claude Code, Cursor or VS Code

Runs npx -y cli2mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add cli2mcp -- npx -y cli2mcp
Add to Cursor

What the publisher says

From the cli2mcp repository's README, as published. We do not edit it. Read it on GitHub

cli2mcp

Status: v0.1 — early release. Stdio transport only. APIs may change before 1.0.

Expose any command-line binary as a Model Context Protocol tool by parsing its --help output and synthesizing a JSON Schema at startup. One command, no boilerplate.

Works with any MCP-compatible client — Claude Desktop, ChatGPT (via OpenAI Agents SDK), Cursor, Gemini CLI, Cline, Windsurf, Continue, Zed, and anything else that speaks the MCP stdio transport.

npx cli2mcp <command>

Why

Writing an MCP server for a CLI you already have is mechanical work: instantiate the SDK, register a tool, hand-write the input schema, marshal arguments, spawn the subprocess, format the output. Roughly 80–150 lines of TypeScript per binary, repeated forever as new tools come out.

cli2mcp does it in one command. The CLI's own --help is the source of truth for the schema — if rg adds a flag tomorrow, the AI sees it tomorrow without code changes.

Install

npm install -g cli2mcp
# or invoke without installing
npx cli2mcp <command>

Requires Node.js 22+.

Configure your MCP client

cli2mcp is launched by your client as a stdio subprocess. Add an entry per CLI you want to expose.

Claude Desktop

Config file location:

{
  "mcpServers": {
    "ripgrep": {
      "command": "npx",
      "args": ["-y", "cli2mcp", "rg", "--name", "ripgrep"]
    },
    "jq": {
      "command": "npx",
      "args": ["-y", "cli2mcp", "jq"]
    }
  }
}

Restart Claude Desktop after editing.

Other clients

Refer to each client's documentation for the exact config path on your platform — they evolve and are not guaranteed to match the table above.

Quick wins — copy-paste configs

Drop any of these into your client's mcpServers block (paths shown above per client). Each one wraps a popular CLI as an MCP tool an AI can call directly.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

cli2mcp: common questions

Is cli2mcp MCP server safe?
Mostly: it is graded B (82/100). Read the cli2mcp safety report
How do I install cli2mcp?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does cli2mcp need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is cli2mcp maintained?
The last commit was 188 days ago (2026-04-29). The latest release is v0.1.4.
What can I use instead of cli2mcp?
Servers from other publishers that do the same job: FireCMS Cloud MCP server, Butterbase AI MCP server and mcptoon MCP server.
How does cli2mcp compare with other AI and agents MCP servers?
safety score 82/100 (higher than 65% of 4,460 AI and agents servers); github stars 12 (more than 85% of 2,711 AI and agents servers); downloads a week 43 (more than 35% of 1,538 AI and agents servers with a package). Full comparison.

Alternatives to cli2mcp

Same job from other publishers: the closest match first, then the best rated.

  • FireCMS Cloud
    Manage FireCMS Cloud from an AI agent: Firestore data, collections, schemas and users.
    A
  • Butterbase AI
    Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
    A
  • mcptoon
    MCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).
    A
  • yutu
    CLI, MCP server, and AI agent to automate YouTube workflows
    A
  • REA
    Reverse engineer anything from your terminal or agent with one CLI and MCP server.
    A