
cursor talk to jupiter mcp
一个为 Cursor IDE 提供的 Jupiter 集成工具,支持 Solana 上的 DeFi 操作。
Repository Info
About This Server
一个为 Cursor IDE 提供的 Jupiter 集成工具,支持 Solana 上的 DeFi 操作。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Cursor Talk to Jupiter MCP
A Model Context Protocol (MCP) server that integrates Jupiter Exchange with Cursor IDE, enabling seamless DeFi operations on Solana:
- Token swaps
- Price quotes
- Profit/loss calculation
- CSV export functionality
Features
- 🔄 Real-time token swap quotes from Jupiter API
- 💱 Execute token swaps directly on Solana
- 📊 Calculate profit/loss for your trades
- 📥 Export complete swap history to CSV
Prerequisites
Before you begin, ensure you have the following:
- ✨ Solana wallet (e.g., Phantom, Solflare, Jupiter etc) with your private/public keys
- 🏃♂️ Bun installed on your system
- 💻 Cursor IDE installed
Setup
-
Clone the repository
git clone https://github.com/alansory/cursor-talk-to-jupiter-mcp.git cd cursor-talk-to-jupiter-mcp -
Install dependencies
bun install -
Configure environment Create a
.envfile with the following:WALLET_PRIVATE_KEY=your_solana_wallet_private_key WALLET_PUBLIC_KEY=your_solana_wallet_public_key JUPITER_API_URL=https://lite-api.jup.ag/swap/v1 -
Start the server
bun src/talk_to_jupiter_mcp/server.ts
Cursor Integration
-
Configure MCP Add the following to
~/.cursor/mcp.json:{ "mcpServers": { "TalkToJupiter": { "command": "bun", "args": ["cursor-talk-to-jupiter-mcp@latest"] } } } -
Available Commands Use these commands in Cursor Composer mode:
Get price quote for swapping 1 SOL to USDCSwap 1000000000 lamports of SOL to USDCCalculate profit or loss for my Jupiter swapsExport my swap history to CSV
Testing
- 🔍 Use
pnpm inspectto launch the MCP Inspector UI for debugging - ⚠️ Always test swaps with small amounts on Solana mainnet first
Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Submit a pull request
Quick Start
Clone the repository
git clone https://github.com/alansory/cursor-talk-to-jupiter-mcpInstall dependencies
cd cursor-talk-to-jupiter-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.