- Explore MCP Servers
- mcp-cursor-companion
Mcp Cursor Companion
What is Mcp Cursor Companion
MCP Cursor Companion is a powerful companion tool designed to enhance AI collaboration within the Cursor IDE by providing structured memory management and project context.
Use cases
Use cases for MCP Cursor Companion include managing project documentation, tracking architectural decisions, maintaining development session history, and providing context-aware assistance to developers.
How to use
To use MCP Cursor Companion, navigate to your project directory and run the command ‘mcpCompanion setup’. This will create necessary directories, initialize AI memory, set collaboration rules, and configure the Cursor IDE for enhanced AI assistance.
Key features
Key features include quick setup, automatic directory creation, advanced AI memory management, enhanced collaboration support, smart code generation, a project-specific knowledge base, context persistence across sessions, and command-line tools for memory maintenance.
Where to use
MCP Cursor Companion is primarily used in software development environments where AI collaboration and memory management are essential for project efficiency and organization.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Cursor Companion
MCP Cursor Companion is a powerful companion tool designed to enhance AI collaboration within the Cursor IDE by providing structured memory management and project context.
Use cases
Use cases for MCP Cursor Companion include managing project documentation, tracking architectural decisions, maintaining development session history, and providing context-aware assistance to developers.
How to use
To use MCP Cursor Companion, navigate to your project directory and run the command ‘mcpCompanion setup’. This will create necessary directories, initialize AI memory, set collaboration rules, and configure the Cursor IDE for enhanced AI assistance.
Key features
Key features include quick setup, automatic directory creation, advanced AI memory management, enhanced collaboration support, smart code generation, a project-specific knowledge base, context persistence across sessions, and command-line tools for memory maintenance.
Where to use
MCP Cursor Companion is primarily used in software development environments where AI collaboration and memory management are essential for project efficiency and organization.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
MCP Cursor Companion
A powerful companion tool that enhances AI collaboration in Cursor IDE through structured memory management and project context.
Features
- 🚀 Quick Setup: One command to configure MCP
- 📁 Automatic Directory Creation
- 🧠 Advanced AI Memory Management
- 🤝 Enhanced Collaboration Support
- 💡 Smart Code Generation
- 📚 Project-Specific Knowledge Base
- 🔄 Context Persistence Across Sessions
- 📋 Command-Line Tools for Memory Maintenance
Installation
npm install -g mcp-cursor-companion
Basic Usage
Navigate to your project directory and run:
mcpCompanion setup
This will:
- Create necessary MCP directories
- Initialize the AI memory file with enhanced structure
- Set up collaboration rules
- Configure Cursor IDE for enhanced AI assistance
Memory Management Commands
MCP Cursor Companion provides powerful tools to manage the AI’s memory of your project:
View Memory
mcpCompanion memory
View a summary of the AI memory structure and its contents.
To view a specific section:
mcpCompanion memory -s project_overview
Available sections include: project_overview, architecture, code_conventions, feature_registry, decision_log, session_history, and more.
Update Project Information
mcpCompanion update -v 1.2.0
Updates the project version in the memory structure.
mcpCompanion update -f "Implement user authentication"
Adds a new focus area to the development priorities.
Add Memory Entries
mcpCompanion add -i
Launches an interactive prompt to add a new memory entry. You can document:
- Features implemented
- Architectural decisions
- Development sessions
- Code patterns
- Solutions to problems
- Bug fixes
- Optimizations
Each entry becomes part of the AI’s knowledge base for your project, enabling more relevant assistance.
Enhanced Features
Context-Aware Assistance
- AI understands your project structure
- Maintains conversation history
- Provides relevant suggestions based on project memory
Smart Code Generation
- Generates code based on project context
- Follows your coding style and conventions
- Maintains consistency with existing patterns
Project-Specific Knowledge
- Learns from your documented decisions and features
- Provides domain-specific suggestions
- Adapts to your workflow and priorities
Memory Persistence Across Sessions
- Maintains project context between coding sessions
- Quickly orients the AI with each new conversation
- Provides consistent assistance over time
Getting Started
-
Install the companion tool globally:
npm install -g mcp-cursor-companion -
Run the setup in your project directory:
mcpCompanion setup -
Document important project information:
mcpCompanion add -i -
Restart Cursor IDE
-
Use Cmd/Ctrl + Shift + A to access AI features
-
Start coding with enhanced AI assistance
AI Memory Structure
The memory system maintains a comprehensive structure that includes:
- Project Overview: Basic information about the project
- Architecture: Components, data flow, and patterns
- Code Conventions: Naming, structure, and documentation standards
- Feature Registry: Completed and planned features
- Decision Log: Important decisions and their rationale
- Session History: Summary of past development sessions
- Detailed Memories: Specific context about important changes
Best Practices
For the most effective AI collaboration:
-
Document Important Decisions:
mcpCompanion add -iSelect “decision” type and document architectural choices.
-
Record Feature Implementations:
After completing a feature, document it to help the AI understand its purpose and implementation. -
Update Project Version:
mcpCompanion update -v 1.2.0Keep the version information current.
-
Add Session Summaries:
At the end of significant coding sessions, document what was accomplished.
Requirements
- Node.js >= 14.0.0
- Cursor IDE
Troubleshooting
If you encounter any issues:
- Ensure you have write permissions in the project directory
- Check if Cursor IDE is properly installed
- Try running the command with administrator privileges
- Verify the memory file exists:
.mcp/ai_memory.json
License
MIT
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










