# BlazePhoenix MCP server [Verified owner] [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://blazephoenix.xyz/  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/blazephoenix-mcp-server

## Description
On-chain DEX aggregator exposed to AI agents: the prepare_quote tool returns the eth_call to run on your own RPC, so routes are quoted on-chain by the Quoter contract. No API key, no signup. Chains: Base, Ethereum, Optimism, Arbitrum, Robinhood Chain. The protocol is pre-launch.

## Tools
Capabilities this server exposes over MCP:

- **prepare_quote** — 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.
- **decode_quote** — Decode the eth_call result YOUR node returned for a prepare_quote call: net output after the 0.28% fee, price impact, the Phoenix Check verdict (ok / caution / danger / blocked — fails closed) and, in preview mode, the on-chain floor the Quoter reports for the route (ironFloor, effectiveMinOut). With a recipient and a userMinOut, it also returns unsigned calldata verified against the request, whose minimum output is the higher of your userMinOut and the quoted net output less slippageBps, never under the on-chain floor (exact mode: exactly your userMinOut; a recipient without a usable userMinOut returns a txError instead). The calldata clears the swap math, not the token transfer: before sending, simulate it as an eth_call to the Router from the paying address. Pure computation: it cannot authenticate your node's answer.
- **decode_usd_value** — Decode the eth_call result YOUR node returned for a USD value (`usd.in` of prepare_quote with usd:true, or `usdOut` of decode_quote): the amount in USD (via USDC; USDG on Robinhood Chain; the dollar token counts as 1 USD), measured as Quoter netOut after the 0.28% fee, including price impact. Each via (direct, via WETH, via the tokens the direct route crosses; at most 8) is listed; the value is the minimum over measured vias, with the spread when two or more are measured. A via that reverts, finds no route or nets 0 is "not measured"; with none measured the value is "not measured", never 0. When the route crosses other tokens, the answer is `next`: a second eth_call pinned at the block hash of the first (EIP-1898, requireCanonical); run it and decode that one. That needs blockHash, the hash of the block the first call ran at (read the header with eth_getBlockByNumber and pin the call there, or pass blockHash to prepare_quote, which pins usd.in only). usdOut of decode_quote is prepared at latest: replace latest with {blockHash, requireCanonical: true} of a header you read, run it, and pass that hash here as blockHash. Without a hash the value is "not measured", never a call pinned by number. If your node answers an error for the hash, start again. Pure computation.
- **get_deployments** — The versioned BlazePhoenix deployment registry: Core, Hub, Solver, Quoter and Router addresses per chain and protocol version, each version with its status, and the version each chain resolves to as latest (`active`: the newest non-deprecated version deployed on that chain).
- **get_abi** — 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.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "blazephoenix-mcp-server": {
    "url": "https://blazephoenix.xyz/mcp"
  }
}
```

## Documentation

## What BlazePhoenix MCP server does

BlazePhoenix MCP server gives MCP clients tools for preparing and interpreting BlazePhoenix DEX operations on Base, Ethereum, Optimism, Arbitrum, and Robinhood Chain. It does not execute RPC calls on the agent's behalf. Instead, the quote workflow produces the contract address and calldata for an `eth_call`, which the client or application runs against its own node before sending the result back for decoding.

The decoded quote includes net output after the 0.28% fee, price impact, and a Phoenix Check verdict. That verdict can be `ok`, `caution`, `danger`, or `blocked`, with failed checks treated conservatively. The server also exposes deployment metadata and generated contract ABIs for applications that need to build or inspect lower-level calls.

## How it works

Call `prepare_quote` to receive a ready JSON-RPC request, a curl example, and a `request` object. Run the request on your own RPC endpoint, then supply the returned hex together with the original request to `decode_quote`.

`decode_quote` can also produce unsigned Router calldata when given a recipient and a usable minimum-output value. In preview mode, the minimum output accounts for the requested slippage and cannot fall below the Quoter's on-chain floor. Exact mode uses the supplied user minimum. The resulting calldata handles swap calculation, not token approval or transfer; simulate it as an `eth_call` to the Router from the paying address before submission.

`decode_usd_value` interprets USD-related call results through USDC, or USDG on Robinhood Chain. It measures direct, WETH, and crossed-token routes, returning the minimum measured value and any spread. Cross-token measurements may require a second call pinned to the first call's block hash using EIP-1898 and `requireCanonical`. Values with no measured route are reported as not measured rather than zero.

## Setup and configuration

Connect an MCP client to the hosted endpoint:

`https://blazephoenix.xyz/mcp`

No API key or signup is required. The application using the server must have access to an RPC node for the supported chain and must run the returned calls itself. For block-consistent USD decoding, read the relevant block header and pass its hash when required. A node error for a pinned hash means the quote flow should be restarted.

## Tools and capabilities

- `prepare_quote`: Builds the Quoter call and returns its address, calldata, JSON-RPC request, and curl form.
- `decode_quote`: Parses a node's result, reports output and risk checks, and optionally prepares verified unsigned Router calldata.
- `decode_usd_value`: Converts supported USD quote results into measured values, including multi-route comparisons and block-pinned follow-up calls.
- `get_deployments`: Lists versioned Core, Hub, Solver, Quoter, and Router addresses, statuses, and each chain's active non-deprecated version.
- `get_abi`: Returns a generated ABI and source revision for a named BlazePhoenix contract; the `errors` option supports revert decoding.

## Limitations and notes

The service performs no RPC and cannot authenticate the correctness of a node's response because quote and USD decoding are pure computation over returned data. The protocol is pre-launch. Before broadcasting any generated transaction data, the paying address should simulate the Router call and handle token approvals or transfers separately. `decode_quote` returns an error when exact mode lacks a usable user minimum, and `decode_usd_value` requires a block hash for the specified pinned follow-up cases.

_Full upstream README: https://allmcps.com/mcp/blazephoenix-mcp-server/readme_

