MCP Jupiter
MCP 木星
此代码库包含一个模型上下文协议 (MCP) 服务器,该服务器为 Claude 提供了访问 Jupiter 掉期 API 的权限。该服务器使 Claude 能够使用 Jupiter 在 Solana 区块链上执行诸如获取报价、构建掉期交易以及发送掉期交易等操作。
概述
MCP 服务器向 Claude 公开了几个工具:
jupiter_get_quote:获取在 Jupiter 上兑换代币的报价jupiter_build_swap_transaction:在 Jupiter 上建立交换交易jupiter_send_swap_transaction:在 Jupiter 上发送交换交易
Related MCP server: Solana Agent Kit MCP Server
先决条件
Node.js(v16 或更高版本)
Claude桌面应用程序
安装
克隆此存储库:
git clone https://github.com/dcSpark/mcp-server-jupiter.git cd mcp-server-jupiter安装依赖项:
npm ci构建项目:
npm run build
全局安装
您还可以全局安装该包或直接通过 npx 使用它:
# Install globally
npm install -g @mcp-dockmaster/mcp-server-jupiter
# Or use directly with npx
npx @mcp-dockmaster/mcp-server-jupiter配置
配置 Claude 桌面
要配置 Claude Desktop 以使用此 MCP 服务器:
打开 Claude 桌面
导航到 Claude Desktop 配置文件:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
添加 MCP 服务器配置:
{
"mcpServers": {
"mcp-server-jupiter": {
"command": "node",
"args": [
"/path/to/your/mcp-server-jupiter/build/index.js"
]
}
}
}如果您已经全局安装了该包或者想要使用 npx,您可以像这样配置它:
{
"mcpServers": {
"mcp-server-jupiter": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-jupiter"
]
}
}
}本地运行
# If installed locally
node build/index.js
# If installed globally
mcp-server-jupiter
# Using npx
npx @mcp-dockmaster/mcp-server-jupiter用法
配置完成后,重新启动 Claude Desktop。Claude 现在就可以使用 Jupiter 交换工具了。您可以让 Claude 执行以下操作:
获取代币兑换报价:
What's the quote for swapping 1 SOL to USDC?建立掉期交易:
Build a swap transaction for the quote I just got.发送掉期交易:
Send the swap transaction I just built.
Claude 将使用 MCP 服务器直接与 Jupiter 的交换 API 进行交互。
发展
添加新工具
要向 MCP 服务器添加新工具:
在
src/tools.ts中定义工具在适当的处理程序文件中创建处理程序函数
将处理程序添加到
src/tools.ts中的handlers对象
建筑
npm run build执照
麻省理工学院
Maintenance
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
- AlicenseCqualityCmaintenanceA 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.381014MIT
- AlicenseNot gradedqualityFmaintenanceA 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.40162Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA 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.4023MIT
- FlicenseNot gradedqualityFmaintenanceA 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.7
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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