agentpump-mcp 1.1.4 β 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -46
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,73 +1,61 @@
|
|
|
1
|
-
# AgentPump
|
|
1
|
+
# AgentPump β give your AI agent a Solana wallet π€
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Open-source MCP server that lets an AI agent launch and trade tokens on Solana β autonomously, from plain-language chat.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Add one MCP server to **Claude Code, Cursor, or any MCP client**, then just tell your agent to launch and trade tokens on [AgentPump](https://app.agents-coin.com/agentpump), a fair bonding-curve launchpad on **Solana mainnet**. The private key is generated **locally** and never leaves your machine β it's never sent to the model or any server, only signatures hit the chain.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
> Live on Solana mainnet. Real money β start small.
|
|
8
|
+
|
|
9
|
+
π [Website](https://app.agents-coin.com/agents) Β· π¦ [npm: agentpump-mcp](https://www.npmjs.com/package/agentpump-mcp) Β· πͺ [Trade on the web](https://app.agents-coin.com/pump) Β· π¬ [Telegram bot](https://t.me/AgentsPumpBot)
|
|
8
10
|
|
|
9
11
|
---
|
|
10
12
|
|
|
11
13
|
## Install
|
|
12
14
|
|
|
13
|
-
###
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
### Claude Code
|
|
16
|
+
```
|
|
17
|
+
claude mcp add agentpump -- npx -y agentpump-mcp
|
|
18
|
+
```
|
|
17
19
|
|
|
18
|
-
### Any MCP client (Claude Code,
|
|
20
|
+
### Any MCP client (Cursor, Claude Code, β¦)
|
|
21
|
+
Add to your MCP config:
|
|
19
22
|
```json
|
|
20
23
|
{
|
|
21
24
|
"mcpServers": {
|
|
22
|
-
"agentpump": {
|
|
23
|
-
"command": "npx",
|
|
24
|
-
"args": ["-y", "agentpump-mcp@latest"]
|
|
25
|
-
}
|
|
25
|
+
"agentpump": { "command": "npx", "args": ["-y", "agentpump-mcp"] }
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
```
|
|
29
|
+
Also in the official MCP Registry as `io.github.axiosdevs/agentpump-mcp`. A mainnet RPC is built in β nothing to configure.
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
git clone https://github.com/axiosdevs/agentpump-mcp
|
|
33
|
-
cd agentpump-mcp && npm install
|
|
34
|
-
# then point your MCP client at: node /path/to/agentpump-mcp/index.js
|
|
31
|
+
## Then just chat
|
|
32
|
+
Talk to your agent in plain language β it calls the tools:
|
|
35
33
|
```
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## Talk to your agent
|
|
40
|
-
```
|
|
41
|
-
"create a Solana wallet"
|
|
42
|
-
"show my address" β send real SOL there (no faucet on mainnet)
|
|
43
|
-
"launch a token called Doge AI (DOGEAI)"
|
|
44
|
-
"buy 0.1 SOL of <mint>" β on the bonding curve
|
|
34
|
+
"create a Solana wallet and show me the address" β then fund it with a little SOL
|
|
35
|
+
"launch a token called Doge AI (DOGEAI), then buy 0.05 SOL of it"
|
|
45
36
|
"sell 50% of <mint>"
|
|
46
|
-
"buy 0.2 SOL of <mint> on Raydium"
|
|
47
|
-
"sell 100% of <mint> on Raydium"
|
|
37
|
+
"buy 0.2 SOL of <mint> on Raydium" β after it graduates
|
|
48
38
|
```
|
|
49
39
|
|
|
50
40
|
## Tools
|
|
51
|
-
| Tool |
|
|
41
|
+
| Tool | Does |
|
|
52
42
|
|---|---|
|
|
53
|
-
| `sol_create_wallet` |
|
|
54
|
-
| `
|
|
55
|
-
| `
|
|
56
|
-
| `
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
| `sol_create_wallet` / `sol_address` / `sol_balance` | Local agent wallet (`~/.agentpump/wallet.json`) |
|
|
44
|
+
| `sol_launch` | Launch a token on the bonding curve |
|
|
45
|
+
| `sol_buy` / `sol_sell` | Trade on the curve (pre-graduation) |
|
|
46
|
+
| `sol_raydium_buy` / `sol_raydium_sell` | Trade graduated tokens on Raydium |
|
|
47
|
+
|
|
48
|
+
The whole client is one [`index.js`](index.js) β exactly what `npx agentpump-mcp` runs. No build step, no hidden network calls. Read every line before funding it.
|
|
49
|
+
|
|
50
|
+
## How the launchpad works
|
|
51
|
+
1. **Mint** β launching is free (~0.008 SOL network rent, none to the protocol). 1B supply, all on the curve. No presale, no team allocation.
|
|
52
|
+
2. **Pump** β constant-product bonding curve; ~80% of supply sells on it. **1% fee per trade**, shared with the token creator (+ referrer).
|
|
53
|
+
3. **Graduate** β at **10 SOL** the curve closes, a **Raydium** pool is created and the **LP is burned** β liquidity locked forever. Then it trades everywhere (Raydium, Jupiter, DexScreenerβ¦).
|
|
61
54
|
|
|
62
|
-
|
|
63
|
-
- **Local key** β generated on your machine (`~/.agentpump/wallet.json`); only signatures hit the chain.
|
|
64
|
-
- **Real money** β Solana **mainnet**. Fund the wallet with real SOL. Start small.
|
|
65
|
-
- **Fair launch** β every token starts on a bonding curve (~80% of supply sold on the curve). 1% trade fee. Graduates to Raydium at 10 SOL, where liquidity is locked (LP burned).
|
|
66
|
-
- **Then trade on Raydium** β after graduation the agent buys/sells on Raydium with `sol_raydium_*` (1% fee).
|
|
67
|
-
- **Program:** `4M93xdyduoYj4W7LaLRmXrk5PqyGD6SoxzX8CwdKe3VM`
|
|
55
|
+
On-chain program: [`4M93xdyduoYj4W7LaLRmXrk5PqyGD6SoxzX8CwdKe3VM`](https://solscan.io/account/4M93xdyduoYj4W7LaLRmXrk5PqyGD6SoxzX8CwdKe3VM) (verifiable on Solscan).
|
|
68
56
|
|
|
69
|
-
## Also
|
|
57
|
+
## Also for people (no MCP needed)
|
|
70
58
|
- πͺ **Web (Phantom):** https://app.agents-coin.com/pump
|
|
71
|
-
- π¬ **Telegram bot:** https://t.me/AgentsPumpBot
|
|
59
|
+
- π¬ **Telegram bot:** https://t.me/AgentsPumpBot
|
|
72
60
|
|
|
73
61
|
MIT licensed.
|
package/index.js
CHANGED
|
@@ -75,7 +75,7 @@ function estimate(inAmt, inRes, outRes, ci) {
|
|
|
75
75
|
return CurveCalculator.swapBaseInput(inAmt, inRes, outRes, ci.tradeFeeRate, ci.creatorFeeRate, ci.protocolFeeRate, ci.fundFeeRate, false);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
const s = new McpServer({ name: "agentpump", version: "1.1.
|
|
78
|
+
const s = new McpServer({ name: "agentpump", version: "1.1.5" });
|
|
79
79
|
|
|
80
80
|
s.tool("sol_create_wallet", "Create the agent's Solana wallet (saved locally, hidden). Returns the address to fund.", {}, { title: "Create wallet", readOnlyHint: false }, async () => {
|
|
81
81
|
if (existsSync(WFILE)) return ok("Wallet already exists: " + loadKp().publicKey.toBase58());
|
package/package.json
CHANGED