Start

Get Started

Configure the package, MCP, and optional ACS before you build. Examples live under Examples once this is in place.

1. Install TheTowerSDK

Add the package to your app or tool repo. Pin a version when you want frozen game numbers.

npm install thetowersdk

Package: npmjs.com/package/thetowersdk · source: GitHub

2. Register The MCP Server

Point Cursor, Claude Code, or Copilot at the package MCP so the assistant can list exports, read catalogs, decode saves, plan Effective Paths, and pull wiki pages — instead of guessing.

{
  "mcpServers": {
    "thetowersdk": {
      "command": "node",
      "args": ["./node_modules/thetowersdk/mcp/server.mjs"]
    }
  }
}

Put that under your editor’s MCP config (for example Cursor .mcp.json or the IDE MCP settings). Restart the IDE MCP session after saving. Docs: MCP & AI.

3. Optional — Agentic Cognition Substrate (ACS)

ACS governs how an AI may change your repo (commits, staging, status). Use it when you want structured AI development on Tower tools. TheTowerSDK is the game layer; ACS is the workflow layer.

4. Saves From a Device (optional)

Android path: Android/data/com.TechTreeGames.TheTower/files/playerInfo.dat. adb-bridge can copy it from a device or emulator. Decode with thetowersdk/node, then extractors in thetowersdk/save.

5. Ready To Build

Examples

Interactive demos and sample imports.

Open Examples →

Example Product

The Tower Run Tracker ships calculators and trackers on this package.

What You Can Build →