solana-mcp

A Model Context Protocol server for interacting with the Solana blockchain, powered by the Solana Agent Kit (https://github.com/sendaifun/solana-agent-kit)

GitHub Stars

123

User Rating

Not Rated

Favorites

0

Views

30

Forks

42

Issues

1

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
Node.js: v16 or higher
pnpm (recommended), npm, or yarn
Solana wallet (with private key)
Solana RPC URL (mainnet, testnet, or devnet)

Installation Steps

1. Quick Install (Recommended)

bash

Download the installation script

curl -fsSL https://raw.githubusercontent.com/sendaifun/solana-mcp/main/scripts/install.sh -o solana-mcp-install.sh

Make it executable and run

chmod +x solana-mcp-install.sh && ./solana-mcp-install.sh --backup

2. Install from npm (recommended for clients like Cursor/Cline)

bash

Install globally

npm install -g solana-mcp

Or install locally in your project

npm install solana-mcp

3. Build from Source

1Clone this repository:
bash
git clone https://github.com/sendaifun/solana-mcp
cd solana-mcp
2Install dependencies:
bash
pnpm install
3Build the project:
bash
pnpm run build

Troubleshooting

Issue: Server won't start Solution: Check Node.js version and reinstall dependencies.

Additional Resources