wrapmcp

wrapmcp

Universal MCP server that wraps any CLI tool, enabling AI assistants to run commands via natural language.

Category
Visit Server

README

:suspect: Work/Test/Docs in Progress

wrapmcp

Wrap any CLI tool with MCP - Universal MCP server for well-documented CLI apps

Turn any command-line tool into an MCP server in seconds. No code required.

Why?

Modern CLI tools have excellent help systems and well-documented commands. wrapmcp makes them instantly available to AI assistants through the Model Context Protocol (MCP).

Instead of writing custom MCP servers for each tool, just wrap them:

wrapmcp install gh      # GitHub CLI → MCP
wrapmcp install disco   # Disco → MCP
wrapmcp install docker  # Docker → MCP
wrapmcp install kubectl # Kubernetes → MCP

Installation

Download the latest binary for your platform from releases:

# Linux/macOS
curl -L https://github.com/yourusername/wrapmcp/releases/latest/download/wrapmcp-linux -o wrapmcp
chmod +x wrapmcp

# Install it
./wrapmcp install <your-favorite-cli-tool>

The binary will automatically copy itself to ~/.local/bin/wrapmcp and configure your MCP clients.

Usage

Install MCP server for a CLI tool

wrapmcp install disco

This will:

  1. Copy wrapmcp to a stable location (~/.local/bin/)
  2. Auto-detect your MCP clients (Claude Desktop, Claude Code, Continue, Zed)
  3. Add the tool to all detected clients
  4. You're done! Restart your AI assistant.

Target specific client

wrapmcp install gh --client=claude-desktop
wrapmcp install docker --client=claude-code

List installed servers

wrapmcp list

Uninstall

wrapmcp uninstall disco

Supported Clients

wrapmcp automatically detects and configures:

  • Claude Desktop - Global installation
  • Claude Code - Project-based (.mcp.json)
  • Continue - VS Code extension
  • Zed - Editor integration

How it works

When you run wrapmcp install disco, it creates an MCP server that:

  1. Registers a run_cli tool in your AI assistant
  2. When called, executes disco <args> and returns the output
  3. The AI can explore commands using --help flags
  4. Well-documented CLIs become instantly accessible

Examples

After installing, your AI assistant can do things like:

You: "List my disco projects"
AI: uses mcp__disco__run_cli with args "projects:list"

You: "Deploy my app to production"
AI: uses mcp__gh__run_cli to check status, then confirms with you

You: "Show running containers"
AI: uses mcp__docker__run_cli with args "ps"

Requirements

  • The CLI tool must be installed and available in your PATH
  • MCP client (Claude Desktop, Claude Code, Continue, or Zed)

Building from source

# Clone the repo
git clone https://github.com/yourusername/wrapmcp.git
cd wrapmcp

# Install dependencies
bun install

# Build
bun run build

# Use it
./wrapmcp install <tool>

License

MIT

Contributing

Issues and PRs welcome! This was built as a personal tool but happy to make it better.


wrapmcp - Because every great CLI deserves to be MCP-enabled ✨

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured