NP

noahgsolomon/pumpfun-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 7 forks 品質 55 トレンド 0

Solana の Pump.fun プラットフォームと相互作用するためのモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、AIアシスタントがポンププラットフォーム上でトークンを作成、購入、販売できるようにします.

概要

Solana の Pump.fun プラットフォームと相互作用するためのモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、AIアシスタントがポンププラットフォーム上でトークンを作成、購入、販売できるようにします。 [https://github.com/user-attachments/assets/0b0f1f6f-6ea6-4ca8-92a8-b4cc895814e4] Claude または MCP 互換 AI アシスタントでこのサーバーを使用するには、次の設定を MCP クライアントに追加します。 MacOS で、Claude デスクトップでこれを実行したい場合は、~/Library/Application \Support/Claude/claude desktop config.json ファイルで、次のように書きます。 Helius RPC URL で [https://your-helius-rpc-url.com] を置換します。 3. Solana RPC URL で .env ファイルを作成します。 既存の Solana ウォレットを使用するには、.env ファイルに秘密鍵を追加します。 その後、変換スクリプトを実行して、キーペアファイルを作成します

概要(AI 翻訳)

Solana の Pump.fun プラットフォームと相互作用するためのモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、AIアシスタントがポンププラットフォーム上でトークンを作成、購入、販売できるようにします。

使用法

[https://github.com/user-attachments/assets/0b0f1f6f-6ea6-4ca8-92a8-b4cc895814e4]

Claude または MCP 互換 AI アシスタントでこのサーバーを使用するには、次の設定を MCP クライアントに追加します。

MacOS で、Claude デスクトップでこれを実行したい場合は、~/Library/Application \Support/Claude/claude desktop config.json ファイルで、次のように書きます。

Helius RPC URL で [https://your-helius-rpc-url.com] を置換します。

インストール

  1. このリポジトリをクローンする:

  2. 依存関係を取付けて下さい:

  3. Solana RPC URL で [.env] ファイルを作成します。

Heliusから無料のRPC URLを取得できます。

既存の Solana ウォレットを使用するには、[.env] ファイルに秘密鍵を追加します。

その後、変換スクリプトを実行して、キーペアファイルを作成します。

これは、キーペアで[[.keys]フォルダに[default.json]ファイルを作成します。

  1. プロジェクトを造ります:

  2. MCP サーバーを実行します。

コンポーネント

ツール

  • get-token-info

  • Pump.funトークンに関する情報を入手

  • 入力変数:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

pumpfun-mcp

A Model Context Protocol (MCP) server for interacting with the Pump.fun platform on Solana. This server enables AI assistants to create, buy, and sell tokens on the Pump.fun platform.

Usage

https://github.com/user-attachments/assets/0b0f1f6f-6ea6-4ca8-92a8-b4cc895814e4

To use this server with Claude or other MCP-compatible AI assistants, add the following configuration to your MCP client:

If you’re on MacOS and want to run this in Claude Desktop, in your ~/Library/Application \Support/Claude/claude_desktop_config.json file, write the following:

{
  "mcpServers": {
    "pumpfun": {
      "command": "node",
      "args": ["/Users/noahsolomon/Desktop/pumpfun-mcp/build/index.js"], // note this should be YOUR absolute path to index.js, not mine.
      "env": {
        "HELIUS_RPC_URL": "https://your-helius-rpc-url.com"
      }
    }
  }
}

Replace https://your-helius-rpc-url.com with your Helius RPC URL.

Installation

  1. Clone this repository:

    git clone https://github.com/noahgsolomon/pumpfun-mcp.git
    cd pumpfun-mcp
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file with your Solana RPC URL:

    HELIUS_RPC_URL=https://your-helius-rpc-url.com
    

    You can get a free RPC URL from Helius.

    To use an existing Solana wallet, add your private key to the .env file:

    PRIVATE_KEY=your-base58-encoded-private-key
    

    Then run the conversion script to create a keypair file:

    node convert-key.js
    

    This will create a default.json file in the .keys folder with your keypair.

  4. Build the project:

    npm run build
    
  5. Run the MCP server:

    node build/index.js
    

Components

Tools

  • get-token-info

    • Get information about a Pump.fun token
    • Input parameters:
      • tokenAddress (string, required): The token’s mint address
  • create-token

    • Create a new Pump.fun token
    • Input parameters:
      • name (string, required): Token name
      • symbol (string, required): Token symbol
      • description (string, required): Token description
      • imageUrl (string, optional): Path to local image file
      • initialBuyAmount (number, required): Initial buy amount in SOL (min 0.0001)
      • accountName (string, optional): Name of the account to use (defaults to “default”)
  • buy-token

    • Buy a Pump.fun token
    • Input parameters:
      • tokenAddress (string, required): The token’s mint address
      • buyAmount (number, required): Amount to buy in SOL (min 0.0001)
      • accountName (string, optional): Name of the account to use (defaults to “default”)
      • slippageBasisPoints (number, optional): Slippage tolerance in basis points (defaults to 100)
  • sell-token

    • Sell a Pump.fun token
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "pumpfun": { "command": "node", "args": ["/Users/noahsolomon/Desktop/pumpfun-mcp/build/index.js"], // note this should be YOUR absolute path to index.js, not mine. "env": { "HELIUS_RPC_URL": "https://your-helius-rpc-url.com" } } } }