- Explore MCP Servers
- solana-MCP-tradingserver
Solana Mcp Tradingserver
What is Solana Mcp Tradingserver
solana-MCP-tradingserver is an MCP server that enables trading of Solana tokens through the Jupiter DEX aggregator, providing users with a seamless trading experience.
Use cases
Use cases include creating new wallets for trading, importing existing wallets, checking balances, getting swap quotes for token exchanges, and executing swaps between different tokens.
How to use
To use solana-MCP-tradingserver, install the necessary dependencies, build the TypeScript code, and run the server locally. Alternatively, you can run it 24/7 using Docker by building and starting the container.
Key features
Key features include creating and importing Solana wallets, checking token balances, obtaining swap quotes with customizable slippage, executing token swaps, and tracking transaction statuses.
Where to use
solana-MCP-tradingserver can be used in the cryptocurrency trading sector, particularly for trading Solana-based tokens on decentralized exchanges.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Solana Mcp Tradingserver
solana-MCP-tradingserver is an MCP server that enables trading of Solana tokens through the Jupiter DEX aggregator, providing users with a seamless trading experience.
Use cases
Use cases include creating new wallets for trading, importing existing wallets, checking balances, getting swap quotes for token exchanges, and executing swaps between different tokens.
How to use
To use solana-MCP-tradingserver, install the necessary dependencies, build the TypeScript code, and run the server locally. Alternatively, you can run it 24/7 using Docker by building and starting the container.
Key features
Key features include creating and importing Solana wallets, checking token balances, obtaining swap quotes with customizable slippage, executing token swaps, and tracking transaction statuses.
Where to use
solana-MCP-tradingserver can be used in the cryptocurrency trading sector, particularly for trading Solana-based tokens on decentralized exchanges.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Solana Trading Server
An MCP server that provides Solana token trading capabilities through Jupiter DEX aggregator.
Features
- Create and import Solana wallets
- Check token balances
- Get swap quotes with customizable slippage
- Execute token swaps
- Transaction status tracking
Running Locally
- Install dependencies:
npm install
- Build the TypeScript code:
npm run build
- Run the server:
node build/index.js
Running 24/7 with Docker
- Build and start the container:
docker-compose up -d
- View logs:
docker-compose logs -f
- Stop the server:
docker-compose down
The server will automatically restart if it crashes or if the system reboots.
Testing the Functionality
- Create a new wallet:
const response = await use_mcp_tool({
server_name: "solana-trading",
tool_name: "create_wallet",
arguments: {}
});
// Save the publicKey and privateKey
- Import an existing wallet:
const response = await use_mcp_tool({
server_name: "solana-trading",
tool_name: "import_wallet",
arguments: {
privateKey: "2uLPPgFspK9cMThZqZJTPn1yRX4uQSECsh2GGZAj2P4vb2QSvGeWGmb8kSqLWNV9E8W4pBZTeCuAfyAiA4odn37m"
}
});
- Check token balance:
const response = await use_mcp_tool({
server_name: "solana-trading",
tool_name: "get_token_balance",
arguments: {
walletAddress: "wallet-address",
tokenMint: "token-mint-address"
}
});
- Get a swap quote:
const response = await use_mcp_tool({
server_name: "solana-trading",
tool_name: "get_swap_quote",
arguments: {
inputMint: "input-token-mint",
outputMint: "output-token-mint",
amount: "1000000", // Amount in smallest units
slippage: 1 // 1% slippage
}
});
// Save the quote for executing the swap
- Execute a swap:
const response = await use_mcp_tool({
server_name: "solana-trading",
tool_name: "execute_swap",
arguments: {
quote: quoteFromPreviousStep,
walletPrivateKey: "your-wallet-private-key"
}
});
Example Token Mints
Common Solana tokens for testing:
- SOL (Wrapped): So11111111111111111111111111111111111111112
- USDC: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
- BONK: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
- ORCA: orcaEKTdK7LKz57vaAYr9QeNsVEPfiu6QeMU1kektZE
Monitoring & Maintenance
- Check server status:
docker ps
- View real-time logs:
docker-compose logs -f
- Restart the server:
docker-compose restart
- Update the server:
git pull docker-compose down docker-compose up -d --build
Error Handling
The server provides detailed error messages for common issues:
- Invalid private key
- Invalid wallet address
- Invalid token mint
- Insufficient balance
- Failed transactions
- Network errors
Check the logs for detailed error information when issues occur.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










