haeminmoon/pacifica-cli
Platform-specific configuration:
{
"mcpServers": {
"pacifica-cli": {
"command": "npx",
"args": [
"-y",
"pacifica-cli"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Trade perpetual futures on Pacifica — a decentralized derivatives exchange on Solana — from your terminal or AI agent.
One package, three interfaces:
| Interface | Command | Use Case | | ------------------ | ---------------------------------- | ------------------------------------------ | | CLI | pacifica-cli | Terminal trading, scripting, automation | | MCP Server | pacifica-mcp | AI agents (Claude, Cursor, Windsurf, etc.) | | OpenClaw Skill | `skill/SKILL.md` | AI agent ecosystem (OpenClaw, ClawdBot) |
25+ perpetual instruments: crypto (BTC, ETH, SOL), forex (EURUSD), commodities (XAU, XAG), equities (NVDA, GOOGL).
npm install -g @2oolkit/pacifica-cliThis installs both pacifica-cli (CLI) and pacifica-mcp (MCP server).
---
# 1. Interactive setup (prompts for private key)
pacifica-cli config init
# 2. Check a price (no auth needed)
pacifica-cli market prices --symbol BTC
# 3. Place a market buy
pacifica-cli order market -s BTC -a 0.001 --side bid
# 4. View open positions
pacifica-cli position listInteractive setup (recommended):
pacifica-cli config initPrompts for your Ed25519 private key (base58 encoded). Account address is automatically derived.
Manual setup:
pacifica-cli config set privateKey <base58-ed25519-private-key>Environment variables (CI/CD, Docker):
export PACIFICA_WALLET_PRIVATE_KEY=<your-private-key>
export PACIFICA_WALLET_ADDRESS=<your-wallet-address>Config is stored at ~/.pacifica-cli/config.json with 0600 permissions.
Loading reviews...