@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
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
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.