Solana Web3.js MCP Server
About
MCP server for Solana web3.js development and smart contract deployment
Details
- Author
- FrankGenGo
- Downloads
- 174
- Categories
- Other
Jump to
- Interact with Solana blockchain across mainnet, testnet, devnet.
- Build, simulate, sign, and send transactions.
- Develop smart contracts using Rust and Solana SDK.
- Manage wallets, generate keypairs, and derive addresses.
- Create, transfer, and manage SPL tokens.
- Access documentation and code templates as resources.
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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Solana Web3.js MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, install dependencies with npm install, build with npm run build, and start with npm start. For Claude Desktop, add the server path to your Claude configuration file, then ask Solana-related tasks such as creating accounts, checking balances, or writing and deploying contracts.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"solana web3.js mcp server": {
"solana": {
"command": "node",
"args": [
"/absolute/path/to/solana-web3js-mcp-server/dist/index.js"
]
}
}
}
}
McpServers
{
"solana": {
"command": "node",
"args": [
"/absolute/path/to/solana-web3js-mcp-server/dist/index.js"
]
}
}
Solana Web3.js MCP Server
A Model Context Protocol (MCP) server that enables AI assistants like Claude to develop and deploy Solana smart contracts end-to-end. This server acts as a bridge between AI language models and the Solana blockchain, providing a standardized interface for blockchain interactions.
> Important Update: This project is currently being migrated from Solana web3.js v1.x to v2.0 to take advantage of improved performance, better type safety, and modern functional programming patterns. See the migration plan for details.
What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to access external tools and data sources in a secure, controlled manner. This server implements the MCP specification to expose Solana blockchain functionality to AI assistants.
What This Server Does
This MCP server provides AI assistants with the ability to:
1. Interact with the Solana Blockchain: Query account data, check balances, view transaction history, and get network status from various Solana clusters (mainnet, testnet, devnet)
2. Create and Manage Transactions: Build, simulate, sign, and send transactions to the Solana blockchain with proper error handling and fee estimation
3. Develop Smart Contracts: Access templates, compile, test, and deploy Solana programs written in Rust using the Solana SDK or Pinocchio framework
4. Manage Wallets and Keys: Generate keypairs, derive addresses, and interact with wallet adapters while maintaining security best practices
5. Work with Tokens: Create, transfer, and manage SPL tokens and token accounts
Architecture
The server exposes three types of MCP capabilities:
- Tools: Functions that perform actions like sending transactions, deploying programs, or generating keypairs
- Resources: Data sources such as documentation, code templates, and blockchain state information
- Prompts: Templates for guiding the AI through complex workflows like smart contract development
All blockchain interactions are performed through the @solana/web3.js library and related SDKs, with the MCP server acting as a secure intermediary between the AI and the blockchain.
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



