{"id":29676010,"url":"https://github.com/cbunting99/enhanced-mcp-memory","last_synced_at":"2025-07-22T23:39:15.801Z","repository":{"id":304838063,"uuid":"1020180961","full_name":"cbunting99/enhanced-mcp-memory","owner":"cbunting99","description":"An enhanced MCP (Model Context Protocol) server for intelligent memory and task management, designed for AI assistants and development workflows. Features semantic search, automatic task extraction, knowledge graphs, and comprehensive project management.","archived":false,"fork":false,"pushed_at":"2025-07-17T13:37:33.000Z","size":56,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T03:58:24.486Z","etag":null,"topics":["cline","kiro","kiro-mcp-memory","mcp-memory","mcp-server","roo-code","vscode"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbunting99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-15T13:15:21.000Z","updated_at":"2025-07-17T13:37:36.000Z","dependencies_parsed_at":"2025-07-20T03:58:26.941Z","dependency_job_id":null,"html_url":"https://github.com/cbunting99/enhanced-mcp-memory","commit_stats":null,"previous_names":["cbunting99/kiro-mcp-memory","cbunting99/enhanced-mcp-memory"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/cbunting99/enhanced-mcp-memory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbunting99%2Fenhanced-mcp-memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbunting99%2Fenhanced-mcp-memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbunting99%2Fenhanced-mcp-memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbunting99%2Fenhanced-mcp-memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbunting99","download_url":"https://codeload.github.com/cbunting99/enhanced-mcp-memory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbunting99%2Fenhanced-mcp-memory/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266591240,"owners_count":23953082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cline","kiro","kiro-mcp-memory","mcp-memory","mcp-server","roo-code","vscode"],"created_at":"2025-07-22T23:39:15.209Z","updated_at":"2025-07-22T23:39:15.784Z","avatar_url":"https://github.com/cbunting99.png","language":"Python","funding_links":[],"categories":["📚 Projects (1974 total)"],"sub_categories":["MCP Servers"],"readme":"# Enhanced MCP Memory\n\n\u003e **⚡ Optimized for Claude Sonnet 4** - This MCP server works best with Claude Sonnet 4 for optimal performance and AI-powered features.\n\nAn enhanced MCP (Model Context Protocol) server for intelligent memory and task management, designed for AI assistants and development workflows. Features semantic search, automatic task extraction, knowledge graphs, and comprehensive project management.\n\n## ✨ Key Features\n\n### 🧠 Intelligent Memory Management\n- **Semantic search** using sentence-transformers for natural language queries\n- **Automatic memory classification** with importance scoring\n- **Duplicate detection** and content deduplication\n- **File path associations** for code-memory relationships\n- **Knowledge graph relationships** with automatic similarity detection\n\n### 📋 Advanced Task Management\n- **Auto-task extraction** from conversations and code comments\n- **Priority and category management** with validation\n- **Status tracking** (pending, in_progress, completed, cancelled)\n- **Task-memory relationships** in knowledge graph\n- **Project-based organization**\n\n### 🔧 Enterprise Features\n- **Performance monitoring** with detailed metrics\n- **Health checks** and system diagnostics\n- **Automatic cleanup** of old data and duplicates\n- **Database optimization** tools\n- **Comprehensive logging** and error tracking\n\n### 🚀 Easy Deployment\n- **uvx compatible** for one-command installation\n- **Zero-configuration** startup with sensible defaults\n- **Environment variable** configuration\n- **Cross-platform** support (Windows, macOS, Linux)\n\n## 🏗️ Project Structure\n\n```\nenhanced-mcp-memory/\n├── mcp_server_enhanced.py    # Main MCP server\n├── memory_manager.py         # Core memory/task logic\n├── database.py              # Database operations\n├── requirements.txt         # Python dependencies\n├── setup.py                # Package configuration\n├── data/                   # SQLite database storage\n├── logs/                   # Application logs\n└── tests/                  # Test files\n```\n\n## 🚀 Quick Start\n\n### Option 1: Using uvx (Recommended)\n\n```bash\n# Install and run with uvx\nuvx enhanced-mcp-memory\n```\n\n### Option 2: Manual Installation\n\n```bash\n# Clone and install\ngit clone https://github.com/cbunting99/enhanced-mcp-memory.git\ncd enhanced-mcp-memory\npip install -e .\n\n# Run the server\nenhanced-mcp-memory\n```\n\n### Option 3: Development Setup\n\n```bash\n# Clone repository\ngit clone https://github.com/cbunting99/enhanced-mcp-memory.git\ncd enhanced-mcp-memory\n\n# Install dependencies\npip install -r requirements.txt\n\n# Run directly\npython mcp_server_enhanced.py\n```\n\n## ⚙️ MCP Configuration\n\nAdd to your MCP client configuration:\n\n### For uvx installation:\n```json\n{\n  \"mcpServers\": {\n    \"memory-manager\": {\n      \"command\": \"uvx\",\n      \"args\": [\"enhanced-mcp-memory\"],\n      \"env\": {\n        \"LOG_LEVEL\": \"INFO\",\n        \"MAX_MEMORY_ITEMS\": \"1000\",\n        \"ENABLE_AUTO_CLEANUP\": \"true\"\n      }\n    }\n  }\n}\n```\n\n### For local installation:\n```json\n{\n  \"mcpServers\": {\n    \"memory-manager\": {\n      \"command\": \"python\",\n      \"args\": [\"mcp_server_enhanced.py\"],\n      \"cwd\": \"/path/to/enhanced-mcp-memory\",\n      \"env\": {\n        \"LOG_LEVEL\": \"INFO\",\n        \"MAX_MEMORY_ITEMS\": \"1000\",\n        \"ENABLE_AUTO_CLEANUP\": \"true\"\n      }\n    }\n  }\n}\n```\n\n## 🛠️ Available Tools\n\n### Core Memory Tools\n- `get_memory_context(query)` - Get relevant memories and context\n- `create_task(title, description, priority, category)` - Create new tasks\n- `get_tasks(status, limit)` - Retrieve tasks with filtering\n- `get_project_summary()` - Get comprehensive project overview\n\n### System Management Tools\n- `health_check()` - Check server health and connectivity\n- `get_performance_stats()` - Get detailed performance metrics\n- `cleanup_old_data(days_old)` - Clean up old memories and tasks\n- `optimize_memories()` - Remove duplicates and optimize storage\n- `get_database_stats()` - Get comprehensive database statistics\n\n## 🔧 Configuration Options\n\nConfigure via environment variables:\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `LOG_LEVEL` | `INFO` | Logging level (DEBUG, INFO, WARNING, ERROR) |\n| `MAX_MEMORY_ITEMS` | `1000` | Maximum memories per project |\n| `CLEANUP_INTERVAL_HOURS` | `24` | Auto-cleanup interval |\n| `ENABLE_AUTO_CLEANUP` | `true` | Enable automatic cleanup |\n| `MAX_CONCURRENT_REQUESTS` | `5` | Max concurrent requests |\n| `REQUEST_TIMEOUT` | `30` | Request timeout in seconds |\n\n## 🧪 Testing\n\nRun the test suite to verify functionality:\n\n```bash\n# Run all tests\npython test_enhanced_features.py\npython test_new_project_system.py\npython test_project_tools.py\n\n# Test MCP protocol\npython test_mcp_protocol.py\n```\n\n## 📊 Performance \u0026 Monitoring\n\nThe server includes built-in performance tracking:\n\n- **Response time monitoring** for all tools\n- **Success rate tracking** with error counts\n- **Memory usage statistics**\n- **Database performance metrics**\n- **Automatic health checks**\n\nAccess via the `get_performance_stats()` and `health_check()` tools.\n\n## 🗄️ Database\n\n- **SQLite** for reliable, file-based storage\n- **Automatic schema migrations** for updates\n- **Comprehensive indexing** for fast queries\n- **Built-in backup and optimization** tools\n- **Cross-platform compatibility**\n\nDefault location: `./data/mcp_memory.db`\n\n## 🔍 Semantic Search\n\nPowered by sentence-transformers for intelligent memory retrieval:\n\n- **Natural language queries** - \"Find memories about database optimization\"\n- **Similarity-based matching** using embeddings\n- **Configurable similarity thresholds**\n- **Automatic model downloading** (~90MB on first run)\n\n## 📝 Logging\n\nComprehensive logging system:\n\n- **Daily log rotation** in `./logs/` directory\n- **Structured logging** with timestamps and levels\n- **Performance tracking** integrated\n- **Error tracking** with stack traces\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Add tests for new functionality\n4. Ensure all tests pass\n5. Submit a pull request\n\n## 📄 License\n\nMIT License - see LICENSE file for details.\n\n## 🆘 Support\n\n- **Issues**: [GitHub Issues](https://github.com/cbunting99/enhanced-mcp-memory/issues)\n- **Documentation**: [README](https://github.com/cbunting99/enhanced-mcp-memory#readme)\n- **Discussions**: [GitHub Discussions](https://github.com/cbunting99/enhanced-mcp-memory/discussions)\n\n## 🏷️ Version History\n\n- **v1.2.0** - Enhanced MCP server with performance monitoring and health checks\n- **v1.1.0** - Added semantic search and knowledge graph features\n- **v1.0.0** - Initial release with basic memory and task management","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbunting99%2Fenhanced-mcp-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbunting99%2Fenhanced-mcp-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbunting99%2Fenhanced-mcp-memory/lists"}