Documentation
¶
Overview ¶
Command fixture runs the mcptest fixture MCP server over stdio.
It exists to be built by mcptest.BuildFixture and exec'd by this module's transport tests. It is not shipped, and nothing outside internal/ runs it.
Usage:
fixture [flags]
Flags (all off or empty by default — the bare command is a minimal server with the echo/slow/fail/big tools and nothing else):
-instructions string server instructions returned at initialize -prompts expose the "greet" prompt -resources expose the static resource and the echo template -mutate expose the "mutate" tool (triggers tools/list_changed) -crash expose the "crash" tool (exits immediately) -crash-exit-code int the status "crash" exits with (default 7) -noise-bytes int bytes of chatter to write to stderr at startup -elicit-on-initialize send an elicitation request once the client is initialized -legacy-protocol pin the session to protocol revisions <= mcptest.LegacyProtocolVersion
stdin and stdout are the MCP transport and carry nothing else. Diagnostics go to stderr.
Click to show internal directories.
Click to hide internal directories.