Solana

Finance and commerce

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

Your AI app calls the Solana MCP server, which does the finance and commerce work and sends the result back to the chat.

About Solana

Solana is a community MCP server from sendaifun, filed in our directory under finance and commerce. A Model Context Protocol server for interacting with the Solana blockchain, powered by the Solana Agent Kit (https://github.com/sendaifun/solana-agent-kit).

The README for Solana lists tools such as GET_ASSET, DEPLOY_TOKEN, GET_PRICE and WALLET_ADDRESS, which your AI app can call once the server is connected.

At a glance

Publisher
sendaifun (community)
Runs
See the README for setup
Written in
Shell
License
Apache-2.0
GitHub stars
167

Tools Solana gives your AI app

  • GET_ASSETRetrieve information about a Solana asset/token.
  • DEPLOY_TOKENDeploy a new token on Solana.
  • GET_PRICEFetch price information for tokens.
  • WALLET_ADDRESSGet the wallet address.
  • BALANCECheck wallet balance.
  • TRANSFERTransfer tokens between wallets.
  • MINT_NFTCreate and mint new NFTs.
  • TRADEExecute token trades.
  • REQUEST_FUNDSRequest funds (useful for testing/development).
  • RESOLVE_DOMAINResolve Solana domain names.
  • GET_TPSGet current transactions per second on Solana.

Tool names as the Solana README lists them. Your AI app shows the live list once Solana is connected.

How to set up Solana

  1. Follow the install steps in the Solana README; it is written in Shell, so have that toolchain ready.
  2. Check the Solana README for keys or settings; the registry lists none that Solana requires.
  3. Add Solana to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Solana tools to confirm the connection.
  5. Run one read-only task with Solana first, such as a call to GET_ASSET, before you allow anything that writes or sends.

Solana compared with similar servers

  • Swagger by Vizioz has fewer GitHub stars than Solana (167 against 167); both are community servers, and both run locally. The Swagger README lists 5 tools to Solana's 11.
  • Yolfi Payments by yolfinance has more GitHub stars than Solana (170 against 167); both are community servers, and Yolfi Payments runs as a remote server and Solana runs on your own machine.
  • Edge Stats by LuxAlgo has fewer GitHub stars than Solana (161 against 167); both are community servers, and both run locally.

Before you connect Solana

  • Give Solana its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Solana tool call until you trust what it does with them.
  • Treat text that Solana fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Solana on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Solana

How marketing and sales teams put Solana to work, by company size. Pick the size closest to yours and start Solana on one use case.

Small business

  • A small business can ask Solana which products and customers drive margin, then plan promotions around them.
  • Owners can use Solana to check refunds, failed payments and churn reasons without opening three dashboards.
  • Solana runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Solana to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Solana to check spend against budget each week and move money to what's working.
  • Start with GET_ASSET and DEPLOY_TOKEN, the tools Solana lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises should keep Solana read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Solana to answer revenue questions by channel and region with figures finance signs off on.
  • Solana is a community server, so have security review the code and pin a version before Solana touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Solana README

From sendaifun/solana-mcp on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Solana Agent Kit MCP Server

Check on Phala

A Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface. This implementation is based on the Solana Agent Kit and enables AI agents to perform blockchain operations seamlessly.

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.

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: Quick Install (Recommended)
# 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

This will start an interactive installation process that will guide you through:

  • Setting up Node.js if needed
  • Configuring your Solana RPC URL and private key
  • Setting up the Claude Desktop integration
Option 2: Install from npm ( recommend for clients like Cursor/Cline)
# Install globally
npm install -g solana-mcp

# Or install locally in your project
npm install solana-mcp
Option 3: Build from Source
  1. Clone this repository:
git clone https://github.com/sendaifun/solana-mcp
cd solana-mcp
  1. Install dependencies:
pnpm install
  1. Build the project:
pnpm run build

Configuration

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 # OPTIONAL
Integration with Claude Desktop

To add this MCP server to Claude Desktop, follow these steps:

  1. Locate the Claude Desktop Configuration File

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. 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": ["solana-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/solana-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": []
        }
      }
    }
    
  3. Restart Claude Desktop After making these changes, restart Claude Desktop for the configuration to take effect.

Project Structure

solana-agent-kit-mcp/
├── src/
│   ├── index.ts          # Main entry point
├── package.json
└── tsconfig.json

Available Tools

The MCP server provides the following Solana blockchain tools:

  • GET_ASSET - Retrieve information about a Solana asset/token
  • DEPLOY_TOKEN - Deploy a new token on Solana
  • GET_PRICE - Fetch price information for tokens
  • WALLET_ADDRESS - Get the wallet address
  • BALANCE - Check wallet balance
  • TRANSFER - Transfer tokens between wallets
  • MINT_NFT - Create and mint new NFTs
  • TRADE - Execute token trades
  • REQUEST_FUNDS - Request funds (useful for testing/development)
  • RESOLVE_DOMAIN - Resolve Solana domain names
  • GET_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:

  1. Verify your Solana private key is correct
  2. Check your RPC URL is accessible
  3. Ensure you're on the intended network (mainnet, testnet, or devnet)
  4. Check Claude Desktop logs for error messages
  5. Verify the build was successful

Dependencies

Key dependencies include:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License.

Questions about Solana

What is the Solana MCP server?

A Model Context Protocol server for interacting with the Solana blockchain, powered by the Solana Agent Kit (https://github.com/sendaifun/solana-agent-kit). Solana is maintained by sendaifun on GitHub at sendaifun/solana-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Solana MCP server?

Solana doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (sendaifun/solana-mcp). Like most servers, Solana ends with a command or URL you paste into your AI app's MCP config.

Does Solana need an API key?

The registry lists no required keys for Solana. Check the Solana README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Solana an official MCP server?

No. Solana is a community server maintained by sendaifun. Community servers can be excellent; read the code and the open issues before you give Solana access to company data.

What license is Solana under?

Solana is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Solana; the service it connects to has its own terms.