mcp-mock-server

shriramkv/mcp-mock-server
★ 7 stars Python Code/Dev Tools Updated 2d ago ✓ Clean
A zero-dependency, configurable mock MCP server for testing MCP clients and harnesses. Serves a correct MCP handshake over stdio (initialize, tools/list, tools/call). You describe tools and canned responses in a JSON file. Simulates errors and missing-argument handling. Perfect target for your existing conformance, audit, and load-test tools.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-mock-server": {
      "command": "uvx",
      "args": [
        "mcp-mock-server"
      ]
    }
  }
}

Or install with pip: pip install mcp-mock-server