Skip to content
VS Code

cookie mcp for VS Code

io.github.cookiechain/cookie-mcp

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

client:VS Code transport:stdio runtime:npm

Install cookie mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cookie-rpc-url",
      "description": "COOKIE_RPC_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cookie-private-key",
      "description": "COOKIE_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cookie-max-trade-cook",
      "description": "COOKIE_MAX_TRADE_COOK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cookie-slippage-bps",
      "description": "COOKIE_SLIPPAGE_BPS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-rpc-url",
      "description": "SOLANA_RPC_URL",
      "password": true
    }
  ],
  "servers": {
    "cookie-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cookie-mcp"
      ],
      "env": {
        "COOKIE_RPC_URL": "${input:cookie-rpc-url}",
        "COOKIE_PRIVATE_KEY": "${input:cookie-private-key}",
        "COOKIE_MAX_TRADE_COOK": "${input:cookie-max-trade-cook}",
        "COOKIE_SLIPPAGE_BPS": "${input:cookie-slippage-bps}",
        "SOLANA_RPC_URL": "${input:solana-rpc-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

cookie mcp in other clients