rubric-attested-mcp

resmi

Rubric Protocol'un ML-DSA-65 + Hedera onaylı fiyat akışlarını x402 ödemeli araçlar olarak sunan MCP sunucusu.

Rubric Attested MCP ile neler yapabilirsiniz?

  • Canlı onaylı fiyatları getirget_attested_price ile "ETH" veya "BTC/USD" gibi bir Base-mainnet varlık fiyatını isteyin; isteğe bağlı olarak kanıt veya geçmiş zaman damgası ekleyin.
  • Mevcut fiyat akışlarını listele — Rubric'in tam x402 hizmet kataloğunu rotalar, fiyatlar, ağlar ve açıklamalarla görmek için list_attested_services kullanın.
  • Doğrulanabilir fiyat kanıtları talep etproof bayrağıyla imzalı bir fiyat alın; bağımsız yeniden hesaplama için bir Chainlink round demeti ve taahhüt açılımı döndürür.
  • Geçmiş onaylı fiyatları sorgula — En son fiyat yerine geçmiş bir fiyatı almak için at parametresiyle bir ISO-8601 zaman damgası belirtin.

Dokümantasyon

rubric-attested-mcp

MCP server that exposes Rubric Protocol's live, attested price feeds as tools for any MCP-wired agent (Claude Code, Cursor, Windsurf, etc). Handles the x402 402 -> pay -> retry flow automatically via Coinbase's official x402-fetch.

Why this instead of any other price feed: every response is signed with ML-DSA-65 (FIPS 204 post-quantum) and anchored to Hedera Consensus Service. The returned attestationId can be independently verified forever at rubric-protocol.com/v1/verify/:attestationId — free, public, no further trust in Rubric required.

Rubric's own agent identity is registered on-chain at ERC-8004 Identity Registry (0x8004A169FB4a3325136EB29fA0ceB6D2e539a432, Base mainnet).

Tools

get_attested_price

Paid ($0.02 USDC via x402 on Base mainnet). Live spot price for a Base-mainnet asset pair read straight from Chainlink aggregators via eth_call.

  • symbol (string, required) — e.g. "ETH", "BTC/USD"
  • proof (boolean, optional) — include the raw Chainlink round tuple + a disclosed commitment opening for independent recomputation ($0.25 instead)
  • at (string, optional) — ISO-8601 timestamp for a historical price instead of latest ($0.50)

list_attested_services

Free. Returns Rubric's live x402 service catalog (rubric-protocol.com/.well-known/x402.json) — every priced route, price, network, and description.

Install

npm install -g rubric-attested-mcp

Configure

Add to your MCP client config (Claude Code, Cursor, Windsurf, etc):

{
  "mcpServers": {
    "rubric-attested": {
      "command": "rubric-attested-mcp",
      "env": {
        "RUBRIC_MCP_PAYER_KEY": "0x<your-base-mainnet-wallet-private-key>"
      }
    }
  }
}

RUBRIC_MCP_PAYER_KEY is an EOA private key funded with USDC on Base mainnet — it pays for get_attested_price calls directly (EIP-3009 exact scheme, no smart account/bundler needed). list_attested_services works with no key configured.

Develop

npm install
npm run build
npm start

License

MIT