NitroStack Logo
/python
/cli
/init

Init Command

Scaffold a new Python MCP server and install agent skills.

Bash
nitrostack-py init [name] [options]

name is optional. If omitted, the CLI prompts (default: my-mcp-server).

Options

FlagDescription
--templatepython-starter | python-pizzaz | python-oauth (prompted if omitted)
--skip-installSkip Python (and optional widget npm) dependency install
--forceOverwrite existing agent skill directories
--portMCP HTTP port (default 3000)
--widgetWidgets preview port (default 3001)

Templates

NameDirectory in the SDKFocus
python-startertemplates/starter/Calculator + result widget
python-pizzaztemplates/pizzaz/Pizza shops + list/map/shop widgets
python-oauthtemplates/flight-booking/Duffel flights + OAuth 2.1 + OAUTH_SETUP.md

Each template ships main.py, app_module.py, pyproject.toml, uv.toml, .python-version, .env, requirements.txt, widgets/out/*.html, and health/system_health.py.

Skills

init clones https://github.com/nitrocloudofficial/skills-python-sdk.git into .cursor/skills, .claude/skills, .codex/skills, .gemini/skills, .antigravity/skills, .copilot/skills, .opencode/skills, and .agents/skills. Stamp file: .nitrostack.json.

Example

Bash
nitrostack-py init flights --template python-oauth --port 4000 --widget 4001
cd flights
nitrostack-py dev --port 4000 --widget 4001

Next steps