MCP Jupiter
The MCP Jupiter server enables Claude to interact with Jupiter's swap API on the Solana blockchain for token swaps. You can:
Get Quotes: Retrieve quotes for swapping tokens using
jupiter_get_quoteBuild Swap Transactions: Create swap transactions using a quote response and user public key via
jupiter_build_swap_transactionSend Swap Transactions: Execute swap transactions with customizable options through
jupiter_send_swap_transaction
Enables performing operations on the Solana blockchain, specifically for executing token swaps through Jupiter's swap API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Jupiter get a quote for swapping 0.5 SOL to USDC"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Jupiter
This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Jupiter's swap API. The server enables Claude to perform operations like getting quotes, building swap transactions, and sending swap transactions on the Solana blockchain using Jupiter.
Overview
The MCP server exposes several tools to Claude:
jupiter_get_quote: Get a quote for swapping tokens on Jupiterjupiter_build_swap_transaction: Build a swap transaction on Jupiterjupiter_send_swap_transaction: Send a swap transaction on Jupiter
Related MCP server: Solana Agent Kit MCP Server
Prerequisites
Node.js (v16 or higher)
Claude Desktop application
Installation
Clone this repository:
git clone https://github.com/dcSpark/mcp-server-jupiter.git cd mcp-server-jupiterInstall dependencies:
npm ciBuild the project:
npm run build
Global Installation
You can also install the package globally or use it directly with npx:
# Install globally
npm install -g @mcp-dockmaster/mcp-server-jupiter
# Or use directly with npx
npx @mcp-dockmaster/mcp-server-jupiterConfiguration
Configure Claude Desktop
To configure Claude Desktop to use this MCP server:
Open Claude Desktop
Navigate to the Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the MCP server configuration:
{
"mcpServers": {
"mcp-server-jupiter": {
"command": "node",
"args": [
"/path/to/your/mcp-server-jupiter/build/index.js"
]
}
}
}If you've installed the package globally or want to use npx, you can configure it like this:
{
"mcpServers": {
"mcp-server-jupiter": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-jupiter"
]
}
}
}Running Locally
# If installed locally
node build/index.js
# If installed globally
mcp-server-jupiter
# Using npx
npx @mcp-dockmaster/mcp-server-jupiterUsage
Once configured, restart Claude Desktop. Claude will now have access to the Jupiter swap tools. You can ask Claude to:
Get a quote for swapping tokens:
What's the quote for swapping 1 SOL to USDC?Build a swap transaction:
Build a swap transaction for the quote I just got.Send a swap transaction:
Send the swap transaction I just built.
Claude will use the MCP server to interact with Jupiter's swap API directly.
Development
Adding New Tools
To add new tools to the MCP server:
Define the tool in
src/tools.tsCreate a handler function in the appropriate handler file
Add the handler to the
handlersobject insrc/tools.ts
Building
npm run buildLicense
MIT
Available Tools
3 toolsjupiter_build_swap_transactionC
Build a swap transaction on Jupiter
Inputs: quoteResponse (required), userPublicKey (required), prioritizationFeeLamports, computeUnitPriceMicroLamports, +1 more.
jupiter_get_quoteC
Get a quote for swapping tokens on Jupiter
Inputs: inputMint (required), outputMint (required), amount (required), slippageBps, +6 more.
jupiter_send_swap_transactionC
Send a swap transaction on Jupiter
Inputs: swapTransaction, serializedTransaction, skipPreflight, maxRetries.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose in the swap workflow: get_quote for pricing, build_swap_transaction for constructing the transaction, and send_swap_transaction for execution. There is no overlap or ambiguity between these three steps.
All tools follow a consistent 'jupiter_verb_noun' pattern with snake_case, using descriptive verbs (get, build, send) that clearly indicate the action. The naming is predictable and uniform throughout the set.
With 3 tools, this server is well-scoped for its purpose of facilitating token swaps on Jupiter. Each tool serves a distinct and essential function in the swap process, making the count appropriate and efficient.
The tool set provides complete coverage for the core swap workflow: getting a quote, building the transaction, and sending it. There are no obvious gaps for this focused domain, ensuring agents can perform swaps end-to-end without dead ends.
Related MCP Connectors
Keyless Solana swap quotes (Jupiter) and token facts, with a link the human signs. No keys.
Jupiter - 4 tools for swap quotes, liquidity pools, and trading data
Solana Jupiter quotes and package preflight for AI agents. Free sample. Paid x402 on Solana USDC.
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol server that provides Claude with comprehensive access to Solana blockchain data via the Helius API, enabling operations like checking wallet balances, retrieving blockchain information, and interacting with tokens and NFTs.3831 npm14MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.45 npm167Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.45 npm21MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network information.7MIT