Labsco
pipedude logo

Jupiter Solana MCP Server

β˜… 1

from pipedude

A comprehensive MCP (Model Context Protocol) server for interacting with Jupiter Protocol on Solana. Features token swaps, search, portfolio management, and intelligent error diagnostics.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

Jupiter MCP Server

A comprehensive MCP (Model Context Protocol) server for interacting with Jupiter Protocol on Solana. Features token swaps, search, portfolio management, and intelligent error diagnostics.

License Node.js Status Jupiter API

πŸš€ Features

  • Token Swaps: Execute swaps via Jupiter's Ultra API with intelligent slippage and fee handling
  • Token Search: Find tokens by symbol, name, or mint address with detailed market data
  • Portfolio Management: View token balances and holdings across your wallet
  • Smart Diagnostics: Intelligent error detection with helpful user guidance
  • SOL Fee Checking: Automatic validation of sufficient SOL for transaction fees
  • Multi-language Support: Full English localization for international users

πŸ› οΈ Available Tools

1. search-token

Search for tokens by symbol, name, or mint address with detailed market information.

Inputs:

  • query: Token symbol (SOL, USDC), name (Solana), or mint address

Returns: Comprehensive token data including:

  • Price and 24h change percentage
  • Trading volume and liquidity metrics
  • Security audit (mint/freeze authority status)
  • Organic score and verification status
  • Holder count and market cap

2. get-balances

Get token balances for any wallet address with automatic token identification.

Inputs:

  • walletAddress (optional): Wallet to check (defaults to configured wallet)
  • mints (optional): Specific token mints to check

Returns: Complete portfolio overview including SOL and all SPL tokens with UI-friendly amounts.

3. get-ultra-order

Fetch optimized swap orders from Jupiter's Ultra API combining DEX routing and RFQ.

Inputs:

  • inputMint: Input token mint address
  • outputMint: Output token mint address
  • amount: Input amount as string (e.g., "1.23")
  • slippageBps: Slippage tolerance in basis points (e.g., 50 for 0.5%)

Returns: Swap order with requestId, transaction, amounts, and calculated exchange rates.

4. execute-ultra-order

Execute swap transactions with intelligent error handling and status monitoring.

Inputs:

  • requestId: Order ID from get-ultra-order
  • transaction: Base64-encoded transaction

Returns: Execution results with transaction signature, Solscan links, and detailed status.

Smart Features:

  • βœ… Pre-flight SOL balance checking
  • πŸ”„ Automatic transaction status polling (up to 2 minutes)
  • 🧠 Intelligent error analysis with helpful suggestions
  • πŸ”— Direct Solscan transaction links

πŸ›‘οΈ Error Handling

The server provides intelligent error detection and user-friendly messages:

  • Insufficient SOL: "❌ Insufficient SOL for transaction fees. Add 0.01 SOL (~$1.25) to your wallet"
  • Slippage Issues: "⚠️ Slippage tolerance exceeded. Try increasing slippage or retry after some time"
  • Network Problems: "πŸ”„ Transaction status determination timeout. You can try again with the same order"

πŸ“ License

This project is licensed under the MIT License. See the LICENSE file for details.

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ž Support