MCP Catalogs
Home

cmcp

by RussellLuo·19·Score 43

cMCP is a command-line utility for interacting with MCP servers over STDIO, HTTP, or SSE transports.

developer-toolsai-llmproductivity
8
Forks
1
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

cMCP serves as a 'curl for MCP servers', enabling users to interact with MCP services from the command line. It supports different transport protocols including STDIO for local server interaction and HTTP/SSE for remote connections. The tool allows listing and calling prompts, resources, and tools of MCP servers, with verbose mode showing JSON-RPC requests and responses.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Testing MCP servers from the command line without needing a full client implementation
you:Automating interactions with MCP servers in shell scripts
you:Debugging MCP server implementations by examining JSON-RPC traffic
you:How do I use environment variables with cMCP?
you:Can cMCP work with HTTP authentication?

When to choose this

Choose cMCP when you need a simple, command-line interface to interact with MCP servers, especially for testing, debugging, or scripting purposes.

When NOT to choose this

Don't choose cMCP if you need a full GUI client with advanced features like conversation history or visual resource management.

Tools this server exposes

1 tool extracted from the README
  • addadd(a: int, b: int) -> int

    Add two numbers

Note: The README shows a single example tool (add) from a demo server, but this appears to be documentation of how to interact with MCP servers in general rather than tools exposed by cmcp itself. The cmcp utility is a client for MCP servers, not

Comparable tools

mcpcursorclaude-codefastmcp

Installation

pip install cmcp

For Claude Desktop integration, add to claude_desktop_config.json:

{
  "mcpServers": {
    "cmcp": {
      "command": "cmcp",
      "args": [":local-server"],
      "env": {}
    }
  }
}

FAQ

How do I use environment variables with cMCP?
Add them with the ENV_VAR:value syntax, e.g. cmcp COMMAND METHOD API_KEY:value
Can cMCP work with HTTP authentication?
Yes, use the Header:value syntax for HTTP headers, e.g. cmcp URL METHOD Authorization:value

Compare cmcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.