# 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*