
BlazePhoenix on-chain DEX aggregator
xyz.blazephoenixv2.0.0更新于 Oct 1, 2026
On-chain DEX aggregator: quotes and verified swap calldata computed on your own RPC. No API key.
概览
让助手获取链上 DEX 兑换报价、经过验证的未签名兑换 calldata、模拟结果以及五条链上的部署数据。
- 功能
- 提供通过链上 Quoter 合约获取兑换报价的工具,返回扣除费用后的净输出、Router 强制执行的最低输出、价格影响和风险判定。还可构建未签名的 Router calldata、从指定账户试运行兑换、检查质押偿付能力、读取代币元数据,以及列出或验证协议部署。远程版本则返回需要执行的 eth_call 并解码节点返回结果。
- 适用场景
- 适合助手在 Base、Ethereum、Optimism、Arbitrum 或 Robinhood Chain 上准备或检查 DEX 兑换,而无需信任某个定价服务器。适用于希望在自行签名前获得可自行验证的报价和 calldata 的代理。
- 运行要求
- 本地服务器通过 npx 运行,需要 Node.js,以及至少一个通过环境变量提供的 RPC 端点,例如 BLAZEPHOENIX_RPC_URL 或按链设置的 BLAZEPHOENIX_RPC_BASE 等变量。远程端点无需密钥,也不执行 RPC 调用。不需要账户或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 BlazePhoenix on-chain DEX aggregator,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://blazephoenix.xyz/mcp"
}
}
}README
BlazePhoenix MCP server
On-chain DEX aggregator tools for AI agents. The defining property: every quote
is computed by the on-chain Quoter contract (previewPlan, a free eth_call),
the same logic that executes the swap, and it runs on your own RPC. There is
no pricing server to trust, and every number an agent relays is reproducible by
anyone.
- Local server:
@blazephoenix/mcpover stdio. Quotes, unsigned calldata, simulation and solvency, all read through the node you configure. - Remote endpoint:
https://blazephoenix.xyz/mcp(streamable HTTP, stateless). Deployment registry, ABIs and the pure quote codec. It performs no RPC call. - Auth: none · API key: none
- Chains: Base (8453), Ethereum (1), Optimism (10), Arbitrum (42161), Robinhood Chain (4663)
Local server
Any MCP client (JSON config):
The RPC comes from the environment only, never from a tool argument:
A value may hold several URLs separated by commas; they are your fallback order. The server never prints your URLs, since they may carry a key.
Tools
Every tool is read-only. The server never signs and never holds a key.
build_swap returns calldata for you to review and sign in your own wallet, and
the SDK's wallet-taking execute() is deliberately not exposed.
Remote endpoint
The source of the endpoint is in Blaze-Phoenix-API.
Install as a plugin or extension
Claude Code plugin (hosted MCP endpoint plus the BlazePhoenix agent skill):
Gemini CLI extension (hosted MCP endpoint plus a context file):
Both connect https://blazephoenix.xyz/mcp, which needs no key and performs no
RPC. For the full toolset on your own node, use the local server.
Verify instead of trusting
Nothing here requires trusting BlazePhoenix:
Build and test
The test spawns the built server over stdio with no RPC configured and checks the tool surface, that failures come back as tool results, and that no tool takes an RPC, key or signer argument or signs anything.
More machine surfaces
Security
To report a vulnerability, see SECURITY.md.
License
The code is MIT (see LICENSE). This documentation is CC BY 4.0. The protocol
contracts are BUSL-1.1 (free to read, audit and verify; production use before the
2030 change date requires a license). The mechanisms and terminology (Iron Law Φ,
Monoslot, Master Conservation Identity) are original BlazePhoenix work: attribute
with a link.
Contact: [email protected] · Security: https://blazephoenix.xyz/.well-known/security.txt
来源:README.md,提交 eb3ed94
工具
0版本历史
1- v2.0.0最新Oct 1, 2026