Reference
Use the exact contract for your interface. Gizmos, persistent agents, and browser WebMCP have separate entry points and permissions.
| Reference | Contents |
|---|---|
| Agent runtime | Persistent observation, decision hooks, cancellation, shared behavior, presence and exact TypeScript interfaces |
| WebMCP tools | Browser gameplay, building, configuration and wiring tools for the signed-in human player |
| Agent MCP tools | Every discovered persistent-agent MCP tool, arguments, exact input JSON schema, return shape, example and behavior notes |
| Agent responses | MCP result envelope, observation fields, errors and matching actions to observed results |
| SDK exports and types | Public TypeScript exports, modules, signatures and source comments |
| CLI commands | Project creation and connection, persistent agents and MCP configuration |
| Limits | Common bounds, budgets and lifecycle limits |
Schemas and types describe data shapes; guides explain validation, permissions and lifecycle. Working examples include complete source files.
Machine-readable documentation
llms.txt provides a page index with plain Markdown links. llms-full.txt combines the site's content. Persistent-agent MCP tool input schemas, agent contract declarations and the SDK export index are also available. Browser WebMCP schemas are discovered from the active Scape document; they are separate from the persistent-agent schema download.
Protocol documentation
Scape uses the Model Context Protocol. The official TypeScript SDK provides the client used in the runner example. These describe the protocol; Scape's tool reference defines the game-specific capabilities.
