Existing Repositories
For projects that are already live, the Dev MCP server integrates into maintenance and ongoing support.
-
File Setup
Create a base
.mcp.jsonfile which includes the Dev MCP config in the project directory (as seen in Environment Setup). -
Project Context
Create
CLAUDE.mdwith project instructions (this is the only file Claude Code auto-loads). If you prefer to author rules inAGENTS.md, symlink:ln -s AGENTS.md CLAUDE.md -
Project Scaffolding
Terminal window claude mcp add-from-file .mcp.jsonStart Claude Code, activate the appropriate platform agent, then run setup:
activate_agent("theme-developer") # or hydrogen-developerrun setup from Dev MCPSetup will audit the existing project, create
INSTRUCTIONS.md,CONVENTIONS.md, and configuration files without modifying existing code. The agent name is saved to project memory for future sessions. -
Migrate to Current Standards (if needed)
Run the upgrade command to bring config up to current standards:
upgradeThis runs health checks and applies any pending migrations non-destructively.
Ongoing Maintenance
Section titled “Ongoing Maintenance”- Use
buildfor new features — same composition-first rules apply even in legacy codebases - Use
refinewhen updating components to match revised designs - Use
maintenancefor dependency updates, API version bumps, and configuration drift - Run quality commands (
audit,performance,seo,accessibility) periodically or before major releases - Keep
CONVENTIONS.mdcurrent — it must reflect reality. If you add a component manually, update the file - After any command, numbered next-step suggestions are presented automatically