databasesproductivity

Agent Knowledge MCP

by itshare4u

Agent Knowledge MCP: Model Context Protocol server combining an Elasticsearch knowledge base with file ops, document val

A comprehensive Model Context Protocol server that integrates Elasticsearch search with file operations, document validation, and version control to transform AI assistants into powerful knowledge management systems.

github stars

29

20 tools for knowledge managementWorks with any MCP-compatible AI assistantSandboxed operations for security

best for

  • / Knowledge workers organizing research and documents
  • / Development teams managing API documentation
  • / Content creators building searchable archives

capabilities

  • / Search documents using Elasticsearch
  • / Index and organize files with metadata
  • / Validate documents against schemas
  • / Manage configuration settings
  • / Create document templates
  • / Find related documents by topic

what it does

Integrates Elasticsearch search with file operations and document management to turn AI assistants into knowledge management systems. Provides searchable document indexing and validation with 20 tools for managing files and data.

about

Agent Knowledge MCP is a community-built MCP server published by itshare4u that provides AI assistants with tools and capabilities via the Model Context Protocol. Agent Knowledge MCP: Model Context Protocol server combining an Elasticsearch knowledge base with file ops, document val It is categorized under databases, productivity.

how to install

You can install Agent Knowledge MCP in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Agent Knowledge MCP is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

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>

Python 3.8+ MCP Compatible MIT 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

# Install with uvx (recommended)
uvx agent-knowledge-mcp

Setup for Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "agent-knowledge": {
      "command": "uvx",
      "args": ["agent-knowledge-mcp"]
    }
  }
}

Setup for VS Code

Install in VS Code

🛠️ 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:

CategoryToolsDescription
🔍 Elasticsearch9Search, index, manage documents
⚙️ Administration11Config, 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:

{
  "security": {
    "log_all_operations": true
  },
  "document_validation": {
    "strict_schema_validation": true,
    "allow_extra_fields": false
  }
}

🤝 Contributing & Support

Development

git clone https://github.com/itshare4u/AgentKnowledgeMCP.git
cd AgentKnowledgeMCP
pip install -r requirements.txt
python3 src/main_server.py

Support the Project

Buy Me Coffee GitHub Sponsors


Transform your AI into a powerful knowledge management system! 🚀

MIT License - Complete knowledge management solution for AI assistants