client

command
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command client is the client under test for the official MCP conformance suite (github.com/modelcontextprotocol/conformance). The suite runs it once per scenario with the scenario's server URL as the last argument, the scenario name in MCP_CONFORMANCE_SCENARIO, the protocol revision in MCP_CONFORMANCE_PROTOCOL_VERSION and, for some scenarios, a JSON context in MCP_CONFORMANCE_CONTEXT. It drives the library's Client through what the scenario expects and exits 0, or 1 with the error on stderr. The suite judges the client by what its mock server observes. See ../README.md.

Jump to

Keyboard shortcuts

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