gate402 merchant checkout
mcpopen · remote officialcom.ogenalabs/gate402-x402 · v0.1.0
Drop-in x402 checkout for merchants: issue terms, verify payment. $0.01 each.
run it
nothing to buildNo DockerfileThe worker built github.com/ogenalabs/gate402-mcp for v0.1.0 on 2026-10-16 and found no Dockerfile, so there is nothing to build until a new version arrives. Connect to the web service below.
connect to it
copy what your client needshttps://api.ogenalabs.com/api/gate402/mcp transport: streamable HTTP no credentials required
#!/usr/bin/env bash
# Asks every HTTP endpoint for its tool list over MCP streamable HTTP: first as MCP 2026-07-28
# (one request, no session), then, if the server does not answer that, as 2025-06-18
# (initialize, initialized, tools/list in the session).
set -uo pipefail
set -a; [ -f .env ] && source .env; set +a
post() { # url header version session body [curl options]
curl -sS -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
${2:+-H "$2"} ${3:+-H "MCP-Protocol-Version: $3"} ${4:+-H "Mcp-Session-Id: $4"} "${@:6}" -d "$5" "$1"
}
probe() { # name url [header]
local name="$1" url="$2" hdr="${3:-}" out sid
local meta='{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"smoke","version":"0"}}'
out=$(post "$url" "$hdr" 2026-07-28 "" '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{"_meta":'"$meta"'}}' -H "Mcp-Method: tools/list")
if ! grep -q '"result"' <<<"$out"; then
local init='{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}'
sid=$(post "$url" "$hdr" "" "" "$init" -D - -o /dev/null | awk 'tolower($1)=="mcp-session-id:"{print $2}' | tr -d "\r")
post "$url" "$hdr" 2025-06-18 "$sid" '{"jsonrpc":"2.0","method":"notifications/initialized"}' -o /dev/null
out=$(post "$url" "$hdr" 2025-06-18 "$sid" '{"jsonrpc":"2.0","id":2,"method":"tools/list"}')
fi
# tool names only: a 2026-07-28 answer names the server in _meta too
sed 's/"io\.modelcontextprotocol\/serverInfo": *{[^}]*}//g' <<<"$out" | grep -o '"name": *"[^"]*"' \
| head -20 | sed "s/^/ $name: /" || echo " $name: no answer"
}
probe gate402-x402 https://api.ogenalabs.com/api/gate402/mcp
{
"mcpServers": {
"gate402-x402": {
"url": "https://api.ogenalabs.com/api/gate402/mcp"
}
}
}
#!/usr/bin/env bash # Registers every server with Claude Code (run once; `claude mcp list` to check). set -euo pipefail set -a; [ -f .env ] && source .env; set +a claude mcp add --transport http gate402-x402 https://api.ogenalabs.com/api/gate402/mcp
{
"mcpServers": {
"gate402-x402": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.ogenalabs.com/api/gate402/mcp"
]
}
}
}
{
"servers": {
"gate402-x402": {
"type": "http",
"url": "https://api.ogenalabs.com/api/gate402/mcp"
}
}
}
name: my-agent target: local servers: - hub: com.ogenalabs/gate402-x402
- not probed yet: tools unpinned, ingest lists them
tools
Probe result: faileddocker: the container exited: l/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.14.0
runs · 3
the latest tests of this entry by the hub and its workers, newest first| date | worker | method | status | sandbox | reason |
|---|---|---|---|---|---|
| 2026-10-16 12:48 | local-mac-vm | docker | failed | gvisor | docker: the container exited: l/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Function.executeUserEntryPoint [as runM… |
| 2026-10-16 06:18 | local-mac | docker | failed | gvisor | docker: sandbox: docker build: ERROR: failed to build: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory |
| 2026-10-16 06:18 | local-mac | remote | failed | none | remote: ValidationError: 1 validation error for InitializeResult capabilities Field required [type=missing, input_value={'protocolVersion': '2024...2', 'version… |