Solana
A simple MCP server implementation that provides AI models with basic Solana RPC methods and helpful development prompts.
What is Solana?
Solana is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to simple mcp server implementation that provides ai models with basic solana rpc methods and helpful development prompts.
A simple MCP server implementation that provides AI models with basic Solana RPC methods and helpful development prompts.
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A simple MCP server implementation that provides AI models w
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx solana-model-context-protocol-mcp-demoConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Solana
The Solana MCP demo server provides AI models with direct access to key Solana RPC methods — including getBalance, getAccountInfo, and getTransaction — through the Model Context Protocol, alongside curated development prompts to guide Solana-specific tasks. Built by the Solana Foundation as a reference implementation, it is designed for developers who want to give Claude or other AI assistants the ability to query live Solana blockchain data and receive context-aware help with Solana program development. It also serves as an extensible starting point for teams building richer Solana integrations.
Prerequisites
- Node.js v16 or higher installed
- pnpm v9.10.0 or compatible (install via 'npm install -g pnpm')
- ts-node installed globally for the TypeScript entry point (optional — a compiled JS fallback is available)
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
Clone the repository
Clone the solana-dev-mcp repository from the Solana Foundation GitHub organization.
git clone https://github.com/solana-foundation/solana-dev-mcp.git
cd solana-dev-mcpInstall dependencies
Install Node.js dependencies using pnpm as specified in the project.
pnpm installGenerate the Claude Desktop config
Run the built-in config generator to produce a ready-to-use JSON config block. Choose the command based on whether ts-node is installed globally.
# If ts-node is installed globally:
pnpm generate-config
# If ts-node is not installed globally, build first:
pnpm build && pnpm generate-config:jsAdd the generated config to Claude Desktop
Open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and paste the generated mcpServers block into it, replacing the placeholder path with the actual absolute path printed by the generator.
{
"mcpServers": {
"solana-dev": {
"command": "ts-node",
"args": ["/absolute/path/to/solana-dev-mcp/index.ts"]
}
}
}Restart Claude Desktop
Fully quit and reopen Claude Desktop. The solana-dev server should appear as an active MCP tool.
Solana Examples
Client configuration
claude_desktop_config.json block for the Solana MCP demo server using ts-node.
{
"mcpServers": {
"solana-dev": {
"command": "ts-node",
"args": ["/absolute/path/to/solana-dev-mcp/index.ts"]
}
}
}Prompts to try
Example prompts to use once the Solana MCP server is connected to Claude Desktop.
- "What is the SOL balance of wallet address 9WzD...abc?"
- "Fetch the account info for program address TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA."
- "Look up the details of transaction signature 5Kb8kL...XYZ."
- "Help me write an Anchor instruction to transfer SOL between two accounts."
- "What are common patterns for deploying a Solana program with Anchor?"Troubleshooting Solana
ts-node not found when Claude Desktop launches the server
Install ts-node globally ('npm install -g ts-node') or use the compiled JS variant: run 'pnpm build' then use 'node' with 'args': ['/path/to/solana-dev-mcp/dist/index.js'] in the config.
RPC calls fail or return null data
The server uses a public Solana RPC endpoint by default. Public endpoints have rate limits. For sustained use, configure a private RPC endpoint by modifying the RPC URL in index.ts before building.
Server appears connected but no tools are listed
Make sure you are running from the cloned directory and that 'pnpm install' completed successfully. If using the JS build, re-run 'pnpm build' after any code changes.
Frequently Asked Questions about Solana
What is Solana?
Solana is a Model Context Protocol (MCP) server that simple mcp server implementation that provides ai models with basic solana rpc methods and helpful development prompts. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Solana?
Follow the installation instructions on the Solana GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Solana?
Solana works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Solana free to use?
Yes, Solana is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Solana Alternatives — Similar Cloud Services Servers
Looking for alternatives to Solana? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Solana 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?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.