https://mcp.pegana.xyz (Streamable HTTP transport)
Source: mcp-ts/ (TypeScript on Bun + Hono)
Point your MCP host at the URL — no install, no clone, no API key. See
setup for per-host config.
Why MCP
If your agent already lives in Claude Code, Cursor, Cline, or Continue, MCP is the shortest path to “the model knows the peg state.” No middleware, no toolchain — the model callsget_asset_state("USDC") and gets back JSON.
The model also discovers methodology and asset metadata via get_methodology and
get_assets, so it can reason about why an alert fires before reading any code you
wrote.
Tools available
All 10 tools are free
ping, ping_paid, get_assets, get_asset_state, get_methodology, get_loop_exposure, simulate_depeg_impact, verify_alert, get_asset_history, subscribe_peg_events. No payment, no key.Setup
Add Pegana to Claude / Cursor / Cline
One-time config in your MCP host’s settings file.
A typical agent prompt
Once configured:get_asset_state("USDC") on its own,
inspect the result, and refuse a swap if state is DRIFT or worse.
Tool list
Hosted — no clone needed
The server is hosted atmcp.pegana.xyz, so there is nothing to clone or install and
no API key: point your MCP host at the URL (see setup). The
runtime is mcp-ts/ (TypeScript
on Bun + Hono), configured via env vars (PEGANA_API, REDIS_URL, DATABASE_URL).
Anti-prompt-injection note
The MCP server returns structured JSON: no markdown, no nested instructions, no “ignore previous” payloads. The only caller-supplied string echoed back is thesymbol (or alert_id) you passed, in get_methodology’s output and in error texts;
it is length-capped by the input schema (20 characters for symbols, a UUID for alert
IDs). For every asset in the registry, the get_methodology content is compiled into
the server at build time, so an attacker compromising api.pegana.xyz cannot inject
prompts via the methodology response.
The values we do return (asset, state, decimal numbers, timestamps) are
constrained shapes — your model can treat them as data, not prompts.
Next
Free tools detail
Schemas + example calls for each free tool.
Setup
Per-host configuration.