Skip to main content
The Pegana MCP server is hosted at https://mcp.pegana.xyz and speaks the Model Context Protocol over HTTP (Streamable HTTP transport). You don’t install anything — just point your MCP host at the URL.
Some MCP hosts (Claude Desktop, Cursor as of 2026-05) still expect a stdio transport. For those, use the official mcp-remote bridge — a tiny npx wrapper that proxies HTTP MCP into stdio. Configs below show the bridge approach because it works everywhere; once your host adds native HTTP support you can drop the bridge.

Verify the endpoint is up

Before configuring your host:

Claude Desktop (macOS / Windows)

Edit claude_desktop_config.json:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop. The Pegana tools appear in the tool list (hammer icon): ping, get_assets, get_asset_state, get_methodology, verify_alert, ping_paid, get_asset_history, subscribe_peg_events. To enable paid tools, point mcp-remote at a CDP wallet you control. The wallet signs USDC payments per call. See paid tools + x402 for the wallet setup; once your wallet is configured at the host level, paid tools work transparently.

Cursor

Cursor reads MCP config from ~/.cursor/mcp.json (or via Cursor Settings → Features → MCP → Add new server). Same shape:

Cline (VS Code extension)

Cline’s MCP config lives in cline_mcp_settings.json (Cline → Settings → MCP Settings → Edit JSON). Same shape as Claude Desktop / Cursor.

Continue

Continue’s ~/.continue/config.json accepts MCP servers under experimental.modelContextProtocolServers:

Codex / OpenAI tooling

If you’re using the Codex CLI or another OpenAI tool that supports MCP, the same npx -y mcp-remote https://mcp.pegana.xyz recipe applies. Shape varies per tool — see each tool’s MCP setup doc.

Hosts with native HTTP MCP support

If your host supports Streamable HTTP transport natively (the spec is recent — support is growing), you can skip mcp-remote:
This is cleaner but works in fewer hosts as of 2026-05. Check your host’s release notes.

Verify it works

Once configured, ask the model:
The model should call ping() and return something like:
If you get “tool not available” or similar, check the host’s MCP logs. Most hosts log to a file like ~/Library/Logs/Claude/mcp.log.

Common errors

npx: command not found — install Node.js (18+). mcp-remote ships via npx. Tools list shows but calls hang — the host may be on an older MCP SDK that doesn’t yet support Streamable HTTP. Update the host. The Pegana server uses WebStandardStreamableHTTPServerTransport from @modelcontextprotocol/sdk@^1.29. Paid tool returns 402 unhandled — your wallet isn’t configured. See paid tools + x402. “unable to verify the first certificate” — corporate proxy strips TLS. Set NODE_EXTRA_CA_CERTS env var to your corporate CA bundle.

Hosted — no clone needed

The server is hosted at mcp.pegana.xyz — no clone needed; see pegana.xyz/developers. Just point your MCP host at the URL. The runtime (mcp-ts/) is TypeScript on Bun + Hono, configured via env vars (PEGANA_API_BASE, REDIS_URL, DATABASE_URL, plus the CDP block for paid tools).

Next

What each tool does

Schemas + example calls for the 5 free tools.

Paid tools + x402

Wallet setup for ping_paid + get_asset_history + subscribe_peg_events.