Skip to main content
Glama
TheoTown MCP Server

TheoTown MCP Server

by d-init-d

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THEOTOWN_DATA_DIRNoPath to the TheoTown data directory. Example: C:\Users\<USERNAME>\TheoTown or %USERPROFILE%\TheoTown. If omitted, the server can use the default TheoTown installation path.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

You are connected to a live TheoTown city simulation via theotown-mcp. Follow these operational guidelines:

  1. Always check city status with theotown_get_status or the theotown://city/status resource before undertaking major infrastructure or zoning works.

  2. Use theotown_validate_plan to dry-run construction layouts, verify grid boundaries, and check treasury costs before committing builds.

  3. Roads, zones, utilities, and buildings can be constructed with dedicated tools or batched via theotown_execute_plan.

  4. For long-running batch jobs, monitor progress via theotown_get_job.

  5. Use theotown_get_draft_catalog to explore available building types, roads, and utilities.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
theotown_get_statusA

Read live TheoTown city telemetry, including economy, population, happiness breakdown, infrastructure, estimated utility balance, sampled service coverage, and problem coordinates.

theotown_build_roadC

Construct a road segment between (x0, y0) and (x1, y1).

theotown_build_zoneC

Designate zoning over a rectangular area starting at (x, y) with width and height.

theotown_build_buildingC

Place a building draft at (x, y) with optional rotation (0-3).

theotown_build_utilitiesC

Lay underground pipes or power wires between (x0, y0) and (x1, y1).

theotown_demolishB

Demolish buildings, roads, or zones within a rectangular area starting at (x, y).

theotown_validate_planC

Perform dry-run bounds checks and cost estimations for a batch of construction commands.

theotown_execute_planC

Submit a batch construction plan to the in-game execution queue.

theotown_get_jobB

Query progress and execution status of a submitted construction job.

theotown_cancel_jobC

Cancel a pending construction job.

theotown_set_speedA

Set game simulation speed: 0 (Pause), 1 (Normal), 2 (Fast), 3 (Ultra), 4 (Max).

theotown_get_draft_catalogB

Search and list available drafts, buildings, roads, and utilities.

Prompts

Interactive templates invoked by user choice

NameDescription
urban_plannerPrompt template guiding LLMs in sustainable city planning and construction.

Resources

Contextual data attached and managed by the client

NameDescription
get_city_status_resourceLive dump of active city telemetry.
get_catalog_drafts_resourceDump of available drafts and aliases.

TDQS

B3.3/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target a clear resource+action pair (build_road vs build_zone vs demolish vs get_status), and the plan lifecycle tools (validate_plan, execute_plan, get_job, cancel_job) form a readable progression. The only real friction is the dual construction paths: the single build_* tools appear to act directly while execute_plan submits a batch, and it is not obvious when to use which. That overlap is minor but present.

Naming Consistency5/5

Every tool uses the same theotown_ prefix followed by a snake_case verb_noun pattern (build_road, get_status, cancel_job, execute_plan). Verb choices are stable: build_* for construction, get_* for reads, and lifecycle verbs for job handling. No camelCase or stylistic mixing.

Tool Count5/5

Twelve tools sits comfortably in the well-scoped range for a city-builder control surface. Each tool covers a distinct capability (single builds, batch planning, job control, telemetry, catalog lookup) with no filler entries.

Completeness4/5

The surface covers the full build/validate/execute/query/cancel lifecycle plus telemetry and a draft catalog, which is strong end-to-end coverage. Minor gaps remain: no way to list all submitted jobs (only per-job get_job), no tile-level inspection of what occupies a coordinate, and no economic/budget or save/load operations.

Maintenance

ActivityStale
ResponsivenessNo recent community issues