Agentipy Mcp Server

by niceberginc

317 downloads Not rated yet
GitHub

About

The Agentipy MCP Server is an open-source Model Context Protocol (MCP) server that enables Claude AI to interact with the Solana blockchain. It provides a standardized interface for AI agents to perform various blockchain operations, including transactions, wallet management, and

Explore

- Check Solana wallet balances
- Transfer tokens between wallets
- Deploy new tokens on Solana
- Get price predictions via Allora
- Trade and stake tokens using Jupiter
- Retrieve token info from CoinGecko

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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Agentipy Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Python 3.8 or higher
- Claude Desktop installed
- Solana wallet with private key
- Solana RPC URL (mainnet, testnet, or devnet)
- OpenAI API Key (optional)
- Allora API Key (optional)
- CoinGecko Pro API Key (optional)


python -m venv .venv
source .venv/bin/activate  # On Windows, use .venv\Scripts\activate

pip install -r requirements.txt

1. Create a virtual environment:

python -m venv .venv
source .venv/bin/activate  # On Windows, use .venv\Scripts\activate

2. Install required packages:

pip install agentipy>=2.0.8 cryptography>=3.4.7 python-dotenv>=0.17.1 web3>=7.8.0 allora_sdk>=0.2.0 mcp>=1.4.0

Create a .env file with your credentials:

```env

SOLANA_PRIVATE_KEY=your_private_key_here
RPC_URL=your_solana_rpc_url_here

The MCP server provides the following blockchain tools:

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "agentipy mcp server": {
            "agentipy": {
                "command": "/path/to/your/run_mcp.sh",
                "env": {
                    "RPC_URL": "your_solana_rpc_url_here",
                    "SOLANA_PRIVATE_KEY": "your_private_key_here",
                    "OPENAI_API_KEY": "your_openai_api_key",
                    "ALLORA_API_KEY": "your_allora_api_key",
                    "COINGECKO_PRO_API_KEY": "your_coingecko_api_key"
                },
                "disabled": false,
                "autoApprove": [
                    "GET_BALANCE",
                    "GET_PRICE_PREDICTION"
                ]
            }
        }
    }
}

McpServers

{
    "agentipy": {
        "command": "/path/to/your/run_mcp.sh",
        "env": {
            "RPC_URL": "your_solana_rpc_url_here",
            "SOLANA_PRIVATE_KEY": "your_private_key_here",
            "OPENAI_API_KEY": "your_openai_api_key",
            "ALLORA_API_KEY": "your_allora_api_key",
            "COINGECKO_PRO_API_KEY": "your_coingecko_api_key"
        },
        "disabled": false,
        "autoApprove": [
            "GET_BALANCE",
            "GET_PRICE_PREDICTION"
        ]
    }
}

Python Version
License: MIT

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 uses Agentipy 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
- Get price predictions
- Trade and stake tokens
- Deploy new tokens
- Get token information from CoinGecko
- Execute cross-chain bridge transactions using deBridge
- Get real-time price data from Pyth Network
- Access comprehensive token information from CoinGecko
- Monitor trending tokens and pools
- Track top gainers and market movements
- Get detailed token price data and analytics

The server implements the Model Context Protocol specification to standardize blockchain interactions for AI agents.

Prerequisites

- Python 3.8 or higher
- Claude Desktop installed
- Solana wallet with private key
- Solana RPC URL (mainnet, testnet, or devnet)
- OpenAI API Key (optional)
- Allora API Key (optional)
- CoinGecko Pro API Key (optional)

Installation

Option 1: Quick Install (Recommended)

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.