BlazePhoenix on-chain DEX aggregator

On-chain DEX aggregator: quotes and verified swap calldata computed on your own RPC. No API key.

我该使用它吗

质量与安全性

A
描述质量
95%
模式完整度
83%
命名质量
90%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~898token 数(工具定义)
~1.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.70%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "url": "https://blazephoenix.xyz/mcp"
    }
  }
}

远程端点

https://blazephoenix.xyz/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢prepare_quote(chain, in, out, amountIn, recipient, ...)

Prepare an on-chain BlazePhoenix quote to run on YOUR OWN RPC. Returns the exact eth_call (Quoter address + calldata, as a ready JSON-RPC request and a curl line) plus a `request` object. Run the call on your node, then pass `request` and the result hex to decode_quote. This server performs no RPC. For one-step quotes, swaps and solvency on your own RPC, run the local server: claude mcp add blazephoenix -e BLAZEPHOENIX_RPC_BASE=<your node> -- npx -y @blazephoenix/mcp

输入模式

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "description": "base | eth | optimism | arbitrum | robinhood (or a chain id)"
    },
    "in": {
      "type": "string",
      "description": "input token — 0x address, or ETH / WETH / USDC / BZPX"
    },
    "out": {
      "type": "string",
      "description": "output token — 0x address, or ETH / WETH / USDC / BZPX"
    },
    "amountIn": {
      "type": "string",
      "description": "input amount in base units (wei-style integer string)"
    },
    "recipient": {
      "type": "string",
      "description": "optional 0x address; with it, decode_quote returns signable calldata"
    },
    "slippageBps": {
      "type": "integer",
      "description": "0–5000 (default 50); never below the on-chain floor"
    },
    "userMinOut": {
      "type": "string",
      "description": "optional explicit minimum output, base units"
    },
    "deadlineSec": {
      "type": "integer",
      "description": "deadline horizon in seconds, 10–3600 (default 120)"
    },
    "exact": {
      "type": "boolean",
      "description": "true → previewPlanExact (execution-grade dry-run, no calldata)"
    },
    "version": {
      "type": "string",
      "description": "protocol version: latest (default) | 1 | 2 | 2.0.0"
    }
  },
  "required": [
    "chain",
    "in",
    "out",
    "amountIn"
  ]
}
🟢decode_quote(request, result)

Decode the eth_call result YOUR node returned for a prepare_quote call: net output after the 0.28% fee, the minimum the Router enforces on-chain, price impact, the Phoenix Check verdict (ok / caution / danger / blocked — fails closed; quote it when asked if a swap is safe) and, with a recipient, verified unsigned calldata. Pure computation.

输入模式

{
  "type": "object",
  "properties": {
    "request": {
      "type": "object",
      "description": "the `request` object prepare_quote returned, verbatim"
    },
    "result": {
      "type": "string",
      "description": "the 0x hex result of the eth_call on your node"
    }
  },
  "required": [
    "request",
    "result"
  ]
}
🟢get_deployments

The versioned BlazePhoenix deployment registry: Core, Hub, Solver, Quoter and Router addresses per chain and protocol version (1.0.0 live; 2.0.0 the final generation), and which version each chain runs now.

输入模式

{
  "type": "object",
  "properties": {}
}
🟢get_abi(contract)

The JSON ABI of one BlazePhoenix contract, generated from the Solidity sources, with the source revision it was built from. Use it to encode your own calls to the addresses get_deployments returns, or pass `errors` to decode a revert reason from a failed swap or quote. Returns { contract, revision, abi }; an unknown name returns ok:false with the accepted list. Pure lookup, no RPC.

输入模式

{
  "type": "object",
  "properties": {
    "contract": {
      "type": "string",
      "enum": [
        "quoter",
        "router",
        "solver",
        "hub",
        "core",
        "errors"
      ],
      "description": "quoter (quotes and previews) | router (swap entry point) | solver | hub | core | errors (the protocol custom-error set, for decoding reverts)"
    }
  },
  "required": [
    "contract"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具