The Mock MCP Server is a testing tool for validating MCP (Model Context Protocol) client implementations and development workflows. It provides a single mock_echo tool that takes a message parameter (string) and returns it wrapped in a result field. The server supports multiple transport protocols—stdio for local integration, Streamable HTTP, and SSE (Server-Sent Events)—and can be configured via command-line arguments for transport type, host, and port (default: 127.0.0.1:8000). It's designed for testing connectivity, validating tool calling workflows, debugging protocol communication across transports, and quick prototyping—not for production use.
Mock MCP Server
A mock MCP server for testing MCP client implementations and development workflows.
Support tools, prompts and resources.
Usage
Full CLI Usage
Stdio
Add to your MCP client configuration:
Streamable HTTP
Start server first:
Then configure your MCP client:
SSE
Start server first:
Then configure your MCP client: