
noahgsolomon/pumpfun-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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] を置換します。
インストール
-
このリポジトリをクローンする:
-
依存関係を取付けて下さい:
-
Solana RPC URL で [
.env] ファイルを作成します。
Heliusから無料のRPC URLを取得できます。
既存の Solana ウォレットを使用するには、[.env] ファイルに秘密鍵を追加します。
その後、変換スクリプトを実行して、キーペアファイルを作成します。
これは、キーペアで[[.keys]フォルダに[default.json]ファイルを作成します。
-
プロジェクトを造ります:
-
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
-
Clone this repository:
git clone https://github.com/noahgsolomon/pumpfun-mcp.git cd pumpfun-mcp -
Install dependencies:
npm install -
Create a
.envfile with your Solana RPC URL:HELIUS_RPC_URL=https://your-helius-rpc-url.comYou can get a free RPC URL from Helius.
To use an existing Solana wallet, add your private key to the
.envfile:PRIVATE_KEY=your-base58-encoded-private-keyThen run the conversion script to create a keypair file:
node convert-key.jsThis will create a
default.jsonfile in the.keysfolder with your keypair. -
Build the project:
npm run build -
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 namesymbol(string, required): Token symboldescription(string, required): Token descriptionimageUrl(string, optional): Path to local image fileinitialBuyAmount(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 addressbuyAmount(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
インストール
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"
}
}
}
}