Solana

by akc2267

Not rated
GitHub

About

Integrates with Solana blockchain using Web3.js, enabling automated transactions, smart contract deployments, and blockchain analytics.

Details

Author
akc2267
Repository
akc2267/solana-mcp-server
Categories
Productivity, Developer Tools, Design, Workplace, AI, Infrastructure, Automation, Communication

- Get current slot number
- Check account balances
- Get detailed account information
- Display keypair information
- Transfer SOL between accounts

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Solana
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /PATH/TO/solana-mcp-server/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Ask Claude:
- whats the latest slot on solana?
- whats the balance of 62QXuWZ3WT6ws1ZFxJobVDVXn6bEsiYpLo5yG612U6u3?
- Here's my test key [REPLACE WITH SECRET KEY]. let's transfer 0.001 SOL to [REPLACE WITH PUBLIC ADDRESS]

clone and install dependencies:

git clone https://github.com/yourusername/solana-mcp-server.git
cd solana-mcp-server
npm install

build the tool

npm run build

add the tool to your claude_desktop_config.json

"solana-rpc": {
"command": "node",
"args": [
"/PATH/TO/solana-mcp-server/build/index.js"
]
}

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "solana": {
            "cwd": "string (optional)",
            "env": {},
            "args": [
                "/PATH/TO/solana-mcp-server/build/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "cwd": "string (optional)",
    "env": [],
    "args": [
        "/PATH/TO/solana-mcp-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "cwd": "string (optional)",
    "env": [],
    "args": [
        "/PATH/TO/solana-mcp-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "cwd": "string (optional)",
    "env": [],
    "args": [
        "/PATH/TO/solana-mcp-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Solana MCP Server

A Model-Context-Protocol server for interacting with the Solana blockchain. This server provides simple RPC endpoints for common Solana operations.

Features

- Get current slot number
- Check account balances
- Get detailed account information
- Display keypair information
- Transfer SOL between accounts

Quickstart

clone and install dependencies:

git clone https://github.com/yourusername/solana-mcp-server.git
cd solana-mcp-server
npm install

build the tool

npm run build

add the tool to your claude_desktop_config.json

"solana-rpc": {
"command": "node",
"args": [
"/PATH/TO/solana-mcp-server/build/index.js"
]
}

Usage

Ask Claude:
- whats the latest slot on solana?
- whats the balance of 62QXuWZ3WT6ws1ZFxJobVDVXn6bEsiYpLo5yG612U6u3?
- Here's my test key [REPLACE WITH SECRET KEY]. let's transfer 0.001 SOL to [REPLACE WITH PUBLIC ADDRESS]

Security Note

Only use this with a test wallet with a small amount of funds.

RPC Endpoint

The server connects to Solana's mainnet at https://api.mainnet-beta.solana.com. To use a different network (like devnet or testnet), modify the SOLANA_RPC constant in src/index.ts.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.