GUM Trading CLI & MCP
v0.3.1Trade spot tokens, tokenized stocks, and up to 50x perps across chains on GUM by Jupiter.
Values you need
| Variable | What it is | |
|---|---|---|
GUM_SOLANA_SECRET_KEY | optional secret | Optional base58 or JSON-array Solana private key for headless signing (otherwise uses ~/.config/gum profile). |
GUM_EVM_PRIVATE_KEY | optional secret | Optional 0x-prefixed EVM private key for headless signing (otherwise uses ~/.config/gum profile). |
GUM_MAX_TRADE_USD | optional | Optional per-trade or withdrawal USD limit enforced locally before signing. |
GUM_API_URL | optional | Optional Trading API base URL override (defaults to https://api.gum.ag/app/v1). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add gum-cli -- npx -y --package=@gumag/cli@0.3.1 gumag mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"gum-cli": {
"args": [
"-y",
"--package=@gumag/cli@0.3.1",
"gumag",
"mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gum-cli": {
"args": [
"-y",
"--package=@gumag/cli@0.3.1",
"gumag",
"mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"gum-cli": {
"args": [
"-y",
"--package=@gumag/cli@0.3.1",
"gumag",
"mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gum-cli]
command = "npx"
args = ["-y", "--package=@gumag/cli@0.3.1", "gumag", "mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: whoami, get_balances, list_chains, get_deposit_addresses, get_history, get_perps_account, perps_deposit, perps_set_leverage, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json