mcp
v0.1.1Launch and trade BSC tokens on Market Mayhem.
Values you need
| Variable | What it is | |
|---|---|---|
MM_PRIVATE_KEY | optional secret | The agent's own wallet key. Signs locally; never sent anywhere. Unset: read-only. |
MM_LIVE | optional | Set to 1 to let the agent send transactions. Unset: dry run. |
MM_MAX_PER_TX | optional | Most one transaction may spend, per currency, e.g. BNB:0.05 |
MM_MAX_PER_DAY | optional | Most per UTC day, per currency, e.g. BNB:0.25 |
MM_ALLOW_TOKENS | optional | Comma-separated token addresses the agent may trade. Unset: any. |
MM_API_KEY | optional secret | Optional Market Mayhem API key: higher limits, and you become the default referrer. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -- npx -y --package=@marketmayhem/mcp@0.1.1 marketmayhem-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@marketmayhem/mcp@0.1.1",
"marketmayhem-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@marketmayhem/mcp@0.1.1",
"marketmayhem-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"args": [
"-y",
"--package=@marketmayhem/mcp@0.1.1",
"marketmayhem-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@marketmayhem/mcp@0.1.1", "marketmayhem-mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://marketmayhem.co/api/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://marketmayhem.co/api/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"url": "https://marketmayhem.co/api/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"type": "http",
"url": "https://marketmayhem.co/api/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://marketmayhem.co/api/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: get_settings, new_launches, get_token, quote, buy, sell, launch_token, tx_status, ….
- 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