mcp

v0.1.1
co.marketmayhem/mcp Checked 1 day ago Published 2 months ago

Launch and trade BSC tokens on Market Mayhem.

Values you need

VariableWhat it is
MM_PRIVATE_KEYoptional secret The agent's own wallet key. Signs locally; never sent anywhere. Unset: read-only.
MM_LIVEoptional Set to 1 to let the agent send transactions. Unset: dry run.
MM_MAX_PER_TXoptional Most one transaction may spend, per currency, e.g. BNB:0.05
MM_MAX_PER_DAYoptional Most per UTC day, per currency, e.g. BNB:0.25
MM_ALLOW_TOKENSoptional Comma-separated token addresses the agent may trade. Unset: any.
MM_API_KEYoptional 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-mcp
Add 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/mcp
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_settings, new_launches, get_token, quote, buy, sell, launch_token, tx_status, ….
  4. 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