Cookie MCP
Local MCP server for Cookie Chain: market reads, swaps, launches, staking, NFTs, bridging
- Platforms
- CLI
- Runs
- Locally
- Version
- 0.9.0
- Listing updated
- 4 days ago
Similar MCP servers
About Cookie MCP
Cookie MCP is an MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
Cookie MCP gives an agent onchain tools for the Cookie Chain blockchain. With no key it is read-only: chain health, pools, token search and info, swap quotes and wallet balances. With a key it can swap through the Cookiebox or Candy Shop aggregators, transfer tokens, place limit and stop orders, launch tokens and NFT collections on MomoSwap, manage liquidity, stake COOK for bCOOK, lend and borrow on Aera, trade NFTs on Baked Bazaar, bridge COOK or SOL to Solana over Hyperlane and register .cook names.
It runs locally over stdio and signs on your machine, so it is non-custodial. A hosted mode instead stops each action at the signing step for the user's browser wallet. Money-moving actions are simulated first, and a venue-built transaction is refused unsigned if it would spend more than asked, touch other tokens or deliver less than the quoted minimum. COOK_MAX_TRADE_COOK caps spend per transaction at 100 COOK by default.
The README calls it a community project. Requires Node 22 or later.
Install
Run in a terminal
claude mcp add cookie-mcp --env COOKIE_PRIVATE_KEY='<COOKIE_PRIVATE_KEY>' -- npx -y cookie-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"cookie-mcp": {
"command": "npx",
"args": [
"-y",
"cookie-mcp"
],
"env": {
"COOKIE_PRIVATE_KEY": "<COOKIE_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"cookie-mcp": {
"command": "npx",
"args": [
"-y",
"cookie-mcp"
],
"env": {
"COOKIE_PRIVATE_KEY": "<COOKIE_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"cookie-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cookie-mcp"
],
"env": {
"COOKIE_PRIVATE_KEY": "<COOKIE_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"cookie-mcp": {
"command": "npx",
"args": [
"-y",
"cookie-mcp"
],
"env": {
"COOKIE_PRIVATE_KEY": "<COOKIE_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cookie-mcp": {
"command": "npx",
"args": [
"-y",
"cookie-mcp"
],
"env": {
"COOKIE_PRIVATE_KEY": "<COOKIE_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
COOKIE_RPC_URLCookie Chain RPC endpoint. Defaults to the public Cookiescan RPC (https://rpc.cookiescan.io).COOKIE_PRIVATE_KEYWallet 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_COOKHard per-transaction spend cap in COOK; money-moving tools refuse inputs valued above it (0 disables). Defaults to 100.COOKIE_SLIPPAGE_BPSDefault slippage tolerance in basis points (500 = 5%). Defaults to 500.SOLANA_RPC_URLSolana 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.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- chain_health
- Report Cookie Chain health.
- search_tokens
- Search tokens by name.
- get_token_info
- Price and liquidity for a token.
- get_quote
- Quote a swap.
- trade
- Execute a swap after simulation; needs a key.
What it does
- Read-only by default
- Market data and balances work without any key.
- Swaps and orders
- Quote and swap via two aggregators, plus limit and stop orders.
- Launchpads
- Create tokens and NFT collections on bonding curves.
- Liquidity and staking
- Manage pools, liquid-stake COOK, lend and borrow.
- Spend guardrails
- Simulation before sending and a per-transaction cap.
- Wallet-signed mode
- Hosted apps can leave signing to the user's browser wallet.
Good for
- Check pool liquidity and a token's price
- Quote and run a swap with guardrails
- Bridge COOK to Solana from a chat
- Browse and buy NFTs on Baked Bazaar
Pricing
Pricing unknown
No price listed; community project
Cookie MCP FAQ
Does it hold my keys?
No. It signs locally with COOKIE_PRIVATE_KEY, which is redacted from output, or leaves signing to your wallet in hosted mode.
Can it spend without limits?
No. COOK_MAX_TRADE_COOK caps each transaction, 100 COOK by default, and actions are simulated first.
Is a key required?
Only for money-moving tools; reads work without one.
What do I need to run it?
Node 22 or later; npx fetches the package.
How do I add Cookie MCP to Claude Code?
Run this command in your terminal: claude mcp add cookie-mcp --env COOKIE_PRIVATE_KEY='<COOKIE_PRIVATE_KEY>' -- npx -y cookie-mcp
What are the best alternatives to Cookie MCP?
The closest alternatives to Cookie MCP are Universal Blockchain MCP, SolKnife, Ophis MCP, Chia MCP and TokenOS Wallet Inspector.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.