PHΛSE Docs PHASE.XYZ

MCP server

phase-mcp is a single Go binary that exposes the catalog to agents (Claude Code, Cursor, any MCP client) as tools and pays for each call from a wallet key. Tools: list_models, quote (the 402 ceiling without paying), chat, embed, session (create, read, list and delete saved sessions) and receipt (the public receipt of a paid request and its Merkle proof).

EnvMeaning / default
PHASE_GATEWAY_URLhttps://<gateway>
PHASE_WALLET_KEYwithout it only free models work
PHASE_MAX_USD_PER_CALLlargest quote it will sign, default 0.05
PHASE_MAX_USD_PER_SESSIONsum of ceilings signed by one process, default 5
PHASE_NETWORKSCAIP-2 allowlist

Build: go build -o bin/phase-mcp ./cmd/phase-mcp; streamable HTTP instead of stdio: phase-mcp -http 127.0.0.1:8765 — a non-loopback bind requires PHASE_MCP_TOKEN, sent as Authorization: Bearer, because that endpoint spends the wallet.

JSON
{
  "mcpServers": {
    "phase-ai": {
      "command": "/path/to/phase-mcp",
      "env": { "PHASE_GATEWAY_URL": "https://<gateway>", "PHASE_WALLET_KEY": "0x…", "PHASE_MAX_USD_PER_CALL": "0.05" }
    }
  }
}
© 2026 Phase Labs Technologies Inc. All rights reserved. Phase is a product of Phase Labs Technologies Inc.ir-mcp.md