Solana Agent Kit
A Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network inf
What is Solana Agent Kit?
Solana Agent Kit is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server that provides onchain tools for claude ai, allowing it to interact with the solana blockchain through a standardized interface for operations like managing assets, execut...
A Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network inf
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol server that provides onchain tools
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx solana-agent-kit-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Solana Agent Kit
Solana Agent Kit MCP Server gives AI assistants like Claude direct access to the Solana blockchain through a standardized MCP interface. It exposes 11 onchain operations including checking wallet balances, transferring tokens, deploying new tokens, minting NFTs, executing trades, fetching asset details and price data, resolving domain names, and monitoring network transaction throughput. Developers and DeFi users use it to automate blockchain workflows and build AI agents that can autonomously interact with the Solana ecosystem.
Prerequisites
- Node.js 18 or higher with npm or pnpm available
- A Solana wallet private key (base58 encoded) — use a dedicated wallet for AI agent operations, not your main wallet
- A Solana RPC endpoint URL (e.g. mainnet-beta, devnet, or a custom RPC from providers like Helius or QuickNode)
- An MCP client such as Claude Desktop, Claude Code, or Cursor
- Optional: OpenAI API key for extended AI features
Install solana-mcp globally via npm
Install the Solana Agent Kit MCP server package globally so it can be referenced in your MCP client configuration.
npm install -g solana-mcpCreate a dedicated Solana wallet for AI operations
Never use your main wallet for AI agent operations. Create a new keypair using the Solana CLI and fund it with only the tokens needed for your tasks.
solana-keygen new --outfile ~/.config/solana/ai-agent-wallet.jsonConfigure environment variables
Set the required credentials. SOLANA_PRIVATE_KEY is the base58-encoded private key of your AI agent wallet. RPC_URL should point to your preferred Solana network.
export SOLANA_PRIVATE_KEY="your_base58_encoded_private_key"
export RPC_URL="https://api.devnet.solana.com"Add to Claude Desktop configuration
Edit your Claude Desktop config file to register the Solana MCP server with the required environment variables.
{
"mcpServers": {
"solana": {
"command": "npx",
"args": ["solana-agent-kit-mcp-server"],
"env": {
"SOLANA_PRIVATE_KEY": "your_base58_private_key",
"RPC_URL": "https://api.devnet.solana.com",
"OPENAI_API_KEY": "sk-optional"
}
}
}
}Test on devnet before mainnet
Always test all agent operations on Solana devnet first. Request airdrop funds on devnet using the airdrop tool before switching RPC_URL to mainnet-beta.
Solana Agent Kit Examples
Client configuration
Claude Desktop configuration for the Solana Agent Kit MCP server with devnet as the RPC endpoint.
{
"mcpServers": {
"solana": {
"command": "npx",
"args": ["solana-agent-kit-mcp-server"],
"env": {
"SOLANA_PRIVATE_KEY": "your_base58_encoded_private_key",
"RPC_URL": "https://api.devnet.solana.com",
"OPENAI_API_KEY": "sk-your-openai-key"
}
}
}
}Prompts to try
Use these prompts in Claude once the Solana MCP server is connected and configured.
- "What is the SOL balance of my AI agent wallet?"
- "Transfer 0.1 SOL to address ABC123..."
- "Deploy a new SPL token called TestCoin with symbol TCN and supply of 1,000,000"
- "What is the current price of SOL?"
- "Mint an NFT to my wallet using this metadata URI"Troubleshooting Solana Agent Kit
Invalid private key error on startup
SOLANA_PRIVATE_KEY must be the base58-encoded private key string, not the JSON array format used by the Solana CLI keypair files. Convert using: 'cat ~/.config/solana/ai-agent-wallet.json | python3 -c "import json,base58,sys; k=json.load(sys.stdin); print(base58.b58encode(bytes(k)).decode())"'
RPC rate limiting or connection failures
Public RPC endpoints (api.mainnet-beta.solana.com, api.devnet.solana.com) have strict rate limits. Consider using a dedicated RPC provider like Helius (helius.dev) or QuickNode for production usage. Update RPC_URL in your config to the provider's endpoint.
Transactions failing with insufficient funds
On devnet, request an airdrop using the request development funds tool in Claude. On mainnet, ensure the wallet has enough SOL to cover transaction fees (typically 0.000005 SOL per transaction) plus the value being transferred or minted.
Frequently Asked Questions about Solana Agent Kit
What is Solana Agent Kit?
Solana Agent Kit is a Model Context Protocol (MCP) server that model context protocol server that provides onchain tools for claude ai, allowing it to interact with the solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network inf It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Solana Agent Kit?
Follow the installation instructions on the Solana Agent Kit GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Solana Agent Kit?
Solana Agent Kit works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Solana Agent Kit free to use?
Yes, Solana Agent Kit is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.
Solana Agent Kit Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Solana Agent Kit? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Solana Agent Kit in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Solana Agent Kit?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.