RussellLuo/cmcp

View on GitHub ↗

A command-line utility for interacting with MCP servers.

19 ★8 forksPythonUpdated 6mo ago

What you need to know

A curl-like tool for MCP servers that lets you call MCP tools and inspect JSON-RPC exchanges from the command line.

Install

pip install cmcp

Usage

  • cmcp call <server> <tool> --arg ... to invoke MCP tools; add --verbose to see raw JSON-RPC

Key features

  • Call MCP tools from the CLI
  • Supports stdio, HTTP, and SSE transports
  • Verbose JSON-RPC mode for debugging

Best for

Debugging and testing MCP servers from the terminal

Platforms: Python

Reviewed 2026-08-11

Topics

mcpmodel-context-protocol
Stars
19★
Forks
8
Language
Python
License
MIT
Created
2025-03-23
Last push
2026-03-03