gum
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@gumag/cli
The GUM CLI (gumag) for people and agents, and a stdio MCP server. Its
commands are generated from the
GUM Trading API's OpenAPI spec,
print JSON, and sign locally with a wallet kept on your machine.
OpenAPI spec: https://api.gum.ag/app/v1/openapi.json
Website: https://gum.ag
Quick start
npx @gumag/cli auth login # a bot wallet, saved per profile in ~/.config/gum
npx @gumag/cli buy SOL 5 # spot buy ($5 USD): quote, confirm, sign, submit, wait
npx @gumag/cli long BTC 25 # GUM Perps long ($25 USD notional)
npx @gumag/cli perps markets list # list live perpetual markets & funding rates
npx @gumag/cli cli search "withdraw usdc" # find the command for a task
npx @gumag/cli schema swaps create # a command's inputs, typed
npx @gumag/cli mcp # MCP server over stdioNeeds Node.js 22 or later. npm install -g @gumag/cli installs two commands,
gumag and the shorter gumx, to use in place of npx @gumag/cli.
Related MCP server: atpar-mcp-server
Connect to MCP clients & AI agents
# Claude Code
claude mcp add gum -- npx -y @gumag/cli@latest mcp
# Install the GUM trading skill (Claude Code, Codex, Cursor, etc.)
npx skills add jupnet/gum-cliDesign & safety guarantees
Every command prints JSON: indented on a terminal, one line when piped or run by an agent. Failures are
{ "error": { "code", "message" } }on stderr with exit code 1. A flag the command doesn't take is an error too, before anything is quoted or signed.Signing commands stop with
confirmation_required(and the quote) unless--yeswhen nobody is at the terminal, and never sign above the lowest of--max-usd,GUM_MAX_TRADE_USDand the profile's limit.Use
swaps quoteorwithdrawals quotefor prices without signing.--dry-runon a signing command still signs and sends the signature for validation; it does not execute the trade or withdrawal.If submission succeeds but status polling fails,
status_unavailableretains the accepted ID, initial status, original error, and a read-only command inerror.details.recovery.command. Keep the same environment when running it. Do not repeat the signed command. When the submit itself fails in a way that may still have gone through (a timeout, a lost connection, a server error or an unreadable reply),error.details.retrySubmissionisfalse: checkgumag history listbefore trying again.Keys come from
GUM_SOLANA_SECRET_KEYorGUM_EVM_PRIVATE_KEY, else the profile's key (auth login).--network devnetorGUM_API_URLpoint at another API; the default ishttps://api.gum.ag/app/v1. gumag signs the transactions that API builds, so point it only at an API you trust.The MCP server is hand-written JSON-RPC over stdio rather than the MCP SDK, so
npxinstalls two small dependencies and starts fast.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Trade Papertrade BTC and ETH perps from Claude, ChatGPT, Codex, Cursor and any MCP client.
Live prices, perps, prediction markets and a paper trading desk over one MCP.
MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents
Related MCP Servers
AlicenseCqualityDmaintenanceAn MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.37178GPL 3.0
atpar-mcp-serverofficial
AlicenseAqualityDmaintenanceMCP server for the At Par Trading API — trade crypto, manage portfolios, and access market data from any MCP-compatible AI agent.16MIT- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents real-time access to DeFi across multiple chains, enabling non-custodial crypto trading, portfolio queries, and transaction execution.7MIT
- AlicenseAqualityBmaintenanceAn MCP server that lets AI agents read Hyperliquid perpetual futures market data and their own account state, then place and cancel orders, adjust leverage, move USDC from spot to perp, and convert stablecoins to USDC. It holds no credentials and never contacts the exchange, routing every request through a runtime that enforces caps and signs server-side.9Apache 2.0