Serve a definition file as an MCP server, or write its docs and skills
Serve a definition file as an MCP server
With --http, prints the URL and token as JSON; send Authorization: Bearer <token> to the URL.
<file>module whose default export is a defineApp--httpserve on loopback HTTP instead of stdio--port <port>port, default any free
contextjsx serve ./app.ts
contextjsx serve ./dist/app.js --httpWrite Markdown docs and SKILL.md files from a definition file
<file>module whose default export is a defineApp--out <out>writes<out>/docsand<out>/skills; without it, lists--markdownwrite Markdown docs--skillswrite SKILL.md files--allwrite both--index <index>main docs page, default index.md--no-notegenerated marker, on by default
contextjsx emit ./app.ts --all
contextjsx emit ./app.ts --out . --all --index cli.md
contextjsx emit ./app.ts --out . --skills --no-note