This CLI tool installs a Markdown context file tailored for a specific frontend framework. The goal is to provide a standardized prompt for another AI assistant to help with development.
There are two ways to use this tool:
Run the following command to launch an interactive prompt:
npx @rush-cms/mcp@latestYou'll be asked to:
- Choose your frontend framework (Next.js or Inertia.js)
- Select which AI clients to install for (Claude, Cursor, VS Code, etc.)
Specify the framework and AI clients directly:
# Install for specific clients
npx @rush-cms/mcp@latest nextjs claude,cursor
# Install for multiple clients
npx @rush-cms/mcp@latest inertia claude,copilot,cursorAvailable clients: claude, copilot, cursor, junie, codex
To update/overwrite existing context files:
npx @rush-cms/mcp@latest --update nextjs claude,cursornpx @rush-cms/mcp@latest --helpThis tool installs AI context files for various development environments, supporting both standard AI clients and MCP (Model Context Protocol) servers.
Creates context files in your project directory:
- Claude:
.CLAUDE.md- Context file for Claude Code/Desktop - VS Code Copilot:
.github/copilot-instructions.md- Instructions for GitHub Copilot - Codex:
.codex/AGENTS.md- Context for Codex AI
Creates context files and configures MCP servers:
-
Cursor:
- Creates
.cursor/rules/[framework].mdc - Updates
.cursor/mcp.jsonwith server configuration
- Creates
-
Junie:
- Creates
.junie/guidelines/[framework].md - Updates
.junie/mcp/mcp.jsonwith server configuration
- Creates
nextjs- Next.js (TypeScript) with headless API integrationinertia- Laravel + Inertia.js + React
Each context file contains detailed guidelines, API documentation, and best practices tailored for the specific framework and your headless CMS API.
npx @rush-cms/mcp@latest nextjs claude,cursorThis will create:
.CLAUDE.md- For use with Claude Desktop/Code.cursor/rules/nextjs.mdc- Cursor context rules.cursor/mcp.json- MCP server configuration
npx @rush-cms/mcp@latest inertia claude,copilot,cursor,codexThis will create context files for all specified AI clients in a single command.
npx @rush-cms/mcp@latestLaunches an interactive prompt where you can:
- Select your framework from a list
- Choose multiple AI clients with checkboxes
- Preview what will be installed
- Multi-client support - Install for multiple AI assistants at once
- MCP integration - Automatic server configuration for compatible clients
- Framework-specific - Tailored guidelines for Next.js and Inertia.js
- Safe installation - Never overwrites existing files by default
- Update mode - Use
--updateflag to refresh existing files - Interactive mode - User-friendly CLI prompts
- Zero config - Works out of the box with sensible defaults
- Version check - Validates Node.js version compatibility (>=18.0.0)
This project uses automated security measures:
- Dependabot: Automatically checks for dependency updates and security vulnerabilities
- Security Audit: Weekly automated audits via GitHub Actions
- npm audit: Run
npm auditlocally to check for vulnerabilities
To check security issues locally:
npm audit # Check for vulnerabilities
npm audit fix # Auto-fix vulnerabilities
npm outdated # Check for outdated dependenciesSee ARCHITECTURE.md for detailed documentation about the codebase structure and how to contribute.
MIT