MCP Directory

Jupiter MCP Server

Execute Solana token swaps via Jupiter's Ultra API, combining DEX routing and RFQ for optimal pricing.

Unverified
stdio (local)
No auth
Stale
JavaScript

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
git clone https://github.com/kukapay/jupiter-mcp.git && cd jupiter-mcp && npm install

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "jupiter-mcp-server": {
      "command": "node",
      "args": [
        "path/to/jupiter-mcp/server/index.js"
      ],
      "env": {
        "SOLANA_RPC_URL": "solana rpc url you can access",
        "PRIVATE_KEY": "your private key"
      }
    }
  }
}

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • Node.js version 18 or higher (for native fetch support)
  • A base58-encoded Solana wallet private key for signing transactions
  • Access to a Solana RPC endpoint (e.g. https://api.mainnet-beta.solana.com)

About Jupiter MCP Server

An MCP server for executing token swaps on the Solana blockchain using Jupiter's Ultra API. It fetches swap orders that combine DEX routing and RFQ for optimal pricing, then requests Jupiter to execute the swap on behalf of the wallet owner, handling slippage, priority fees, and transaction landing.

Tools & capabilities (2)

get-ultra-order

Fetches a swap order from Jupiter's Ultra API, leveraging both DEX routing and RFQ for optimal pricing. Inputs: inputMint, outputMint, amount (string), slippageBps. Output: JSON with requestId, transaction (base64-encoded), inputMint, outputMint, inAmount, outAmount, price.

execute-ultra-order

Requests Jupiter to execute the swap transaction on behalf of the wallet owner, handling slippage, priority fees, and transaction landing. Inputs: requestId, transaction (base64-encoded). Output: JSON with status, transactionId, slot, inputAmountResult, outputAmountResult, swapEvents.

When to use it

  • Get a swap order to trade one Solana token for another (e.g. 1.23 SOL for USDC) with optimal pricing.
  • Execute a previously fetched swap order on-chain using its request ID and transaction.
  • Let an AI assistant perform Solana DEX swaps through natural-language prompts.

Security notes

Requires a base58-encoded Solana wallet private key supplied via the PRIVATE_KEY environment variable. The server can sign and submit real on-chain swap transactions that move funds, so treat the private key as a high-value secret, prefer a dedicated low-balance wallet, and never expose it in shared configs or logs.

Jupiter MCP Server FAQ

Which Jupiter API does this server use?

Jupiter's Ultra API, which combines DEX routing and RFQ (Request for Quote) for optimal swap pricing and also handles slippage, priority fees, and transaction landing on execution.

What do I need to provide to run it?

A Solana RPC URL (SOLANA_RPC_URL) and a base58-encoded wallet private key (PRIVATE_KEY), both supplied as environment variables in the MCP client config. Node.js 18+ is required.

How does a swap work end to end?

Call get-ultra-order with the input/output mints, amount, and slippageBps to receive a requestId and a base64-encoded transaction, then pass those to execute-ultra-order to have Jupiter execute the swap on-chain.

Alternatives to Jupiter MCP Server

Compare all alternatives →

Official Stripe server for payments, customers, subscriptions, invoices, and billing via natural language.

Featured
Verified
stdio (local)
API key
TypeScript
12 tools
Updated 1 month agoRepo

Coinbase's AgentKit MCP extension for onchain actions: transfers, swaps, and contract calls.

Verified
stdio (local)
API key
TypeScript
9 tools
Updated 1 month agoRepo

Alpaca's official trading server for stocks, ETFs, options, and crypto in plain English.

Verified
stdio (local)
API key
Python
12 tools
Updated 1 month agoRepo