CodeMind
Integrates with Git to provide git history analysis, change tracking, and context about project evolution.
Provides memory and context for GitHub Copilot, enabling it to understand project structure, dependencies, and decisions across workspaces.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CodeMindDoes this project have authentication?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๏ปฟ# CodeMind ๐ง
Give GitHub Copilot memory across all your projects
CodeMind is an MCP server that gives GitHub Copilot 20 specialized tools for understanding your codebase.
Why CodeMind?
Without it:
โ Copilot creates duplicate files
โ Forgets decisions you just made
โ Doesn't understand your project structure
With it:
โ Finds existing code before creating new files
โ Remembers architectural decisions
โ Understands dependencies and relationships
โ Warns about breaking changes
Related MCP server: CodeSense MCP
Quick Start
Option 1: Install from PyPI (Recommended)
1. Install the package
pip install mcp-codemind2. Configure VS Code
Add to .vscode/settings.json:
{
"mcp.servers": {
"codemind": {
"command": "python",
"args": ["-m", "codemind"]
}
}
}3. Reload
Press Ctrl+Shift+P โ "Developer: Reload Window"
Done! ๐
Option 2: Install from Source
1. Clone and install
git clone https://github.com/MrUnreal/codemind.git
cd codemind
pip install -r requirements.txt2. Configure VS Code
Add to your VS Code settings (Ctrl+Shift+P โ "Preferences: Open User Settings (JSON)"):
{
"mcp.servers": {
"codemind": {
"command": "python",
"args": ["/full/path/to/codemind.py"],
"cwd": "${workspaceFolder}"
}
}
}Replace /full/path/to/codemind.py with the actual path to where you cloned CodeMind.
3. Reload VS Code
Press Ctrl+Shift+P โ "Developer: Reload Window"
4. Test It
Open Copilot Chat and try:
Does this project have authentication?Done! ๐
Need help? Check our Troubleshooting Guide
What You Get
20 AI Tools in 6 Categories:
Category | What It Does |
๐ Search | Find existing code, check if features exist |
๐ Context | Understand files, track changes, remember decisions |
๐ Dependencies | See what imports what, visualize structure |
๐ Analysis | Code quality metrics, config auditing |
โ ๏ธ Safety | Check breaking changes before refactoring |
๐๏ธ Management | Index files, find TODOs, git history |
How It Works
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ You: "Add authentication" โ
โโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Copilot (with CodeMind): โ
โ ๐ Searching existing code... โ
โ รขลโฆ Found: src/auth/jwt.py (95% match) โ
โ ๐ก "I found existing JWT auth. Should I extend it?" โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Without CodeMind:
โ Creates duplicate auth files
โ Doesn't know about existing code
โ No context of your architectureYou ask naturally โ Copilot automatically uses CodeMind โ Gets smart suggestions
No explicit tool calls needed!
Example Usage
๐ฌ "Does this project have authentication?"
โ
Found in src/auth/jwt.py
๐ฌ "What will break if I rename UserModel?"
โ ๏ธ 7 files will be affected
๐ฌ "What depends on database.py?"
๐ Used by: models/, auth/, tests/
๐ฌ "Show me TODOs"
๐ Found 12 TODOs across 5 filesMulti-Workspace Support
Work with multiple projects simultaneously:
Each project gets its own database
No cross-contamination
Isolated configurations
Documentation
Document | Purpose |
Start here! Complete beginner's guide | |
How to use with Copilot | |
How to contribute to CodeMind | |
All 20 tools explained | |
Real-world scenarios | |
Common questions | |
Technical details | |
Version history |
Requirements
Python 3.8 or higher
VS Code with GitHub Copilot
~80MB for embedding model (downloaded automatically on first use)
~1-5MB per project for database
Status
โ 20/20 tools operational
โ 110+ tests passing (99%+ rate)
โ Production ready
โ Actively maintained
Contributing
Contributions welcome! See CONTRIBUTING.md
License
MIT - See LICENSE
Built with: Python, FastMCP, sentence-transformers, SQLite
Making Copilot smarter, one project at a time ๐
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MrUnreal/codemind'
If you have feedback or need assistance with the MCP directory API, please join our Discord server