Are you the author? Sign in to claim
A Model Context Protocol server that facilitates interaction with the Solana blockchain, built using 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.
This MCP server extends Claude's capabilities by providing tools to:
The server implements the Model Context Protocol specification to standardize blockchain interactions for AI agents.
# Install globally
npm install -g ping-mcp
# Or install locally in your project
npm install ping-mcp
git clone https://github.com/PingAIFun/ping-mcp.git
cd ping-mcp
pnpm install
pnpm run build
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 # OPTIONAL
To add this MCP server to Claude Desktop, follow these steps:
Locate the Claude Desktop Configuration File
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd 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.
ping-agent-kit-mcp/
├── src/
│ ├── index.ts # Main entry point
├── package.json
└── tsconfig.json
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 SolanaIf you encounter issues:
Key dependencies include:
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows