Documentation
¶
Overview ¶
Command mockmcp serves two deterministic MCP upstream servers ("alpha" and "beta") over streamable HTTP for the release E2E curl matrix. It is built with the same MCP SDK the gateway uses, so the wire format matches real upstreams.
alpha (/alpha): tools echo, add; prompt greeting; resource mock://alpha/info;
instructions "MOCKMCP_ALPHA_INSTRUCTIONS". When
MOCK_MCP_TOKEN is set, /alpha requires the X-Mock-Token
header to match, so header forwarding and the admin "***"
secret round-trip can be exercised end to end.
beta (/beta): tools search, fetch.
PORT selects the listen port (default 18090). GET /healthz reports liveness.
Click to show internal directories.
Click to hide internal directories.