What are the prerequisites?
Node.js v20.11.1 or higher, Claude Desktop, and npm (comes with Node.js).
@jimmcq
基本信息
A simple, working example of a Model Context Protocol (MCP) server that lets you play the classic Lemonade Stand game through Claude Desktop.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"lemonade-stand": {
"command": "node",
"args": [
"/absolute/path/to/Lemonade-Stand-MCP-Server/server.js"
]
}
}
}Begin a new game session
Check current status, money, inventory, and weather
Purchase cups, lemons, sugar, and ice
Set the price per cup of lemonade
Open for business and see daily results
Advance to the next day
A simple, working example of a Model Context Protocol (MCP) server that lets you play the classic Lemonade Stand game through Claude Desktop. It demonstrates how MCP enables AI models to interact with external tools and maintain game state.
Clone the repository, install dependencies with npm install, and configure Claude Desktop by adding a JSON entry in claude_desktop_config.json pointing to server.js. After restarting Claude, start a new chat and ask it to "Play a complete game of Lemonade Stand using the MCP tools available."
Node.js v20.11.1 or higher, Claude Desktop, and npm (comes with Node.js).
A hammer icon appears in Claude Desktop when the MCP server is connected.
Ensure Claude Desktop is up to date, verify the configuration file path is correct, check that Node.js is accessible, and review Claude Desktop logs (Windows: `%APPDATA%\Claude\logs\`, macOS: `~/Library/Logs/Claude/`).
`start_game`, `get_game_state`, `buy_supplies`, `set_price`, `sell_lemonade`, and `next_day`.
Yes. Use a WSL‑specific configuration with the full path to the Node.js binary inside the WSL environment.
🚀 The fast, Pythonic way to build MCP servers and clients.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
不止于 CSS
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论