x402 Conformance
v1.6.1x402 payment safety checks: validate a 402 answer, prove a server never serves before settlement.
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add x402-conformance -- npx -y x402-conformance-mcp@1.6.1Add to
claude_desktop_config.json{
"mcpServers": {
"x402-conformance": {
"args": [
"-y",
"x402-conformance-mcp@1.6.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"x402-conformance": {
"args": [
"-y",
"x402-conformance-mcp@1.6.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"x402-conformance": {
"args": [
"-y",
"x402-conformance-mcp@1.6.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.x402-conformance]
command = "npx"
args = ["-y", "x402-conformance-mcp@1.6.1"]Docker
Requires Docker
Run in a terminal
claude mcp add x402-conformance -- docker run -i --rm ghcr.io/atsp-protocol/x402-conformance:1.6.0Add to
claude_desktop_config.json{
"mcpServers": {
"x402-conformance": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/atsp-protocol/x402-conformance:1.6.0"
],
"command": "docker"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"x402-conformance": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/atsp-protocol/x402-conformance:1.6.0"
],
"command": "docker"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"x402-conformance": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/atsp-protocol/x402-conformance:1.6.0"
],
"command": "docker",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.x402-conformance]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/atsp-protocol/x402-conformance:1.6.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: x402_check_payment_required, x402_demo, x402_explain_check, x402_share_case, x402_start_facilitator_double, x402_probe_resource_server, x402_stop_facilitator_double.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json