Pump MCP Server
Model Context Protocol server exposing 7 tools, 3 resource types, and 3 prompts for AI agent consumption — Solana wallet operations, vanity address generation, message signing, and address validation over stdio transport.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- Pump MCP Server
- metadata
- { "openclaw": { "homepage": "https://github.com/nirholas/pump-fun-sdk" } }
- description
- Model Context Protocol server exposing 7 tools, 3 resource types, and 3 prompts for AI agent consumption — Solana wallet operations, vanity address generation, message signing, and address validation over stdio transport.
02 资源文件 4
- 参考文档_meta.json134 B
- 参考文档skill-card.md2.3 KB
- 参考文档SOURCE.md254 B
- 参考文档TRUST.auto.yaml2.1 KB
03 SKILL.md 正文
MCP Server — Model Context Protocol for Solana Wallet Operations
Model Context Protocol server exposing tools, resources, and prompts for AI agent consumption over stdio transport with session keypair management.
Architecture
AI Agent (Claude, etc.)
│
stdio transport
│
SolanaWalletMCPServer
│
┌────┼────────┬──────────┐
│ │ │ │
Tools Resources Prompts Session
│ │ │ State
7 3 3 │
tools types prompts Keypair
Tools (7)
| Tool | Description |
|---|---|
generate_keypair |
Generate a new random Solana keypair |
generate_vanity |
Generate vanity address with prefix/suffix |
estimate_vanity_time |
Estimate time for vanity pattern |
validate_address |
Validate a Solana Base58 address |
sign_message |
Sign a message with session keypair |
verify_signature |
Verify a signed message |
restore_keypair |
Restore keypair from secret key bytes |
Resources (3)
| URI Pattern | Description |
|---|---|
solana://keypair/current |
Current session keypair info |
solana://keypair/{id} |
Specific keypair by ID |
solana://address/{address} |
Address validation details |
Prompts (3)
| Prompt | Description |
|---|---|
generate-wallet |
Guide user through wallet generation |
vanity-address |
Guide vanity address generation with difficulty estimate |
security-review |
Review security of wallet operations |
Session State Management
class SolanaWalletMCPServer {
private sessionKeypair: Keypair | null = null;
generateKeypair(): KeypairInfo {
if (this.sessionKeypair) {
this.sessionKeypair.secretKey.fill(0); // zeroize old
}
this.sessionKeypair = Keypair.generate();
return this.getKeypairInfo();
}
}
Security Model
- Session keypair is zeroized when replaced or server shuts down
- No network calls for key generation
- All crypto uses
@solana/web3.jsonly - Zod schemas validate all tool inputs
- Secret key bytes are never logged or exposed in resources
Patterns to Follow
- Validate all inputs with Zod schemas before processing
- Zeroize secret keys when replaced or on shutdown
- Return structured JSON for all tool responses
- Use descriptive error messages for validation failures
- Keep session state minimal — one active keypair at a time
Common Pitfalls
- Session keypair is ephemeral — lost when server restarts
generate_vanityis single-threaded — long prefixes will be slowsign_messagerequires an active session keypair —generate_keypairfirst- Resource URIs are case-sensitive
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.