A CLI to scaffold React + Vite apps with context & feature generation.
npm install @hebejebe/react-vite-mcpI built this mcp/cli so that I could shift the claude cli usage from being a code generator, to an orchestrator (Also, save many many tokens from my subscription plan).
I hope this helps you too.
This mcp is oppinionated as am I when it comes to planning/building/architecting a frontend app.
when working in teams, you can allways have discussions about how to architect a project, and what the best practices are. here, they are baked in, and all you have to do is fill in the logic where needd.
also, if your'e using claude CLI (hopefully any other llm cli) you can focus on writing a plan with claude, and hand this mcp over to claude to just do the work for you.
- Init - can be used from the terminal to get you up and running with a react/vite app
- Feature - will add what I currently consider is a end to end feature boilerplate, as well as connect it to the router
- Context - will add a context boilerplate & wrap root routes provider with the context provider
npx react-vite-mcp init <project-name>- will create a new folder with the project name, and scaffold a react/vite app in itnpx react-vite-mcp feature <project-name> <FeatureName>- will add a new feature to the current projectnpx react-vite-mcp context <project-name> <ContextName>- will add a new context to the current project
See roadmap.md