Documentation
¶
Overview ¶
Mock MCP Server for testing local process (stdio) MCP server support. This server communicates via stdin/stdout using JSON-RPC.
Build:
go build -o mock-stdio-server .
The server reads JSON-RPC requests from stdin (one per line) and writes JSON-RPC responses to stdout. Each request/response is a single line of JSON.
Supports:
- initialize - MCP handshake
- notifications/initialized - Notification acknowledgment
- tools/list - Returns sample tools
- tools/call - Execute tools (echo, add, get_time)
- ping - Health check
Click to show internal directories.
Click to hide internal directories.