NitroStack Logo
/python
/cli
/dev

Dev Command

Hot-reload the project’s main.py (and optional widgets under src/widgets).

Bash
nitrostack-py dev [--port PORT] [--widget PORT]

Uses watchfiles. Transport defaults to stdio unless MCP_TRANSPORT_TYPE or production env says otherwise.

Inspector over HTTP

Bash
MCP_TRANSPORT_TYPE=http MCP_STATELESS=true nitrostack-py dev

Connect Streamable HTTP to http://localhost:3000/mcp (no trailing slash). Live widget preview: http://localhost:3000/widgets/preview.

Next steps