Solana Jupiter Swap
БесплатноНе проверенEnables Solana wallet operations and token swaps using Jupiter aggregator.
Описание
Enables Solana wallet operations and token swaps using Jupiter aggregator.
README
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)
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 | address (string, required) |
| getAccountInfo | Get detailed account info for a Solana address | address (string, required), encoding ("base58" |
| getSplTokenBalances | Get SPL token balances for a Solana address | address (string, required) |
| getSwapQuote | Get best swap quote from Jupiter DEX aggregator | inputMint (string), outputMint (string), amount (string), slippageBps (number, optional) |
| executeSwap | Execute a token swap using Jupiter DEX aggregator | inputMint (string), outputMint (string), amount (string), slippageBps (number, optional) |
| transfer | Transfer SOL from your keypair to another address | toAddress (string), amount (number, in SOL) |
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:
Установка Solana Jupiter Swap
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Techsavvy5416/solana-jupiter-swap-mcpFAQ
Solana Jupiter Swap MCP бесплатный?
Да, Solana Jupiter Swap MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Solana Jupiter Swap?
Нет, Solana Jupiter Swap работает без API-ключей и переменных окружения.
Solana Jupiter Swap — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Solana Jupiter Swap в Claude Desktop, Claude Code или Cursor?
Открой Solana Jupiter Swap на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Solana Jupiter Swap with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
