co.marketmayhem/mcp

السجل الرسمي المالية والمدفوعات

Launch and trade BSC tokens on Market Mayhem. Your own wallet signs; dry run by default; spend caps.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http co-marketmayhem-mcp 'https://marketmayhem.co/api/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "co-marketmayhem-mcp": {
            "type": "http",
            "url": "https://marketmayhem.co/api/mcp"
        }
    }
}
NPM package @marketmayhem/mcp
Claude Code
claude mcp add co-marketmayhem-mcp -e 'MM_PRIVATE_KEY=<your mm_private_key>' -e 'MM_LIVE=<MM_LIVE>' -e 'MM_MAX_PER_TX=<MM_MAX_PER_TX>' -e 'MM_MAX_PER_DAY=<MM_MAX_PER_DAY>' -e 'MM_ALLOW_TOKENS=<MM_ALLOW_TOKENS>' -e 'MM_API_KEY=<your mm_api_key>' -- npx -y @marketmayhem/mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "co-marketmayhem-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@marketmayhem/mcp@0.1.1"
            ],
            "env": {
                "MM_PRIVATE_KEY": "<your mm_private_key>",
                "MM_LIVE": "<MM_LIVE>",
                "MM_MAX_PER_TX": "<MM_MAX_PER_TX>",
                "MM_MAX_PER_DAY": "<MM_MAX_PER_DAY>",
                "MM_ALLOW_TOKENS": "<MM_ALLOW_TOKENS>",
                "MM_API_KEY": "<your mm_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • MM_PRIVATE_KEY سري The agent's own wallet key. Signs locally; never sent anywhere. Unset: read-only.
  • MM_LIVE Set to 1 to let the agent send transactions. Unset: dry run.
  • MM_MAX_PER_TX Most one transaction may spend, per currency, e.g. BNB:0.05
  • MM_MAX_PER_DAY Most per UTC day, per currency, e.g. BNB:0.25
  • MM_ALLOW_TOKENS Comma-separated token addresses the agent may trade. Unset: any.
  • MM_API_KEY سري Optional Market Mayhem API key: higher limits, and you become the default referrer.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @marketmayhem/mcp
  2. Tools
  3. Setup
  4. Settings

@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

ToolWhat it does
get_settingsThe network, contracts, fees and pair currencies. Read first.
new_launchesTokens launched, newest first. Pass after to get only new ones.
get_tokenOne token: pool, fee tier, pair currency, creator.
quoteWhat a buy or sell would get now, with price impact and fee.
buy / sellTrade, within your caps and allowlist. sell takes amount or percent.
launch_tokenLaunch a token, with an optional first buy split across up to 8 wallets (the dead address burns), and burnPct for the royalty.
tx_statusPending, mined or indexed.
my_referral_earnings / referral_linkEarn 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

VariableDefaultMeaning
MM_LIVEunset (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_TXBNB:0.05The most one transaction may spend, per currency (BNB:0.05,USDT:50).
MM_MAX_PER_DAYBNB:0.25The most per UTC day, per currency. A currency with no cap cannot be spent.
MM_ALLOW_TOKENSanyComma-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_URLhttps://marketmayhem.co/api/v1The API.
MM_RPC_URLa public BSC nodeThe node transactions are sent through.
MM_STATE_DIR~/.marketmayhem-mcpWhere 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.

الأسئلة الشائعة

ما هو co.marketmayhem/mcp؟

Launch and trade BSC tokens on Market Mayhem. Your own wallet signs; dry run by default; spend caps.

كيف أثبّت co.marketmayhem/mcp؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http co-marketmayhem-mcp 'https://marketmayhem.co/api/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج co.marketmayhem/mcp إلى مفتاح API؟

نعم. يتطلب MM_PRIVATE_KEY, MM_API_KEY، وتضبطها في إعداداته.

هل co.marketmayhem/mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون co.marketmayhem/mcp؟

ينشره Comovis. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.