pumpfun-mcp-server
pumpfun-mcp is a Model Context Protocol server designed for interacting with the decentralized Pump.fun platform on Solana. It enables AI assistants to conduct token transactions like creating, buying, and selling tokens. This project offers support for account management and various token-related functionalities.
Overview
A Model Context Protocol (MCP) server for interacting with the Pump.fun platform on Solana. The server allows AI assistants to create, buy, and sell tokens on Pump.fun, manage accounts, and perform various token-related operations. It supports tools like get-token-info, create-token, buy-token, sell-token, list-accounts, and get-account-balance.
Components
- get-token-info: Retrieve information about a Pump.fun token.
- create-token: Create new Pump.fun tokens with specified details.
- buy-token: Buy Pump.fun tokens using SOL.
- sell-token: Sell Pump.fun tokens.
- list-accounts: List accounts in the keys folder.
- get-account-balance: Check SOL and token balances for an account.
Usage
Install dependencies, create a .env file with Solana RPC URL and optionally a private key, run npm build
, and then execute the MCP server. Use standalone scripts for token operations.