Lemonade Stand MCP Server is a simple implementation of the Model Context Protocol that allows you to play the classic Lemonade Stand game through Claude Desktop. The server creates an interactive game experience where you manage a virtual lemonade business with dynamic weather, supply chain management, and strategic pricing decisions.
Clone the repository:
git clone https://github.com/yourusername/Lemonade-Stand-MCP-Server.git
cd Lemonade-Stand-MCP-Server
Install dependencies:
npm install
Find your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Configure Claude Desktop by adding the following to your config file:
{
"mcpServers": {
"lemonade-stand": {
"command": "node",
"args": [
"/absolute/path/to/Lemonade-Stand-MCP-Server/server.js"
]
}
}
}
Restart Claude Desktop
A hammer icon should now appear in Claude Desktop, indicating the MCP server is connected.
Once the server is connected, start a new chat with Claude and type:
"Play a complete game of Lemonade Stand using the MCP tools available."
Claude will then:
The server provides these MCP tools to Claude:
start_game
: Begin a new game sessionget_game_state
: Check current status, money, inventory, and weatherbuy_supplies
: Purchase cups, lemons, sugar, and iceset_price
: Set the price per cup of lemonadesell_lemonade
: Open for business and see daily resultsnext_day
: Advance to the next day{
"mcpServers": {
"lemonade-stand": {
"command": "wsl.exe",
"args": [
"/home/username/.nvm/versions/node/v20.11.1/bin/node",
"/home/username/projects/Lemonade-Stand-MCP-Server/server.js"
]
}
}
}
{
"mcpServers": {
"lemonade-stand": {
"command": "npx",
"args": [
"/path/to/Lemonade-Stand-MCP-Server/server.js"
]
}
}
}
%APPDATA%\Claude\logs\
~/Library/Logs/Claude/
node server.js
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "lemonade-stand" '{"command":"node","args":["/absolute/path/to/Lemonade-Stand-MCP-Server/server.js"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"lemonade-stand": {
"command": "node",
"args": [
"/absolute/path/to/Lemonade-Stand-MCP-Server/server.js"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"lemonade-stand": {
"command": "node",
"args": [
"/absolute/path/to/Lemonade-Stand-MCP-Server/server.js"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect