mockmcp

command
v0.1.63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL