PumpSwap MCP Server logo

PumpSwap MCP Server

by kukapay

The PumpSwap MCP Server enables AI agents to interact with PumpSwap for real-time token swaps and automated on-chain trading. It provides tools to buy, sell, and query token prices on the PumpSwap platform.

View on GitHub

Last updated: N/A

What is PumpSwap MCP Server?

The PumpSwap MCP Server is a tool that allows automated interaction with the PumpSwap decentralized exchange on the Solana blockchain. It provides an interface for AI agents or other automated systems to execute token swaps and retrieve market data.

How to use PumpSwap MCP Server?

To use the server, clone the repository, install dependencies using uv, configure environment variables (including your Solana private key), and run the main.py script. The server exposes functions like buy_token, sell_token, get_token_price, and get_pool_data, which can be triggered with appropriate parameters.

Key features of PumpSwap MCP Server

  • Buy Tokens with customizable slippage and priority fees

  • Sell Tokens with configurable parameters

  • Token Price Query in SOL

  • Pool Data Retrieval for a given token mint

Use cases of PumpSwap MCP Server

  • Automated trading strategies on PumpSwap

  • Integration with AI agents for intelligent trading decisions

  • Real-time price monitoring and alerts

  • Programmatic access to PumpSwap pool data

FAQ from PumpSwap MCP Server

What is PumpSwap?

PumpSwap is a decentralized exchange (DEX) on the Solana blockchain.

What is an MCP server?

MCP stands for Machine Control Protocol. In this context, it's a server that receives commands and executes them on the blockchain.

What are the prerequisites for running this server?

Python 3.13+, uv, a Solana RPC endpoint, and a Solana private key.

How do I configure the environment variables?

Create a .env.private file in the project root and set the necessary variables, including your Solana private key.

Is this server safe to use?

This software interacts with DeFi protocols and handles sensitive data like private keys. Use it at your own risk. Ensure your .env.private file is secure and never share your private key. The authors are not responsible for any financial losses or security issues arising from the use of this software.