Agent♥︎Age
Catalog

cli2mcp

Official

by RonieNeubauer · TypeScript

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

io.github.RonieNeubauer/cli2mcp — MCP CLI Wrapper

cli2mcp wraps an existing command-line interface as a Model Context Protocol (MCP) server. It auto-infers the server schema from the CLI’s --help output, exposing CLI functionality as tool-calling compatible endpoints. The project targets TypeScript/Node.js environments and is published as an npm package.

🛠️ Key Features

  • Wrap any CLI as an MCP server
  • Auto-infer schema from --help
  • Tool-calling support via MCP

🚀 Use Cases

  • Connect a CLI to MCP-based clients (e.g., Claude Desktop and MCP tool workflows)
  • Use developer tooling through an LLM tool-calling interface

⚡ Developer Benefits

  • Schema generation driven by CLI help text
  • Node.js/TypeScript implementation aligned with JSON-schema tooling

⚠️ Limitations

  • Current status is v0.1 (early release), per the provided README excerpt

Topics

claudeclillmmcpmodel-context-protocoltypescriptai-toolsanthropicclaude-desktopclinecursordeveloper-toolsjson-schemamcp-servernodejstool-callingwindsurfchatgptgeminiopenai
cli2mcp - agentage MCP Catalog