Skip to main content
Glama

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 Jupiter

  • jupiter_build_swap_transaction: Build a swap transaction on Jupiter

  • jupiter_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

  1. Clone this repository:

    git clone https://github.com/dcSpark/mcp-server-jupiter.git
    cd mcp-server-jupiter
  2. Install dependencies:

    npm ci
  3. Build 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-jupiter

Configuration

Configure Claude Desktop

To configure Claude Desktop to use this MCP server:

  1. Open Claude Desktop

  2. Navigate to the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    • Linux: ~/.config/Claude/claude_desktop_config.json

  3. 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-jupiter

Usage

Once configured, restart Claude Desktop. Claude will now have access to the Jupiter swap tools. You can ask Claude to:

  1. Get a quote for swapping tokens:

    What's the quote for swapping 1 SOL to USDC?
  2. Build a swap transaction:

    Build a swap transaction for the quote I just got.
  3. 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:

  1. Define the tool in src/tools.ts

  2. Create a handler function in the appropriate handler file

  3. Add the handler to the handlers object in src/tools.ts

Building

npm run build

License

MIT

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    C
    maintenance
    A 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.
    Last updated
    38
    27
    13
    MIT
  • A
    license
    -
    quality
    F
    maintenance
    A 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.
    Last updated
    32
    161
    Apache 2.0
  • F
    license
    -
    quality
    F
    maintenance
    A 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.
    Last updated
    7

View all related MCP servers

Related MCP Connectors

  • Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.

  • Solana token risk-scoring MCP server for AI trading agents with insider wallet cluster detection.

  • Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dcSpark/mcp-server-jupiter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server