sendaifun

Solana Agent Kit MCP Server

Community sendaifun
Updated

connect any ai agents to solana protocols

Solana Agent Kit MCP Server

SendAI

A Solana Agent Kit implementation using the Model Context Protocol (MCP) for handling protocol operations on the Solana blockchain.

Features

  • Supports all actions from the Solana Agent Kit
  • MCP server implementation for standardized interactions
  • Environment-based configuration

Prerequisites

  • Node.js (v16 or higher recommended)
  • pnpm or yarn or npm
  • Solana wallet with private key
  • Solana RPC URL

Installation

pnpm install

Configuration

  1. Configure the claude_desktop_config.json file by editing the env fields.
SOLANA_PRIVATE_KEY=your_private_key_here
RPC_URL=your_solana_rpc_url_here
  1. Change the Claude Desktop MCP server settings:

For MacOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

For Windows:

code $env:AppData\Claude\claude_desktop_config.json

The final configuration should look like the following (replace the path with your absolute project path):

{
    "mcpServers": {
        "agent-kit": {
            "command": "node",
            "env": {
                "RPC_URL": "your_solana_rpc_url_here",
                "SOLANA_PRIVATE_KEY": "your_private_key_here"
            },
            "args": [
                "/ABSOLUTE/PATH/TO/YOUR/PROJECT"
            ]
        }
    }
}

Note: Make sure to restart Claude Desktop after updating the configuration and building the project.

Building the Project

To build the project, run:

pnpm run build

This will compile the TypeScript code and set the appropriate permissions for the executable.

Project Structure

  • src/ - Source code directory
  • src/index.ts - Main entry point implementing the MCP server

Dependencies

License

ISC

Contributing

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

MCP Server · Populars

MCP Server · New

    dsphper

    🎨 Lanhu MCP Server

    ⚡ 需求分析效率提升 200%!首个为 AI 编程时代设计的团队协作 MCP 服务器,自动分析需求自动编写前后端代码,下载切图

    Community dsphper
    trade-it-inc

    Trade It MCP Server

    Guide to connect to Trade It's MCP server and trade stocks and crypto

    Community trade-it-inc
    vectorize-io

    hindsight

    Hindsight: Agent Memory That Works Like Human Memory

    Community vectorize-io
    jerichosequitin

    Metabase MCP Server

    A high-performance Model Context Protocol server for AI integration with Metabase analytics platforms. Features response optimization, robust error handling, and comprehensive data access tools. Featured on Claude.

    Community jerichosequitin
    82ch

    MCP-Dandan - MCP Security Framework

    MCP Security Solution for Agentic AI — real-time proxying, behavior analysis, and malicious tool detection

    Community 82ch