Tyk Mock MCP Server + matching client (now open source)

If you’re testing MCP traffic and need something deterministic for CI, Laurentiu on our engineering team built and open-sourced two tools.

  • Mock MCP Server. Go, in-memory, sub-second startup, 15 pre-configured tools, four prompts, three resources. Listens on localhost:7878/mcp. Drops into Docker Compose. Connects to Claude Desktop or Claude Code with a small config tweak.

  • Mock MCP Client. An LLM-free client that runs three ways: CLI for shell invocation, HTTP server for Python tests, or Go library to import straight into your test suite.

Together they give you a full round-trip (client → gateway → server) for tests that don’t need real MCP infra or a live model in the loop.

Repos:

Full story behind the build: How integration testing led me to create theTyk mock MCP server

Would be good to hear what you use them for.