Cookie Chain tools for AI agents: swap, launch, liquidity, staking, NFTs, and a Solana bridge.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server that gives any AI agent onchain tools for the Cookie Chain blockchain β read the market, swap, launch tokens, manage liquidity, stake, trade NFTs, and bridge to Solana.
It runs locally over stdio and signs with your key on your machine, so it is non-custodial by design. It is a community project for the whole Cookie Chain ecosystem.
aggregator
parameter and can quote both to compare. chain: "solana" buys/sells the bridged COOK on Solana
mainnet via Jupiter instead..cook names on the
CookOven name service, and use them anywhere an address is expected
(transfer to: "bot.cook").Safe by default: read-only until you add a key, and every money-moving action is simulated before it is sent.
Requires Node β₯ 22. There is nothing to install or build β npx fetches the published package on
first run. Pick your client below. All three use the same server; the only difference is where the
config lives.
The quickest way β one command, available in every project:
This registers the server read-only (no key). See Enable trading to add a wallet.
Scopes β claude mcp add writes to one of three places; choose with --scope:
--scope | Available in | Stored in |
|---|---|---|
user | all your projects | ~/.claude.json |
(omitted) local | the current project dir | ~/.claude.json (per-folder) |
project | anyone who clones a repo | .mcp.json at the repo root |
Use --scope project only when you want the server committed into a specific repo β it writes a
.mcp.json that teammates must approve on first use. For a general-purpose tool like this, --scope user is the right default.
Verify it registered:
Edit the config file (create it if missing), then restart Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the server block below under mcpServers.
Edit ~/.cursor/mcp.json (applies everywhere) or .cursor/mcp.json in a project (project wins if
both exist), then add the server block.
Claude Desktop, Cursor, and a Claude Code .mcp.json all use the identical shape:
Reads work with no key. To let the agent swap, transfer, launch, stake, LP, buy NFTs, or bridge,
provide a wallet via COOKIE_PRIVATE_KEY β a base58 secret, a solana-keygen JSON byte array, or a
path to a keypair file.
Config-file clients (Desktop / Cursor / .mcp.json): put it in the env block above.
Claude Code: re-run the add with --env (note: this is saved to ~/.claude.json; avoid leaving
the raw secret in your shell history):
Your key never leaves your machine, is used only to sign locally, and is redacted from all output. Every money-moving action is simulated before it is sent.
Once it's registered, just talk to your agent naturally:
chain_healthsearch_tokens β get_token_infoget_quoteget_quote β trade (needs a key; simulated first)search_nfts β buy_nftget_walletThe agent resolves names to mint addresses with search_tokens / search_nfts, then acts on the mint β
it never turns a name straight into a trade.
| Variable | Default | Purpose |
|---|---|---|
COOKIE_RPC_URL | https://rpc.cookiescan.io | Cookie Chain RPC. |
COOKIE_PRIVATE_KEY | β | Wallet key for money-moving tools. Read-only if unset. |
COOKIE_SLIPPAGE_BPS | 500 | Default slippage (bps). |
COOKIE_REFERRER | mcp treasury | Referral wallet (MomoSwap only). |
SOLANA_RPC_URL | https://api.mainnet-beta.solana.com | Solana RPC. |
JUPITER_API_KEY | β | Optional; else keyless Jupiter at 0.5 req/s. |
Reads (no key): chain_health, get_pools, get_token_info, search_tokens (resolve a token
name/ticker to its mint), get_quote, get_wallet (which key this server signs with, and the RPC it
uses β no RPC call, so it works when the chain is down), get_balance, stake_info (bCOOK liquid-staking rate / TVL /
APY / fees), launchpad reads get_launchpad_pools / get_launchpad_token /
get_launchpad_positions, and NFT reads
get_nft_listings, search_nfts (resolve an NFT/collection name to a listed mint), get_nft,
get_wallet_nfts, get_nft_offers, get_nft_market_stats, and .cook name reads
resolve_domain / get_owned_domains / get_domain_listings.
Money (need COOKIE_PRIVATE_KEY): trade (swap via Cookiebox or Cookiescan), transfer (COOK or any token),
stake / unstake (COOK β bCOOK liquid staking).
Launchpad (need COOKIE_PRIVATE_KEY, MomoSwap): deploy_token launches a
token on a COOK bonding curve (a logo is required β pass imageBase64 and it is pinned to IPFS, or
set noLogo: true to launch without one; the metadata is immutable, so a logo cannot be added later.
Costs the launchpad creation fee, read from its config at call time, plus any
devBuyCook), launchpad_buy / launchpad_sell trade that curve, claim_launchpad
settles a position (the real SPL token after graduation, a Fair-mode refund, or a Jackpot/Survivor payout),
and claim_creator_fees sweeps the creator's share of trading fees from a launch you created.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cookie-mcp)<a href="https://allmcps.com/mcp/cookie-mcp"><img src="https://allmcps.com/api/badge/cookie-mcp?style=directory" alt="Cookie MCP on AllMCPs" /></a>