MCP Jupiter 服务器
为 Claude 提供访问 Jupiter 交换 API 的 MCP 服务器,支持 Solana 区块链上的代币交换操作。
快速入门
-
克隆仓库并进入目录: git clone https://github.com/dcSpark/mcp-server-jupiter.git cd mcp-server-jupiter
-
安装依赖并构建项目: npm ci npm run build
-
配置 Claude Desktop:
- 打开配置文件(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json)。
- 添加以下内容: { "mcpServers": { "mcp-server-jupiter": { "command": "node", "args": ["/path/to/your/mcp-server-jupiter/build/index.js"] } } }
-
启动服务: node build/index.js
-
使用 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.