mcp-setup-cli
v1.0.0
Published
Setup tool for MCP Memory Server and AI configuration in Cursor IDE
Maintainers
Readme
MCP Setup CLI
A command-line tool to set up the Model Context Protocol (MCP) Memory Server for Cursor IDE.
Features
- ✨ Local Installation: Installs MCP Memory Server as a project dependency
- 🔍 Smart Project Detection: Automatically detects project type, frameworks, and patterns
- 📝 Project Rules: Generates tailored rules based on your codebase
- 💾 Memory Management: Creates a local memory file and backup utilities
- ⚙️ Auto Configuration: Sets up Cursor IDE with optimal settings
- 🚀 Interactive UI: User-friendly command line interface with progress indicators
Installation
You can install the package globally:
npm install -g mcp-setup-cliOr use it directly with npx:
npx mcp-setup-cliUsage
Basic Usage
Navigate to your project directory and run:
mcp-setupThis will:
- Install MCP Memory Server locally in your project
- Analyze your project structure
- Configure Cursor IDE
- Generate project-specific rules
- Set up a memory file and utilities
Options
mcp-setup --helpAvailable options:
-v, --verbose: Show detailed output-y, --yes: Skip confirmation prompts--version: Show version information
What Gets Installed
The setup process creates:
In Your Project
.mcp/: Directory for memory storage and utilitiesai_memory.json: The memory filebackups/: Directory for memory backupsbackup-memory.js: Utility for creating backupsmemory-explorer.js: Simple web viewer for memory entries
.cursor/rules/: Directory for Cursor rulesproject-rules.mdc: Main project rules- Additional rules based on detected patterns
In Your package.json
New npm scripts:
mcp: Start the MCP Memory Servermcp:backup: Create a backup of the memory filemcp:explore: Start the memory explorer web interface
In Cursor IDE
- Configuration to use the local MCP Memory Server
- Optimized AI settings
After Installation
- Restart Cursor IDE
- Run
npm run mcpto start the MCP Memory Server - Start coding with enhanced AI assistance!
Supported Project Types
Automatically detects and configures for:
- React / Next.js
- Vue / Nuxt.js
- Angular
- Node.js (Express, Koa, etc.)
- Python (Django, Flask, FastAPI)
- And more!
How It Works
- Project Analysis: Scans your project to identify frameworks, patterns, and structures
- Local Installation: Installs the MCP Memory Server as a dev dependency
- Configuration: Sets up Cursor IDE to use the local server
- Rule Generation: Creates tailored rules based on detected patterns
- Memory Setup: Initializes a memory file with project context
- Utilities: Creates backup and exploration tools
License
MIT
Contributing
Contributions welcome! See CONTRIBUTING.md for details.
