Skip to main content
Glama
ARCHIVE.mdβ€’10.5 kB
# Archive Notice - MCP Standards **Archive Date**: November 30, 2024 **Project Status**: Archived - Reference Only **Final Version**: v0.2.0-alpha.1 --- ## πŸ“‹ Archive Summary This repository has been archived and is preserved for reference purposes. The project successfully demonstrated automatic preference learning for Claude using AgentDB vector memory but is no longer actively maintained. --- ## βœ… What Was Accomplished ### Core Features Implemented - βœ… **Automatic Preference Detection**: Auto-detected "use X not Y" patterns - βœ… **Vector Memory Integration**: AgentDB for <1ms semantic search (150x faster than SQLite) - βœ… **Cross-Session Persistence**: Preferences remembered across all Claude sessions - βœ… **Zero-Config Design**: Simple 5-minute setup process - βœ… **100% Local Privacy**: All data stored locally in `~/.mcp-standards/` - βœ… **Simple MCP Server**: Clean implementation with 4 core tools ### Technical Achievements - **Performance**: Sub-millisecond search with HNSW indexing - **Architecture**: Clean ~950 LOC implementation (vs 6,000+ LOC in v1) - **Integration**: Full Claude Desktop MCP integration - **Testing**: Comprehensive validation suite with 5+ tests - **Documentation**: Complete guides, examples, and technical docs ### Key Components Delivered 1. **AgentDB Client** (`agentdb_client.py`) - 200 LOC vector memory wrapper 2. **Simple MCP Server** (`server_simple.py`) - 350 LOC server implementation 3. **Auto-Detection** (`hooks/auto_memory.py`) - 250 LOC pattern recognition 4. **Validation Suite** (`tests/test_simple_setup.py`) - Complete test coverage 5. **Documentation** - Comprehensive setup and usage guides --- ## πŸ“Š Final Project Statistics | Metric | Value | |--------|-------| | **Total LOC** | ~950 (simple v2) | | **Setup Time** | <5 minutes | | **Search Speed** | <1ms (AgentDB) | | **Test Coverage** | 5/5 validation tests passing | | **Documentation Pages** | 15+ comprehensive guides | | **MCP Tools** | 4 core tools | | **Skills** | 25+ Claude Code skills | --- ## πŸ” Repository Contents ### Core Implementation ``` src/mcp_standards/ β”œβ”€β”€ agentdb_client.py # AgentDB vector memory wrapper β”œβ”€β”€ server_simple.py # Simple MCP server (v2) β”œβ”€β”€ hooks/auto_memory.py # Auto-detection patterns β”œβ”€β”€ server.py # Legacy v1 server (reference) └── standards/ # Config parsing utilities ``` ### Documentation ``` docs/ β”œβ”€β”€ ARCHIVE.md # This archive document β”œβ”€β”€ QUICKSTART_SIMPLE.md # 5-minute setup guide β”œβ”€β”€ VALIDATION_CHECKLIST.md # Testing & troubleshooting β”œβ”€β”€ SIMPLE_V2_PLAN.md # Technical implementation β”œβ”€β”€ CONFIG_STANDARDS.md # Standards documentation β”œβ”€β”€ CONTRIBUTING.md # Contribution guidelines β”œβ”€β”€ CHANGELOG.md # Version history └── architecture/ # Technical architecture docs ``` ### Testing & Scripts ``` tests/ β”œβ”€β”€ test_simple_setup.py # Main validation suite └── test_*.py # Additional test files scripts/ └── setup-agentdb.js # AgentDB installation script ``` ### Claude Code Integration ``` .claude/ β”œβ”€β”€ skills/ β”‚ β”œβ”€β”€ remember-preferences.md # Main preference skill β”‚ β”œβ”€β”€ agentdb-*/ # AgentDB skills β”‚ β”œβ”€β”€ github-*/ # GitHub integration β”‚ └── swarm-*/ # Swarm orchestration β”œβ”€β”€ agents/ # Custom agents β”œβ”€β”€ commands/ # Slash commands └── helpers/ # Utility helpers ``` --- ## πŸ›‘οΈ Security & Privacy Status ### βœ… Security Audit Complete **No Secrets or Tokens Found**: - βœ… No API keys in codebase - βœ… No authentication tokens - βœ… No private keys or certificates - βœ… No hardcoded credentials - βœ… `.env` files properly ignored - βœ… Git history clean (no leaked secrets) **Privacy Guarantees**: - βœ… 100% local storage (`~/.mcp-standards/`) - βœ… No cloud dependencies - βœ… No telemetry or data collection - βœ… No external API calls (except optional model routing) - βœ… User data stays on local machine **Configuration Files**: - `.env.example` - Template only (safe to distribute) - `.gitignore` - Comprehensive protection against secrets - `package.json` - No sensitive data --- ## πŸ“š Key Documentation ### For Users - **[README.md](../README.md)** - Main project overview - **[QUICKSTART_SIMPLE.md](QUICKSTART_SIMPLE.md)** - 5-minute setup guide - **[VALIDATION_CHECKLIST.md](VALIDATION_CHECKLIST.md)** - Testing & troubleshooting ### For Developers - **[SIMPLE_V2_PLAN.md](SIMPLE_V2_PLAN.md)** - Technical implementation details - **[CONFIG_STANDARDS.md](CONFIG_STANDARDS.md)** - Configuration standards - **[architecture/](architecture/)** - Detailed architecture documentation ### For Reference - **[CONTRIBUTING.md](CONTRIBUTING.md)** - Contribution guidelines - **[CHANGELOG.md](CHANGELOG.md)** - Version history and changes --- ## 🎯 What This Project Demonstrated ### Innovation Highlights 1. **Automatic Learning** - Proved automatic preference detection is viable - Demonstrated natural language pattern recognition - Showed cross-session memory persistence works seamlessly 2. **Vector Memory Benefits** - AgentDB provided 150x speed improvement over SQLite - Semantic search enabled context-aware preference matching - Sub-millisecond query times improved UX significantly 3. **Simplicity Wins** - v2 reduced code from 6,000+ to ~950 LOC (84% reduction) - Zero-config design eliminated setup friction - Clean architecture made maintenance easy 4. **Local-First Approach** - 100% local privacy was achievable and performant - No cloud dependencies reduced complexity - User data sovereignty maintained throughout --- ## πŸ”§ Technologies Used ### Core Stack - **Python 3.10+** - MCP server implementation - **AgentDB** - Ultra-fast vector memory (<1ms search) - **MCP Protocol** - Claude Desktop integration - **SQLite** - Fallback storage (optional) - **Node.js 18+** - Setup scripts and tooling ### Key Dependencies ```json { "agentdb": "latest", "express": "^5.1.0", "python": ">=3.10" } ``` ### Development Tools - **pytest** - Testing framework - **asyncio** - Async MCP operations - **uv** - Python package runner --- ## πŸ“– How to Use This Archive ### Browsing the Code ```bash # Clone the repository git clone https://github.com/airmcp-com/mcp-standards.git cd mcp-standards # Explore the codebase ls -la src/mcp_standards/ cat README.md ``` ### Reading Documentation ```bash # View main docs open README.md open docs/QUICKSTART_SIMPLE.md open docs/SIMPLE_V2_PLAN.md # Browse technical docs ls -la docs/ ``` ### Understanding the Architecture ```bash # View archive documentation cat docs/ARCHIVE.md # Review implementation plan cat docs/SIMPLE_V2_PLAN.md # See validation checklist cat docs/VALIDATION_CHECKLIST.md # Explore architecture docs ls docs/architecture/ ``` ### Reference Implementation ```python # Example: AgentDB Client Usage from mcp_standards.agentdb_client import AgentDBClient # Initialize client client = AgentDBClient(db_path="~/.mcp-standards/agentdb") # Store preference await client.remember( content="use uv not pip", category="python" ) # Search preferences results = await client.recall( query="package manager", top_k=5 ) ``` --- ## 🚫 What This Archive Is NOT - ❌ **Not production-ready** - This was an experimental proof-of-concept - ❌ **Not actively maintained** - No bug fixes or updates will be provided - ❌ **Not supported** - No support or help available - ❌ **Not recommended for production** - Use for reference/learning only --- ## πŸ’‘ Lessons Learned ### What Worked Well 1. **AgentDB Integration** - Vector memory delivered on performance promises 2. **Auto-Detection** - Pattern matching for "use X not Y" was surprisingly effective 3. **Simplicity** - Reducing code complexity improved maintainability dramatically 4. **Documentation** - Comprehensive docs made the project accessible 5. **Local-First** - Privacy-focused design resonated with users ### What Could Be Improved 1. **Error Handling** - More robust error recovery needed 2. **Category Detection** - Auto-categorization could be more intelligent 3. **Conflict Resolution** - Handling conflicting preferences needs work 4. **UI/UX** - Better feedback when preferences are learned 5. **Testing** - More integration tests for edge cases ### Technical Insights - Vector search is overkill for small preference lists (but future-proof) - Simple patterns ("use X not Y") are easier to detect than complex preferences - Cross-session persistence requires careful state management - MCP protocol is well-designed for this use case --- ## πŸ”— Related Resources ### AgentDB - **Website**: https://agentdb.ruv.io - **Documentation**: AgentDB vector memory docs - **NPM**: `npm install -g agentdb` ### MCP Protocol - **Specification**: Model Context Protocol docs - **Claude Desktop**: Claude Code documentation - **Examples**: MCP server examples ### Inspiration - **Context Engineering**: https://github.com/coleam00/context-engineering-intro - **Claude Code**: https://claude.com/claude-code --- ## πŸ“œ License MIT License - See [LICENSE](../LICENSE) file This project is provided "as-is" without warranty of any kind. --- ## πŸ™ Acknowledgments Special thanks to: - **AgentDB Team** - For ultra-fast vector memory - **Anthropic** - For Claude and MCP protocol - **Open Source Community** - For inspiration and tools - **Early Testers** - For valuable feedback --- ## πŸ“ Final Notes This project successfully demonstrated that: - βœ… Automatic preference learning is viable - βœ… Vector memory provides significant performance benefits - βœ… Simplicity leads to better user experience - βœ… Local-first AI tools are both private and performant While the project is archived, the code remains available as: - **Reference implementation** for AgentDB integration - **Example** of MCP server development - **Learning resource** for vector memory patterns - **Inspiration** for future projects **Use wisely. Build better. Keep it simple.** 🎯 --- **Archive Date**: November 30, 2024 **Final Version**: v0.2.0-alpha.1 **Repository**: https://github.com/airmcp-com/mcp-standards **Status**: Archived - Reference Only **Made with ❀️ by keeping it simple**

Latest Blog Posts

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/airmcp-com/mcp-standards'

If you have feedback or need assistance with the MCP directory API, please join our Discord server