cookie-mcp

v0.10.1
io.github.cookiechain/cookie-mcp Checked 4 hours ago Published 9 days ago

Cookie Chain tools for AI agents: swap, launch, liquidity, staking, NFTs, and a Solana bridge.

Values you need

VariableWhat it is
COOKIE_RPC_URLoptional Cookie Chain RPC endpoint. Defaults to the public Cookiescan RPC (https://rpc.cookiescan.io).
COOKIE_PRIVATE_KEYoptional secret Wallet key for money-moving tools (base58 secret, solana-keygen JSON array, or a path to a keypair file). Optional — without it the server runs read-only and money-moving tools return a clear error. The key is used only to sign locally and is redacted from all output.
COOKIE_MAX_TRADE_COOKoptional Hard per-transaction spend cap in COOK; money-moving tools refuse inputs valued above it (0 disables). Defaults to 100.
COOKIE_SLIPPAGE_BPSoptional Default slippage tolerance in basis points (500 = 5%). Defaults to 500.
SOLANA_RPC_URLoptional Solana mainnet RPC endpoint, used only by the bridge tool. Defaults to the public endpoint, which is rate-limited; a dedicated RPC is recommended for reliable bridging.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add cookie-mcp -- npx -y cookie-mcp@0.10.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cookie-mcp": {
      "args": [
        "-y",
        "cookie-mcp@0.10.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cookie-mcp": {
      "args": [
        "-y",
        "cookie-mcp@0.10.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "cookie-mcp": {
      "args": [
        "-y",
        "cookie-mcp@0.10.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cookie-mcp]
command = "npx"
args = ["-y", "cookie-mcp@0.10.1"]

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: submit_signed_tx, chain_health, get_pools, get_token_info, search_tokens, get_quote, get_wallet, get_balance, ….
  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