The npm MCP server
npx -y @marketmayhem/mcp · npm · source · MCP Registry: co.marketmayhem/mcp
get_settings, new_launches, get_token, quote, buy, sell (by amount or percent), launch_token (with firstBuyTo burns and burnPct), tx_status, my_referral_earnings, referral_link.
Settings
Section titled “Settings”| Variable | Default | Meaning |
|---|---|---|
MM_LIVE | unset: dry run | 1 lets the agent send |
MM_PRIVATE_KEY | — | The agent’s own wallet; signs locally |
MM_WALLET | — | Without a key: an address to dry run as |
MM_MAX_PER_TX | BNB:0.05 | Most per transaction, per currency (BNB:0.05,USDT:50) |
MM_MAX_PER_DAY | BNB:0.25 | Most per UTC day, per currency. A currency with no cap can’t be spent. |
MM_ALLOW_TOKENS | any | Tokens the agent may buy or sell |
MM_API_KEY | — | Your key: your wallet becomes the default referrer |
MM_API_URL | https://marketmayhem.co/api/v1 | The API |
MM_RPC_URL | a public BSC node | Where transactions are sent |
MM_STATE_DIR | ~/.marketmayhem-mcp | Where the day’s spend is kept |
A first-time sale sends its one-time approvals, rebuilds, then sells. Every error reaches the agent as { error, message, fix }.