MCP Jupiter
Access Jupiter's swap API on the Solana blockchain.
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:
git clone https://github.com/dcSpark/mcp-server-jupiter.git cd mcp-server-jupiter -
Install dependencies:
npm ci -
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:
-
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:
{
"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:
-
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.ts - Create a handler function in the appropriate handler file
- Add the handler to the
handlersobject insrc/tools.ts
Building
npm run build
License
MIT
Related Servers
Trade-MCP
A modular trading automation project using the Zerodha Kite Connect API for tool-based and resource-based automation.
Draw Architecture
Generate draw.io system architecture diagrams from text descriptions using the ZhipuAI large model.
MCP-Portainer Bridge
Manage Docker containers through the Portainer API.
Agile Planner MCP Server
An AI-powered server for generating agile artifacts like backlogs, features, and user stories.
ShaderToy-MCP
Query and interact with ShaderToy shaders using large language models.
Tableau MCP
A suite of tools for developers to build AI applications that integrate with Tableau.
Reloaderoo
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.
ZeroPath MCP Server
Interact with your product security findings using natural language.
Zen MCP
Orchestrates multiple AI models like Claude and Gemini for enhanced code analysis, problem-solving, and collaborative development.
MCP Tools
A collection of MCP servers for growth and analytics, including a server for Google Analytics.