About marketmayhem
marketmayhem is an MCP server for AI agents to launch and trade tokens on BSC. It defaults to dry runs, signs locally with the agent's wallet, and enforces per-transaction and daily spending limits.
Key features
- 01Find new launches and inspect token details
- 02Get buy and sell quotes with price impact
- 03Launch tokens and place trades
- 04Sign locally with dry run enabled by default
- 05Set spending caps and token allowlists
- 06Check transaction status and referral earnings
Use cases
- 01Review newly launched tokens on BSC
- 02Simulate or trade within spending limits
- 03Launch a token with an initial buy
- 04Track transaction status and referral earnings
MCP support
The MCP server exposes tools for token discovery, quotes, launches, trading, and transaction status. It can run locally or through a hosted endpoint; the hosted endpoint prepares trades for users to confirm in their own wallet.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://marketmayhem.co/api/mcpclaude mcp add --transport http co-marketmayhem https://marketmayhem.co/api/mcp{"mcpServers":{"co-marketmayhem":{"type":"http","url":"https://marketmayhem.co/api/mcp"}}}Open in Cursor{"servers":{"co-marketmayhem":{"type":"http","url":"https://marketmayhem.co/api/mcp"}}}Open in VS Code{"mcpServers":{"co-marketmayhem":{"type":"http","url":"https://marketmayhem.co/api/mcp"}}}{"mcpServers":{"co-marketmayhem":{"serverUrl":"https://marketmayhem.co/api/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
18This tool takes no parameters.
Details
From the project README@marketmayhem/mcp
Market Mayhem for AI agents: launch and trade BSC tokens through an MCP server.
- Your wallet signs, locally. The key never leaves this process. Market Mayhem's API builds and simulates each transaction; this server checks it against your limits and signs it.
- Dry run by default. Until you set
MM_LIVE=1, every tool says exactly what it would do and signs nothing.
No install at all? Add https://marketmayhem.co/api/mcp as a connector in Claude, ChatGPT or any MCP client. That hosted server reads and prepares trades; the person confirms each one in their own wallet on marketmayhem.co. This package is for an agent with its own wallet.
Docs: marketmayhem.co/developers · For AIs: marketmayhem.co/llms.txt
Tools
| Tool | What it does |
|---|---|
get_settings | The network, contracts, fees and pair currencies. Read first. |
new_launches | Tokens launched, newest first. Pass after to get only new ones. |
get_token | One token: pool, fee tier, pair currency, creator. |
quote | What a buy or sell would get now, with price impact and fee. |
buy / sell | Trade, within your caps and allowlist. sell takes amount or percent. |
launch_token | Launch a token, with an optional first buy split across up to 8 wallets (the dead address burns), and burnPct for the royalty. |
tx_status | Pending, mined or indexed. |
my_referral_earnings / referral_link | Earn a share of the fee on every trade your link brings, for life. |
Errors come back as { error, message, fix }, so the agent can correct itself.
Setup
Claude Desktop (claude_desktop_config.json), Cursor, or any MCP client:
{
"mcpServers": {
"marketmayhem": {
"command": "npx",
"args": ["-y", "@marketmayhem/mcp"],
"env": {
"MM_PRIVATE_KEY": "0x… the agent's own wallet",
"MM_MAX_PER_TX": "BNB:0.05",
"MM_MAX_PER_DAY": "BNB:0.25"
}
}
}
}
Claude Code: claude mcp add marketmayhem -e MM_PRIVATE_KEY=0x… -- npx -y @marketmayhem/mcp
Settings
| Variable | Default | Meaning |
|---|---|---|
MM_LIVE | unset (dry run) | 1 lets the agent send. |
MM_PRIVATE_KEY | — | The agent's own wallet. Use a wallet made for it, holding only what it may spend. |
MM_WALLET | — | Without a key: an address to dry run as. It can never send. |
MM_MAX_PER_TX | BNB:0.05 | The most one transaction may spend, per currency (BNB:0.05,USDT:50). |
MM_MAX_PER_DAY | BNB:0.25 | The most per UTC day, per currency. A currency with no cap cannot be spent. |
MM_ALLOW_TOKENS | any | Comma-separated tokens the agent may buy or sell. |
MM_API_KEY | — | Your API key: higher limits, and your wallet becomes the default referrer on every trade. |
MM_API_URL | https://marketmayhem.co/api/v1 | The API. |
MM_RPC_URL | a public BSC node | The node transactions are sent through. |
MM_STATE_DIR | ~/.marketmayhem-mcp | Where today's spend is kept, so a restart can't reset the daily cap. |
A sell spends no money, so only the allowlist applies to it. A first-time sale sends the one-time approvals first, then the trade.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.