Solana

v1.0.0Cloud Servicesstable

A simple MCP server implementation that provides AI models with basic Solana RPC methods and helpful development prompts.

mcpmcp-serversolana
Share:
43
Stars
0
Downloads
0
Weekly
0/5

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

Access basic Solana RPC methods
Interact with Solana blockchain
LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMar 29, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx solana-model-context-protocol-mcp-demo

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

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
1

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

Install dependencies

Install Node.js dependencies using pnpm as specified in the project.

pnpm install
3

Generate 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:js
4

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

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.

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.

Quick Config Preview

{ "mcpServers": { "solana-model-context-protocol-mcp-demo": { "command": "npx", "args": ["-y", "solana-model-context-protocol-mcp-demo"] } } }

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

Read the full setup guide →

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.

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