Build from a chat: the CLI MCP server

The repo ships a .mcp.json, so any MCP client (Claude Code picks it up automatically in this repo) gets a geenius-mvp server — tools/mcp-server.mjs over stdio. You can scaffold, generate and deploy apps from a chat conversation.

Tools

  • list_capabilities — the full manifest (same as pnpm new --list --json).
  • doctor — environment readiness with fix commands.
  • scaffold_app — from flags/demo OR an inline spec object ({ title, entities: [...] }).
  • generate_app — one-sentence idea → synthesized spec → app (needs ANTHROPIC_API_KEY in the server env).
  • deploy_app — deploy a scaffolded app; provider login must already exist (the server is headless and never opens interactive logins — check doctor first).
{ "mcpServers": { "geenius-mvp": { "command": "node", "args": ["tools/mcp-server.mjs"] } } }
Every tool wraps the same CLI the manifest documents, so behavior, validation and leak guards are identical to the terminal path. The stdio handshake is covered by pnpm agent-eval.