CC

cookiechain/cookie-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 6 forks 质量 85 趋势 32MIT

An MCP server that gives AI agents full onchain access to Cookie Chain — trade, launch, LP, stake, and bridge to Solana.

概览

A Model Context Protocol (MCP) server that gives any AI agent onchain tools for the Cookie Chain blockchain — read the market, swap, launch tokens and NFT collections, manage liquidity, stake, trade NFTs, and bridge to Solana. It runs and , so it is non-custodial by design. For hosted apps (a web chat, a bot behind a website) it runs in : the server holds no key, every action stops at the signing step with a verified transaction, and the user's own browser wallet signs it — same tools, same guardrails (details). It is a community project for the whole Cookie Chain ecosystem. - — chain health, pools, token info, token search, swap quotes, and wallet balances. No key needed. - any Cookie Chain token pair through either aggregator — the Cookiebox Swap API or Candy Shop — both routing across all Cookie Chain DEX liquidity. Agents pick per call with the aggregator parameter and can quote both to compare. chain: "solana" buys/sells the bridged COOK on via Jupiter instead.

README

以下为原文 README 节选,完整内容请查看原文。

cookie-mcp

A Model Context Protocol (MCP) server that gives any AI agent onchain tools for the Cookie Chain blockchain — read the market, swap, launch tokens and NFT collections, 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. For hosted apps (a web chat, a bot behind a website) it runs in external-signer mode: the server holds no key, every action stops at the signing step with a verified transaction, and the user’s own browser wallet signs it — same tools, same guardrails (details). It is a community project for the whole Cookie Chain ecosystem.

Contents

What it can do

  • Read the market — chain health, pools, token info, token search, swap quotes, and wallet balances. No key needed.
  • Swap any Cookie Chain token pair through either aggregator — the Cookiebox Swap API or Candy Shop — both routing across all Cookie Chain DEX liquidity. Agents pick per call with the aggregator parameter and can quote both to compare. chain: "solana" buys/sells the bridged COOK on Solana mainnet via Jupiter instead.
  • Transfer COOK or any SPL / Token-2022 token.
在 GitHub 查看完整 README

安装

npx -y cookie-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "cookie-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "cookie-mcp"], "env": { "COOKIE_RPC_URL": "https://rpc.cookiescan.io", "COOKIE_PRIVATE_KEY": "" } } } }