Skip to main content
Glama
cook4fun-mcp

cook4fun-mcp

by htunaa

cook4.fun MCP server

cook4fun-mcp

An MCP server that lets any MCP-compatible agent launch and trade coins on cook4.fun, a Uniswap-V4-native launchpad on the Robinhood chain (chainId 4663).

It runs locally on your own machine (stdio transport), signs with your own wallet, and talks straight to the chain. There is no hosted service and nothing to pay for: your client (Claude Desktop, Cursor, Cline, Windsurf, and other MCP clients) starts it on demand.

Tools

Tool

What it does

Wallet needed

cook4fun_list_coins

List the newest coins with market caps

no

cook4fun_wallet

Show the trading wallet address and ETH balance

yes

cook4fun_launch

Launch a new coin (deploys token + opens its V4 pool, optional first buy)

yes

cook4fun_buy

Buy a coin with ETH (slippage-protected)

yes

cook4fun_sell

Sell a coin back to ETH by amount, percentage, or all (auto-approves)

yes

cook4fun_claim

Claim reward-sharing fees

yes

Coins are referenced by contract address (0x…) or $TICKER.

Related MCP server: base-token-sniper-mcp

Setup

Add the server to your MCP client's config. No install step is required: npx fetches and builds it on first run.

Claude Desktop (claude_desktop_config.json), Cursor, Cline, Windsurf, and most clients use the same shape:

{
  "mcpServers": {
    "cook4fun": {
      "command": "npx",
      "args": ["-y", "github:htunaa/cook4fun-mcp"],
      "env": {
        "COOK4FUN_PRIVATE_KEY": "0xYOUR_WALLET_PRIVATE_KEY"
      }
    }
  }
}

Restart the client and the cook4fun_* tools appear.

Configuration

Env var

Required

Default

Notes

COOK4FUN_PRIVATE_KEY

for trading

none

Wallet private key (0x…, 32 bytes). Needs ETH on chain 4663 for launch fee, gas, and buys. Read-only tools work without it.

COOK4FUN_RPC_URL

no

https://rpc.mainnet.chain.robinhood.com

Custom RPC endpoint.

COOK4FUN_LAUNCHPAD_ADDRESS

no

0xcdC8…Ff47 (live V4)

Override the launchpad contract.

COOK4FUN_SLIPPAGE_BPS

no

1000 (10%)

Default slippage tolerance for buys/sells, in basis points.

⚠️ Security: the server can spend everything in this wallet. Fund it with only what you want the agent to trade, and treat the key like any other secret. The key stays on your machine; it is never sent anywhere except to sign transactions locally.

Example prompts

what's new on cook4fun?
launch a coin called "Space Cat" with ticker SCAT
buy 0.05 ETH of $SCAT
sell 50% of my $SCAT
claim my rewards on $SCAT

Run from a local checkout

git clone https://github.com/htunaa/cook4fun-mcp
cd cook4fun-mcp
npm install
npm run build

Then point the client's command/args at node + the built file:

{
  "mcpServers": {
    "cook4fun": {
      "command": "node",
      "args": ["/absolute/path/to/cook4fun-mcp/dist/index.js"],
      "env": { "COOK4FUN_PRIVATE_KEY": "0x…" }
    }
  }
}

Develop

npm run typecheck
npm run build

License

MIT

Available Tools

6 tools
cook4fun_buyBuy a coinA

Buy a cook4.fun coin by spending ETH. Reference the coin by 0x address or $TICKER. Slippage-protected.

Inputs: token (required), ethAmount (required), slippageBps.

cook4fun_claimClaim rewardsB

Claim the wallet's share of a reward-sharing coin's accrued fees.

Inputs: token (required).

cook4fun_launchLaunch a coinA

Launch a new coin on cook4.fun: deploys the token, opens its Uniswap V4 pool, and optionally makes a first buy. Requires a wallet with ETH.

Inputs: name (required), symbol (required), image, twitter, +6 more.

cook4fun_list_coinsList cook4.fun coinsA

List the newest coins on cook4.fun with their market caps. Read-only, no wallet needed.

Inputs: limit.

cook4fun_sellSell a coinA

Sell a cook4.fun coin back to ETH. Specify an exact token amount, a percentage, or all. Auto-approves and is slippage-protected.

Inputs: token (required), all, percent, slippageBps, +1 more.

cook4fun_walletShow trading walletA

Show the configured wallet address and its ETH balance on the Robinhood chain.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a distinct purpose: buy, sell, launch, claim, list, and wallet. No overlapping functionality.

    Naming Consistency5/5

    All tools follow the consistent pattern 'cook4fun_<verb>' or 'cook4fun_<verb_noun>', using snake_case.

    Tool Count5/5

    6 tools is ideal for a coin platform; each is necessary and earns its place.

    Completeness4/5

    Covers core operations: buy, sell, launch, claim, list, wallet. Could add a transfer tool but no major gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      An MCP server enabling AI agents to trade stock tokens using StonkBroker NFTs via ERC-6551 wallets on Robinhood Chain through Uniswap, with X integration.
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that gives AI agents a Solana wallet to autonomously launch and trade tokens on Solana's AgentPump bonding-curve launchpad via natural language.
      63 npm
      MIT