cmcp
by RussellLuo·★ 19·Score 43
cMCP is a command-line utility for interacting with MCP servers over STDIO, HTTP, or SSE transports.
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:
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 READMEaddadd(a: int, b: int) -> intAdd 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
Installation
pip install cmcpFor 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
Last updated · Auto-generated from public README + GitHub signals.