Solana Jupiter Swap MCP
Enables interaction with the Solana blockchain, including checking SOL and SPL token balances, transferring SOL, and executing token swaps via Jupiter DEX aggregator for best price routing across Solana DEXs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Solana Jupiter Swap MCPGet me a quote to swap 1 SOL for USDT"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Solana Jupiter Swap MCP
A Model-Context-Protocol server for interacting with Solana blockchain, including wallet operations and token swaps using Jupiter aggregator. This server provides simple RPC endpoints for Solana operations, allowing secure interactions through environment variables.
Features
Check SOL account balances
Get detailed account information
Transfer SOL between accounts
View SPL token balances
Get your wallet address from private key
Swap tokens using Jupiter (Best price routing across all Solana DEXs)
Related MCP server: Solana MCP Server
Supported Tools
Method | Description | Parameters |
getMyAddress | Get your Solana public address and balances from private key | none |
getBalance | Get SOL balance for a Solana address |
|
getAccountInfo | Get detailed account info for a Solana address |
|
getSplTokenBalances | Get SPL token balances for a Solana address |
|
getSwapQuote | Get best swap quote from Jupiter DEX aggregator |
|
executeSwap | Execute a token swap using Jupiter DEX aggregator |
|
transfer | Transfer SOL from your keypair to another address |
|
Usage Example
Example: Get My Address
{
"method": "getMyAddress",
"params": {}
}Example: Get Balance
{
"method": "getBalance",
"params": { "address": "<SOL_ADDRESS>" }
}Example: Get SPL Token Balances
{
"method": "getSplTokenBalances",
"params": { "address": "<SOL_ADDRESS>" }
}Example: Get Swap Quote
{
"method": "getSwapQuote",
"params": {
"inputMint": "So11111111111111111111111111111111111111112", // SOL
"outputMint": "Es9vMFrzaCERa8F1tq8QzZ6pA7r6zG9aG9aG9aG9aG9a", // USDT
"amount": "1000000", // in lamports (1 SOL = 1_000_000_000 lamports)
"slippageBps": 50
}
}Example: Execute Swap
{
"method": "executeSwap",
"params": {
"inputMint": "So11111111111111111111111111111111111111112",
"outputMint": "Es9vMFrzaCERa8F1tq8QzZ6pA7r6zG9aG9aG9aG9aG9a",
"amount": "1000000",
"slippageBps": 50
}
}Example: Transfer SOL
{
"method": "transfer",
"params": {
"toAddress": "<DESTINATION_SOL_ADDRESS>",
"amount": 0.01
}
}Environment Variables (JSON Example)
{
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com",
"SOLANA_PRIVATE_KEY": "your-base58-encoded-solana-private-key"
}Integration Example (claude_desktop_config.json)
{
"mcpServers": {
"solana-jupiter-swap": {
"command": "node",
"args": [
"/PATH/TO/solana-jupiter-swap/build/index.js"
],
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com",
"SOLANA_PRIVATE_KEY": "your-base58-encoded-solana-private-key"
},
"transportType": "stdio"
}
}
}Setup
Clone and install dependencies:
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/Techsavvy5416/solana-jupiter-swap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server