Solana Agent Kit

v1.0.0Finance & Fintechstable

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

solana-agent-kit-mcp-servermcpai-integration
Share:
159
Stars
0
Downloads
0
Weekly
0/5

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

A Model Context Protocol server that provides onchain tools for Claude AI, allow
sendaifun

Maintainer

LicenseApache 2.0
Languageshell
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx solana-agent-kit-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-mcp
2

Create 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.json
3

Configure 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"
4

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"
      }
    }
  }
}
5

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.

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.

Quick Config Preview

{ "mcpServers": { "solana-agent-kit-mcp-server": { "command": "npx", "args": ["-y", "solana-agent-kit-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides