Skip to main content
Glama

ravn-mcp-glama

ravn-mcp-glama MCP server

Local/stdio MCP server for RAVN — cross-chain swap execution across every live venue, on EVM chains, native (non-wrapped) Bitcoin and Solana, as either source or destination. No signup, no API key, 0% protocol fee.

This is a secondary distribution channel. RAVN's primary MCP server is hosted and needs no install at all:

{
  "mcpServers": {
    "ravn": {
      "type": "streamable-http",
      "url": "https://app.ravn.exchange/api/mcp"
    }
  }
}

This package exists for clients and directories that need to build and run an MCP server from source rather than connect to a remote URL — it's a thin client over the same public REST API (docs.ravn.exchange, openapi.json) any integrator already calls. Every tool call here makes a real HTTP request to production. There is no separate logic, no internal RAVN code, and nothing here that isn't already public.

Install

git clone https://github.com/ravndex/ravn-mcp-glama
cd ravn-mcp-glama
npm install
npm run build
{
  "mcpServers": {
    "ravn": {
      "command": "node",
      "args": ["/path/to/ravn-mcp-glama/dist/index.js"]
    }
  }
}

Related MCP server: Swap API

Tools

Tool

What it does

ravn_quote

Best-priced route across every live venue for a given pair/amount

ravn_execute

Turn a quote into a signable transaction, typed data, or a deposit address

ravn_submit_signature

Submit a collected signature to actually place a SIGNATURE-type order

ravn_status

Normalized swap status (pending → processing → success)

ravn_health

Which venues are live right now

ravn_tokens

RAVN's own listed token registry for a chain

ravn_tokens_resolve

Resolve an arbitrary token address to its metadata

ravn_btc_coverage

Which tokens on a chain actually route from native Bitcoin

ravn_chains

Every chain RAVN lists a token registry for

ravn_btc_prepare_send

Builds a ready-to-sign PSBT for a Bitcoin-source deposit — runs entirely locally against mempool.space's public API, no RAVN server involved

Custody

RAVN never holds funds and this server never asks for a private key. ravn_execute returns a payload for you to sign — a transaction to broadcast, typed data to sign, or a deposit address to send to.

MIT licensed.

Available Tools

5 tools
ravn_btc_prepare_sendPrepare a signable Bitcoin transaction for a RAVN DEPOSITA
Read-only

Turns a DEPOSIT-type ravn_execute result (depositAddress + depositAmount) into a ready-to-sign PSBT, so you don't have to write your own UTXO selection and fee-estimation code. Fetches your UTXOs and the current network fee rate from mempool.space (public, no auth). RAVN never sees or touches a private key — sign the returned PSBT with your own wallet and broadcast it yourself. Only one signer is ever needed (unlike PSBT flows that require coordinating signatures across multiple UTXO-holding wallets), because every RAVN BTC-source venue resolves to a plain single-recipient payment. Runs entirely locally against mempool.space — no RAVN server involved.

Inputs: toAddress (required), amountSats (required), fromAddress (required), network, +1 more.

ravn_executeExecute a RAVN swap quoteA

Turn a quoteToken from ravn_quote into an execution payload. Returns one of three shapes (executionType): TRANSACTION (sign and broadcast yourself), SIGNATURE (sign, RAVN submits), or DEPOSIT (send the input asset to a given address). RAVN never takes custody of funds — you always sign or send from your own wallet. TRANSACTION and SIGNATURE may also include an approval — an ERC-20 approve() you must broadcast and wait to be MINED before the transaction/signature, or it fails (reverts on TRANSACTION; on SIGNATURE the order is accepted and silently never fills). Only present when the sold token needs it — omitted for native-coin sells and already-approved tokens.

Inputs: quoteToken (required), apiKey, refundAddress, destinationAddress.

ravn_healthCheck RAVN venue healthA
Read-only

Liveness check across every venue RAVN routes through — call before a swap if you want to know whether a route is degraded ahead of time.

Inputs: no named parameters.

ravn_quoteGet a RAVN swap quoteA
Read-only

Get a swap quote from RAVN — same-chain or cross-chain, across 16 chains including native (non-wrapped) Bitcoin and Solana as source or destination. Free, no API key or payment required. Returns a quoteToken; pass it to ravn_execute to get a signable/broadcastable execution payload.

Inputs: inputToken (required), inputAmount (required), outputToken (required), userAddress (required), +7 more.

ravn_statusCheck RAVN swap statusA
Read-only

Poll the status of a swap by its quoteToken and the ref returned by ravn_execute (deposit address for DEPOSIT venues, statusRef for SIGNATURE venues). Status is authoritative where the venue exposes it; some venues (Rift, Jupiter, Bebop, 0x Gasless) report 'unknown' honestly rather than guessing.

Inputs: ref (required), quoteToken (required), apiKey.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: quote, execute, status, health, and BTC-specific preparation. No overlap or ambiguity between them.

    Naming Consistency5/5

    All tools follow a consistent ravn_<action> pattern, using clear verb-based names (quote, execute, status, health, btc_prepare_send).

    Tool Count5/5

    Five tools is a well-scoped set for a swap API, covering the essential user-facing operations without unnecessary bloat.

    Completeness4/5

    The core swap flow (quote, execute, status) plus health and BTC-specific preparation is well covered. A cancel/refund operation could be a minor addition, but the existing set handles the primary use cases.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers