MCP server for Playdate SDK development — gives AI agents the ability to build games, run the Playdate Simulator, execute Lua tests, and read project metadata.
No equivalent exists in the Playdate ecosystem. This is the first MCP server for Playdate.
| Tool | Description |
|---|---|
build_game |
Compile a Playdate Lua project using pdc |
run_simulator |
Launch the Playdate Simulator with a .pdx bundle |
run_lua_tests |
Execute desktop Lua unit tests (no simulator required) |
get_build_errors |
Re-run build and return structured compiler errors |
read_pdxinfo |
Read and parse a pdxinfo metadata file |
- Node.js 18+
- Playdate SDK installed
PLAYDATE_SDK_PATHenvironment variable set:export PLAYDATE_SDK_PATH="${HOME}/Developer/PlaydateSDK"
{
"servers": {
"playdate": {
"command": "npx",
"args": ["-y", "@wintermuted/playdate-mcp"],
"env": {
"PLAYDATE_SDK_PATH": "/Users/Shared/Playdate SDK"
}
}
}
}{
"mcpServers": {
"playdate": {
"command": "npx",
"args": ["-y", "@wintermuted/playdate-mcp"],
"env": {
"PLAYDATE_SDK_PATH": "/Users/Shared/Playdate SDK"
}
}
}
}npm install
npm run build
node dist/index.js # starts the stdio MCP serverInspect with MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.jsMIT
- playdate-skills — Static agent skills for Playdate SDK conventions