cursor-buddy-mcp
š¤ MCP server that gives AI agents deep context about your project - coding standards, knowledge base, todos, database schema & history. Keep your AI assistant consistent and context-aware.
Install / Use
npx skills add omar-haris/cursor-buddy-mcpInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of cursor-buddy-mcp
cursor-buddy-mcp scores 75/100 on our quality scale, 546th of 596 Data & Analytics skills we index.
Its .cursorrules is 13 KB long, well organised into 66 sections with 15 code examples: a thorough specification that gives an agent plenty to work with.
It has 13 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 16 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-10-22 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 85/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit ā read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk ā read a skill before letting an agent act on it.
cursor-buddy-mcp compared with similar skills
All 4 of these similar skills score higher than cursor-buddy-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cursor-buddy-mcp (this skill)by omar-haris | 75 | 13 | 16mo ago | .cursorrules |
| Agent-Reachby Panniantong | 100 | 109.5k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 98.7k | today | MCP Server |
Frequently asked questions
- How do I install cursor-buddy-mcp?
- Run
npx skills add omar-haris/cursor-buddy-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does cursor-buddy-mcp work with?
- It is written for Cursor, as a .cursorrules file. Other agents that read the same format can often use it too.
- Is cursor-buddy-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 85/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cursor-buddy-mcp still maintained?
- The repository was last updated about 16 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHub
Cursor Buddy MCP
š¤ Keep AI Agents Context-Aware & Consistent
Transform your AI assistant into a context-aware coding partner that understands your project's standards, conventions, and history.
š Quick Start ⢠š Documentation ⢠š§ Tools ⢠š” Examples
</div>šÆ Why Cursor Buddy MCP?
<table> <tr> <td width="50%">š§ Context-Aware AI
Your AI assistant instantly knows your coding standards, architectural patterns, and project conventions
š Centralized Knowledge
All project documentation and guidelines in one searchable location
ā Progress Tracking
Automatic todo management and implementation history tracking
</td> <td width="50%">š Real-time Updates
File monitoring ensures your AI always has the latest information
š Zero Setup Friction
Drop-in Docker container with immediate MCP integration
š Intelligent Search
Fast, relevant results across all your project context
</td> </tr> </table>š Table of Contents
- šÆ Why Cursor Buddy MCP?
- šļø Architecture
- š Quick Start
- š§ Available Tools
- š” Usage Examples
- š Documentation
- š Best Practices
- š§ Advanced Features
- š¤ Contributing
šļø Architecture
<div align="center">graph TB
A[AI Assistant] --> B[MCP Client]
B --> C[Cursor Buddy MCP Server]
C --> D[.buddy Directory]
D --> E[Rules]
D --> F[Knowledge]
D --> G[Todos]
D --> H[Database]
D --> I[History]
D --> J[Backups]
C --> K[Search Engine]
C --> L[File Monitor]
C --> M[Backup Manager]
style A fill:#e1f5fe
style C fill:#f3e5f5
style K fill:#e8f5e8
</div>
Built on the Model Context Protocol (MCP) using the Go SDK from mark3labs/mcp-go. Communicates over stdin/stdout using JSON-RPC 2.0, making it compatible with MCP clients like Claude Desktop.
šØ Features
| Feature | Description | |---------|-------------| | š§ Tools | 6 interactive tools for managing project context | | š Resources | Project context resource with complete project state | | š Stdio Transport | Standard input/output communication | | ā” Real-time Updates | File monitoring with automatic reloading | | š Full-text Search | Bleve-powered search across all content | | š¾ Automatic Backups | Safe file modifications with rollback capability |
š Quick Start
1ļøā£ Pull from GitHub Registry
docker pull ghcr.io/omar-haris/cursor-buddy-mcp:latest
2ļøā£ Configure Cursor
Add to .cursor/mcp.json:
ā ļø Important: Replace
/path/to/your/project/with your actual project directory path!
{
"mcpServers": {
"cursor-buddy-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "/path/to/your/project/.buddy:/home/buddy/.buddy",
"-e", "BUDDY_PATH=/home/buddy/.buddy",
"ghcr.io/omar-haris/cursor-buddy-mcp:latest"
]
}
}
}
Examples:
- Linux/macOS:
"/home/user/myproject/.buddy:/home/buddy/.buddy" - Windows:
"C:/Users/User/myproject/.buddy:/home/buddy/.buddy" - Current directory:
"${PWD}/.buddy:/home/buddy/.buddy"
š” How to find your project path:
# Navigate to your project directory and run:
pwd
# Copy the output and replace /path/to/your/project/ with: {output}/.buddy
3ļøā£ Create .buddy Structure
Navigate to your project directory and run:
mkdir -p .buddy/{rules,knowledge,todos,database,history,backups}
š This will create:
your-project/
āāā .buddy/
ā āāā rules/
ā āāā knowledge/
ā āāā todos/
ā āāā database/
ā āāā history/
ā āāā backups/
4ļøā£ Add Your Content
Create files in .buddy/ folders following the documentation below.
š§ Available Tools
<table> <tr> <td width="50%">š buddy_get_rules
Get coding standards and guidelines
- Filter by category or priority
- Support for multiple rule types
š buddy_search_knowledge
Search project documentation
- Full-text search across all knowledge
- Category and tag filtering
ā buddy_manage_todos
List/update tasks and track progress
- Feature-based organization
- Progress tracking and completion
šļø buddy_get_database_info
Get schema info and validate queries
- Table schema information
- Query validation and examples
š buddy_history
Track implementation changes and search history
- Implementation timeline
- Feature development tracking
š¾ buddy_backup
Create and manage file backups
- Automatic backup creation
- Safe file modifications
š” Usage Examples
Ask your AI assistant questions like:
<div align="center">| šÆ Category | š¬ Example Questions | |----------------|-------------------------| | š Coding Standards | "What are our coding standards for error handling?" | | ā Project Progress | "Show me current todos for the authentication feature" | | š Documentation | "Search for API documentation about user endpoints" | | šļø Database | "What's the database schema for the users table?" | | š History | "How did we implement JWT authentication last month?" | | š§ Architecture | "What design patterns should I use for this feature?" |
</div>š Documentation
š Rules Files
Location:
.buddy/rules/
Purpose: Define coding standards, architectural patterns, and guidelines
š Format Requirements
- ā
Use markdown format (
.md) - ā
Include metadata:
categoryandpriority - ā Organize with clear sections and subsections
š§ Example: Coding Standards
<details> <summary>Click to expand coding standards example</summary># Coding Standards
- category: coding
- priority: critical
## Overview
Core coding standards and best practices for the project.
## Go-Specific Standards
- Follow Go naming conventions (camelCase, PascalCase)
- Use `gofmt` for code formatting
- Handle errors explicitly, don't ignore them
- Use interfaces for abstraction
## Error Handling
- Always check and handle errors
- Use structured error types
- Wrap errors with context using `fmt.Errorf`
- Return meaningful error messages
## Testing
- Write unit tests for all public functions
- Use table-driven tests for multiple test cases
- Achieve minimum 80% code coverage
</details>
šļø Example: Architecture Patterns
<details> <summary>Click to expand architecture patterns example</summary># Architecture Patterns
- category: architecture
- priority: critical
## Design Principles
- **Single Responsibility**: Each component has one reason to change
- **Dependency Inversion**: Depend on abstractions, not concretions
## Recommended Patterns
### Repository Pattern
- Encapsulate data access logic
- Provide consistent interface for data operations
- Enable easy testing with mock implementations
### Layered Architecture
āāāāāāāāāāāāāāāāāāāāāāā
ā Presentation ā ā HTTP handlers, CLI
āāāāāāāāāāāāāāāāāāāāāāā¤
ā Business Logic ā ā Domain models, use cases
āāāāāāāāāāāāāāāāāāāāāāā¤
ā Data Access ā ā Repositories, databases
āāāāāāāāāāāāāāāāāāāāāāā
</details>
š Knowledge Files
Location:
.buddy/knowledge/
Purpose: Store project documentation, API specs, and technical information
š Format Requirements
- ā
Use markdown format (
.md) - ā
Include metadata:
categoryand optionaltags - ā Structure with clear headings and examples
š Example: API Documentation
<details> <summary>Click to expand API documentation example</summary># API Documentation
- category: architecture
- tags: api, rest, authentication
## Authentication Endpoints
### POST /auth/login
**Request:**
```json
{
"email": "user@example.com",
"password": "secure_password"
}
Response:
{
"token": "jwt_token_here",
"user": {
"id": 123,
"email": "user@example.com",
"role": "user"
}
}
GET /auth/me
Headers: Authorization: Bearer <token>
Response:
{
"user": {
"id": 123,
"email": "user@example.com",
"role": "user"
}
}
Error Handling
All endpoints return errors in this format:
{
"error": "error_code",
"message": "Human readable message"
}
</details>
---
### ā
Todo Files
> **Location:** `.buddy/todos/`
> **Purpose:** Track tasks, features, and project progress
#### š Format Requirements
- ā
Use markdown format (`.md`)
- ā
Use checkbox syntax: `- [ ]` (incomplete) or `- [x]` (complete)
- ā
Group related tasks under clear headings
- ā
Include context and details for each task
#### š Example: Feature Development
<details>
<summary>Click to expand feature development example</summary>
```markdown
# Authentication Feature
## Backend Implementation
- [x] Set up JWT library
- [x] Create user model and database migration
- [x] Implement password hashing with bcrypt
- [ ] Create login endpoint
- [ ] Create registration endpoint
- [ ] Add middleware for protected routes
- [ ] Write unit tests for auth service
- [ ] Add integration tests for auth endpoints
## Frontend Implementation
- [ ] Create login form component
- [ ] Create registration form component
- [ ] Implement JWT token storage
- [ ] Add authentication context
- [ ] Create protected route wrapper
- [ ] Handle token refresh logic
## Security & Testing
- [ ] Add rate limiting to auth endpoints
- [ ] Implement account lockout after failed attempts
- [ ] Add password strength validation
- [ ] Security audit of auth implementation
- [ ] Load testing for auth endpoints
</details>
šļø Database Files
Location:
.buddy/database/
Purpose: Store SQL schema definitions, migrations, and query examples
š Example: Schema Definition
<details> <summary>Click to expand database schema example</summary>-- Users table
CREATE TABLE users (
id SERIAL PRIMARY KEY,
email VARCHAR(255) UNIQUE NOT NULL,
password_hash VARCHAR(255) NOT NULL,
role VARCHAR(50) DEFAULT 'user',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Sessions table for JWT blacklisting
CREATE TABLE sessions (
id SERIAL PRIMARY KEY,
user_id INTEGER REFERENCES users(id) ON DELETE CASCADE,
token_hash VARCHAR(255) UNIQUE NOT NULL,
expires_at TIMESTAMP NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Indexes for performance
CREATE INDEX idx_users_email ON users(email);
CREATE INDEX idx_sessions_token_hash ON sessions(token_hash);
CREATE INDEX idx_sessions_expires_at ON sessions(expires_at);
</details>
š Best Practices
<div align="center">| šÆ Practice | š Description | |----------------|-------------------| | š Be Specific | Include concrete examples and code snippets | | š Stay Updated | Regularly review and update your files | | **š Consistent Fo
Truncated for display ā read the full file on GitHub.
Related Skills
Agent-Reach
109.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu ā one CLI, zero API fees.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
98.7kš·ļø The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit ā see the Safety scan above for what the skill file itself contains.
