| name | launch |
| description | Materialize and start a generated or catalog environment as a FastAPI+MCP server (Phase 2). Use when user says "launch environment", "start the server", "run the environment", or wants to bring up a materialized env-forge environment. |
| metadata | {"author":"Fred Bliss","version":"0.3.1","last_verified":"2026-04-02"} |
/env-forge:launch
Phase 2 -- not yet implemented. This command will materialize and start a FastAPI+MCP server for a generated or catalog environment.
Planned Behavior
/env-forge:launch volunteer_match
/env-forge:launch e_commerce_33
- Check if environment exists at
.env-forge/environments/<name>/
- If not, materialize it (from catalog or check for forge output)
- Install dependencies:
cd .env-forge/environments/<name> && uv sync
- Start the server:
uv run python server.py
- Print MCP connection URL:
http://127.0.0.1:<port>/mcp
- Print available tools (operation_ids)
Current Workaround
Start environments manually:
cd .env-forge/environments/<name>
uv run python server.py
The MCP endpoint will be at http://127.0.0.1:8000/mcp (default port).
Phase 2 Additions
- Process management: start/stop/restart servers
- Port allocation: auto-assign available ports
- MCP config generation: write
.mcp.json entry for Claude Code
- Health check: verify server responds before reporting success
- Reset: copy
db/initial.db -> db/current.db to reset state