docs/mcp/STATIC_HOSTING.md

Static Hosting Export

Use this route when an AI client can browse public URLs but cannot connect to a local MCP server.

Generate

Run:


pnpm docs:export-public

The FTP-ready output is written to:


public-docs/

This directory is generated and ignored by git.

Upload

Upload the contents of public-docs/ to a public HTTPS location, for example:


https://example.com/streetlineheroes-docs/

Start external AI sessions at:


https://example.com/streetlineheroes-docs/CHATGPT_START_HERE.html

Safety

The export uses the same allowlist as the read-only documentation MCP server:

Denied paths include .git, node_modules, dist, build, .env, private folders, secrets, tokens, credentials, and raw playtest sessions.

After Each Sprint

Run the export again and upload the new public-docs/ contents after documentation or status changes:


pnpm docs:export-public

Open raw source