README.md•3.54 kB
# Agent Knowledge MCP 🔍
**Complete knowledge management for AI assistants**
MCP server with Elasticsearch search and document management.
<a href="https://glama.ai/mcp/servers/@itshare4u/AgentKnowledgeMCP">
<img width="380" height="200" src="https://glama.ai/mcp/servers/@itshare4u/AgentKnowledgeMCP/badge" alt="Agent Knowledge MCP server" />
</a>
[](https://python.org)
[](https://modelcontextprotocol.io)
[](LICENSE)
## 🚀 Features
**🔑 All-in-One Solution:**
- 🔍 **Elasticsearch**: Search, index, and manage documents
- 📊 **Document Validation**: Schema-enforced structure
- ⚙️ **Configuration**: Complete config management
- 🛡️ **Security**: Sandboxed operations
**✨ Benefits:**
- 🎯 **20 Tools** for knowledge management
- 🤖 **Works with any MCP-compatible AI** (Claude, ChatGPT, VS Code, etc.)
- 📚 **Smart document management** with validation
- ⚡ **Elasticsearch integration** for powerful search
## ⚡ Quick Start
### Installation
```bash
# Install with uvx (recommended)
uvx agent-knowledge-mcp
```
### Setup for Claude Desktop
Add to `claude_desktop_config.json`:
```json
{
"mcpServers": {
"agent-knowledge": {
"command": "uvx",
"args": ["agent-knowledge-mcp"]
}
}
}
```
### Setup for VS Code
[](https://insiders.vscode.dev/redirect/mcp/install?name=agent-knowledge&inputs=%5B%5D&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22agent-knowledge-mcp%22%5D%7D)
## 🛠️ What You Can Do
**Try these with your AI assistant:**
- *"Search documents for API authentication info"*
- *"Index this document with proper tags"*
- *"Create API documentation template"*
- *"Find related documents on specific topics"*
- *"Update configuration settings"*
- *"Validate document structure"*
## 🔧 Tools Overview
**Tools for knowledge management:**
| Category | Tools | Description |
|----------|-------|-------------|
| **🔍 Elasticsearch** | 9 | Search, index, manage documents |
| **⚙️ Administration** | 11 | Config, security, monitoring |
## 🔒 Security & Configuration
**Enterprise-grade security:**
- ✅ **Sandboxed operations** - Configurable access controls
- ✅ **Strict schema validation** - Enforce document structure
- ✅ **Audit trails** - Full operation logging
- ✅ **No cloud dependencies** - Everything runs locally
**Configuration example:**
```json
{
"security": {
"log_all_operations": true
},
"document_validation": {
"strict_schema_validation": true,
"allow_extra_fields": false
}
}
```
## 🤝 Contributing & Support
### Development
```bash
git clone https://github.com/itshare4u/AgentKnowledgeMCP.git
cd AgentKnowledgeMCP
pip install -r requirements.txt
python3 src/main_server.py
```
### Support the Project
[](https://coff.ee/itshare4u)
[](https://github.com/sponsors/itshare4u)
---
**Transform your AI into a powerful knowledge management system! 🚀**
*MIT License - Complete knowledge management solution for AI assistants*