StardewValley-MCP
Stardew MCP Bridge adds AI companions to Stardew Valley and exposes them through the Model Context Protocol. Companions are spawned as Player 2 or 3 with custom sprites and can be controlled directly by an AI agent: move, use tools, fight, fish, farm, explore the mines and open chests. It also has autonomous modes (follow, farm, mine, fish, idle) for hands-off play.
Two parts work together. A SMAPI mod written in C# runs inside the game, pairing each visible companion NPC with a hidden shadow farmer that performs the real game mechanics, and exchanges state with the second part through JSON files. A Node.js MCP server exposes 25 tools over stdio, 13 global tools and 12 direct-control tools for player mode, such as getting surroundings, moving to a tile, using a tool, attacking and casting a fishing rod. Auto-combat can be toggled because real-time fighting is too fast for model round trips. You build the server with npm, add it to your MCP client config and launch the game with SMAPI.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-06-04
- Commits, last 90 days
- 0
- Releases, last 90 days
- 0
- Latest release
- v0.3.0 (2026-03-10)
- Open issues
- 0
- Recent issues with at least one comment
- —
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Compatibility
Quick start
Use cases
Alternatives
Comments
No comments yet. Be the first!