logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

solana-jupiter-interface-mcp

A Model Context Protocol (MCP) utility designed to interface with the Jupiter Decentralized Exchange (DEX) Aggregator on the Solana network. It provides programmatic access for obtaining token swap quotations, formulating necessary transaction payloads, and broadcasting finalized swap instructions.

Author

solana-jupiter-interface-mcp logo

dcSpark

MIT License

Quick Info

GitHub GitHub Stars 2
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

jupitercryptoswapsjupiter swapserver jupiterconnects jupiter

MCP Server for Jupiter DEX Integration on Solana

This repository furnishes a specialized Model Context Protocol (MCP) server component, affording large language models (like Claude) authorized interaction with the Jupiter swap aggregation service operating on the Solana blockchain. This bridge facilitates automated execution of essential decentralized finance (DeFi) trade maneuvers, specifically quoting, transaction construction, and submission.

Exposed Functionality

The MCP endpoint exposes the following discrete methods for LLM invocation:

  • jupiter_get_quote: Fetches current market pricing and terms for a prospective token exchange via Jupiter.
  • jupiter_build_swap_transaction: Prepares the serialized Solana transaction object contingent upon a prior quote.
  • jupiter_send_swap_transaction: Submits the finalized, signed swap transaction payload to the Solana network for confirmation.

System Requirements

To successfully deploy and operate this service:

  • A runtime environment supporting Node.js (version 16 or newer) is mandatory.
  • Access to the Claude Desktop application is required for configuration and use.

Deployment Steps

  1. Repository Retrieval: bash git clone https://github.com/dcSpark/mcp-server-jupiter.git cd mcp-server-jupiter

  2. Dependency Resolution: bash npm ci

  3. Compilation: bash npm run build

Global Access Option

Alternatively, the package can be installed system-wide or invoked via npx:

# System-wide installation
npm install -g @mcp-dockmaster/mcp-server-jupiter

# Direct invocation using npx
npx @mcp-dockmaster/mcp-server-jupiter

Configuration for Claude Desktop

To enable Claude Desktop to leverage these Solana functionalities, modify its configuration file:

  1. Launch the Claude Desktop client.
  2. Locate the configuration file path:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Integrate the server specification into the mcpServers section:

For locally built installations:

{
  "mcpServers": {
    "mcp-server-jupiter": {
      "command": "node",
      "args": [
        "/path/to/your/mcp-server-jupiter/build/index.js"
      ]
    }
  }
}

For globally installed or npx usage:

{
  "mcpServers": {
    "mcp-server-jupiter": {
      "command": "npx",
      "args": [
        "@mcp-dockmaster/mcp-server-jupiter"
      ]
    }
  }
}

Execution Methods

To initiate the server process:

# Local build execution
node build/index.js

# Global execution
mcp-server-jupiter

# Via npx
npx @mcp-dockmaster/mcp-server-jupiter

Operational Workflow

After applying the configuration and restarting Claude Desktop, the model gains access to Jupiter's trading capabilities. Example user requests include:

  1. Obtaining exchange terms: Inquire about the exchange rate for converting 1 SOL into USDC.

  2. Transaction construction: Generate the Solana transaction payload based on the preceding quote.

  3. Transaction submission: Broadcast the constructed swap transaction to the network.

Claude delegates these specific operations to the external Jupiter MCP utility.

Development Guidelines

Introducing New Capabilities

To extend the server's functionality:

  1. Define the new tool specification within the src/tools.ts file.
  2. Implement the corresponding execution logic in the appropriate handler module.
  3. Register the handler function within the main handlers map in src/tools.ts.

Compilation Process

npm run build

Licensing

This project is distributed under the MIT License.

WIKIPEDIA: Tron (stylized as TRON) is a decentralized, proof-of-stake blockchain with smart contract functionality. The cryptocurrency native to the blockchain is known as Tronix (TRX). It was founded in March 2014 by Justin Sun and, since 2017, has been overseen and supervised by the TRON Foundation, a non-profit organization in Singapore, established in the same year. It is open-source software. Tron was originally an Ethereum-based ERC-20 token, which switched protocol to its own blockchain in 2018. On some cryptocurrency wallets, users can't withdraw their funds until they have enough amount for the network fee. Tron has been criticised for enabling organized crime, with The Wall Street Journal stating in 2025 that it is a "popular channel for crypto’s criminal fraternity to move funds" and responsible for "more than half of all illegal crypto activity" in 2024, with the United Nations Office on Drugs and Crime calling it a “preferred choice for crypto money launderers” in Asia.

== History == Tron was founded by Justin Sun in 2017. The TRON Foundation was established in July 2017 in Singapore. The TRON Foundation raised $70 million in 2017 through an initial coin offering (ICO) shortly before China outlawed the digital tokens. The testnet, Blockchain Explorer, and Web Wallet were all launched by March 2018. TRON Mainnet launched shortly afterward in May 2018, marking the Odyssey 2.0 release as a technical milestone for TRON. In June 2018, TRON switched its protocol from an ERC-20 token on top of Ethereum to an independent peer-to-peer network. On 25 July 2018, the TRON Foundation announced it had finished the acquisition of BitTorrent, a peer-to-peer file sharing service. Upon this acquisition, in August 2018, BitTorrent Founder Bram Cohen also disclosed that he was leaving the company to found a separate cryptocurrency, Chia. By January 2019, TRON had a total market cap of about $1.6 bn. Despite this market performance, some authors viewed TRON as a typical case of the complex and disordered nature of cryptocurrencies. In February 2019, after being acquired by TRON Foundation, BitTorrent started its own token sale based on the TRON network. In late 2021, Justin Sun resigned as CEO of the TRON Foundation, which was subsequently reorganized as a DAO. In March 2023, Sun and Tron were sued by the U.S. Securities and Exchange Commission (SEC) for selling unregistered securities related to the sale and promotion of Tronix (TRX) and BitTorrent (BBT) tokens; the SEC alleged that Sun and Tron had engaged in wash trading in the secondary market for TRX in order to buoy its price. $31 million of proceeds were generated through thousands of Tronix trades between two accounts Sun controlled. Eight celebrities, including Akon, Ne-Yo, Austin Mahone, Soulja Boy, Lindsay Lohan, Jake Paul and Lil Yachty, were charged with promoting these cryptocurrencies without disclosing that they were sponsored, with all those other than Soulja Boy, and Mahone settling with t

See Also

`