Integrations
Enables performing operations on the Solana blockchain, specifically for executing token swaps through Jupiter's swap API.
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
Prerequisites
- Node.js (v16 or higher)
- Claude Desktop application
Installation
- Clone this repository:Copy
- Install dependencies:Copy
- Build the project:Copy
Global Installation
You can also install the package globally or use it directly with npx:
Configuration
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.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
- Add the MCP server configuration:
If you've installed the package globally or want to use npx, you can configure it like this:
Running Locally
Usage
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:Copy
- Build a swap transaction:Copy
- Send a swap transaction:Copy
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.ts
- Create a handler function in the appropriate handler file
- Add the handler to the
handlers
object insrc/tools.ts
Building
License
MIT
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
A Model Context Protocol server that enables Claude to perform Solana token swaps through Jupiter's API, including getting quotes, building transactions, and sending swap transactions on the Solana blockchain.
Related Resources
Related MCP Servers
- -securityAlicense-qualityA 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 -1198TypeScriptMIT License
- -securityAlicense-qualityA 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 -5972Apache 2.0
- -securityAlicense-qualityA 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.Last updated -5915TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.Last updated -TypeScriptMIT License