# 🔌 MCP Server — AI-Powered Cartridge Creation

15 tools, 3 resources, and 2 prompts for your AI assistant

## 🏗️ Create

📁
wheriflo_init
Scaffold a new cartridge project with boilerplate
⚙️
wheriflo_build
Compile Lua → .gwc/.gwz locally
☁️
wheriflo_compile
Compile via official Groundspeak API
🔍
wheriflo_lint
Check for common Lua mistakes

## 🎮 Test

▶️
wheriflo_play
Load cartridge + start web player
📍
wheriflo_teleport
Enter a zone (trigger OnEnter)
🚪
wheriflo_leave_zone
Exit a zone (trigger OnExit)
🌐
wheriflo_set_position
Set player GPS coordinates
💬
wheriflo_respond
Dismiss messages or answer prompts
⏩
wheriflo_autoplay
Run a batch of play-test steps

## 🔎 Inspect

📊
wheriflo_get_state
View zones, inventory, tasks, events
📖
wheriflo_get_resource
Read API docs, design guide, template
✅
wheriflo_validate
Check .gwc binary structure
🔄
wheriflo_reset
Full state wipe and restart
⏹️
wheriflo_stop
Stop web player and free the port
wherigo://api-reference
Full Lua API documentation
wherigo://design-guide
Design best practices
wherigo://lua-template
Starter template