Solana MCP Server
Optional integration that can be configured through an API key, though specific capabilities with OpenAI are not detailed in the README.
Provides tools for Solana blockchain interaction including executing transactions, querying accounts, managing wallets, deploying tokens, minting NFTs, checking balances, transferring tokens, and resolving domain names.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Solana MCP Servercheck my wallet balance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server built with the Ping Agent Kit
A Model Context Protocol (MCP) server offering onchain tools for AI, enabling seamless interaction with the Solana blockchain via a standardized interface. Built on the Ping Agent Kit, this implementation allows AI agents to execute blockchain operations efficiently.
Overview
This MCP server extends Claude's capabilities by providing tools to:
Interact with Solana blockchain
Execute transactions
Query account information
Manage Solana wallets
The server implements the Model Context Protocol specification to standardize blockchain interactions for AI agents.
Related MCP server: Solana MCP Server
Prerequisites
Node.js (v16 or higher)
pnpm (recommended), npm, or yarn
Solana wallet with private key
Solana RPC URL (mainnet, testnet, or devnet)
Installation
Option 1: Install from npm ( recommend for clients like Cursor/Cline)
# Install globally
npm install -g ping-mcp
# Or install locally in your project
npm install ping-mcpOption 2: Build from Source
Clone this repository:
git clone https://github.com/PingAIFun/ping-mcp.git
cd ping-mcpInstall dependencies:
pnpm installBuild the project:
pnpm run buildConfiguration
Environment Setup
Create a .env file with your credentials:
# Solana Configuration
SOLANA_PRIVATE_KEY=your_private_key_here
RPC_URL=your_solana_rpc_url_here
OPENAI_API_KEY=your_openai_api_key # OPTIONALIntegration with Claude Desktop
To add this MCP server to Claude Desktop, follow these steps:
Locate the Claude Desktop Configuration File
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the Configuration Create or edit the configuration file and add the following JSON:
If you installed via npm (Option 1):
{ "mcpServers": { "solana-mcp": { "command": "npx", "args": ["ping-mcp"], "env": { "RPC_URL": "your_solana_rpc_url_here", "SOLANA_PRIVATE_KEY": "your_private_key_here", "OPENAI_API_KEY": "your_openai_api_key" // OPTIONAL }, "disabled": false, "autoApprove": [] } } }If you built from source (Option 2):
{ "mcpServers": { "solana-mcp": { "command": "node", "args": ["/path/to/ping-mcp/build/index.js"], "env": { "RPC_URL": "your_solana_rpc_url_here", "SOLANA_PRIVATE_KEY": "your_private_key_here", "OPENAI_API_KEY": "your_openai_api_key" // OPTIONAL }, "disabled": false, "autoApprove": [] } } }Restart Claude Desktop After making these changes, restart Claude Desktop for the configuration to take effect.
Project Structure
ping-agent-kit-mcp/
├── src/
│ ├── index.ts # Main entry point
├── package.json
└── tsconfig.jsonAvailable Tools
The MCP server provides the following Solana blockchain tools:
GET_ASSET- Retrieve information about a Solana asset/tokenDEPLOY_TOKEN- Deploy a new token on SolanaGET_PRICE- Fetch price information for tokensWALLET_ADDRESS- Get the wallet addressBALANCE- Check wallet balanceTRANSFER- Transfer tokens between walletsMINT_NFT- Create and mint new NFTsTRADE- Execute token tradesREQUEST_FUNDS- Request funds (useful for testing/development)RESOLVE_DOMAIN- Resolve Solana domain namesGET_TPS- Get current transactions per second on Solana
Security Considerations
Keep your private key secure and never share it
Use environment variables for sensitive information
Consider using a dedicated wallet for AI agent operations
Regularly monitor and audit AI agent activities
Test operations on devnet/testnet before mainnet
Troubleshooting
If you encounter issues:
Verify your Solana private key is correct
Check your RPC URL is accessible
Ensure you're on the intended network (mainnet, testnet, or devnet)
Check Claude Desktop logs for error messages
Verify the build was successful
Dependencies
Key dependencies include:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.Last updated32161Apache 2.0
- Alicense-qualityDmaintenanceA Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.Last updated3223MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.Last updated5MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.Last updated4
Related MCP Connectors
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PingAIFun/ping-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server