Logo vun Agent Knowledge

Agent Knowledge

Communautéit
itshare4u

Complete knowledge management for AI assistants

Editeuritshare4u
RepositoryAgentKnowledgeMCP
SproochPython
Forks
7
Stären
27
Disponibel Tools
27
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Agent Knowledge stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 27 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    27 Stären an 7 Forks aus dem verlinkte Repository.

Agent Knowledge MCP 🔍

Complete knowledge management for AI assistants
MCP server with Elasticsearch search and document management.

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

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

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:

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

Buy Me Coffee GitHub Sponsors


Transform your AI into a powerful knowledge management system! 🚀

MIT License - Complete knowledge management solution for AI assistants

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

Disponibel Tools

  • create_snapshot

    Create a snapshot (backup) of Elasticsearch indices with comprehensive options and repository management

  • restore_snapshot

    Restore indices from an Elasticsearch snapshot with comprehensive options and conflict resolution

  • list_snapshots

    List all snapshots in an Elasticsearch repository with detailed information and status

  • create_index_metadata

    Create metadata documentation for an Elasticsearch index to ensure proper governance and documentation

  • update_index_metadata

    Update existing metadata documentation for an Elasticsearch index

  • delete_index_metadata

    Delete metadata documentation for an Elasticsearch index

  • delete_document

    Delete a document from Elasticsearch index by document ID

  • get_document

    Retrieve a specific document from Elasticsearch index by document ID

  • index_document

    Index a document into Elasticsearch with smart duplicate prevention and intelligent document ID generation. 💡 RECOMMENDED: Use 'create_document_template' tool first to generate a proper document structure and avoid validation errors.

  • validate_document_schema

    Validate document structure against knowledge base schema and provide formatting guidance

  • create_document_template

    Create a properly structured document template for knowledge base with AI-generated metadata and formatting

  • create_index

    Create a new Elasticsearch index with optional mapping and settings configuration

  • delete_index

    Delete an Elasticsearch index and all its documents permanently

  • list_indices

    List all available Elasticsearch indices with document count and size statistics

  • search

    Search documents in Elasticsearch index with advanced filtering, pagination, and time-based sorting capabilities

  • batch_index_directory

    Batch index all documents from a directory into Elasticsearch with AI-enhanced metadata generation and comprehensive file processing

  • get_config

    Get the complete configuration from config.json file with formatted display

  • update_config

    Update configuration with section-specific changes or full configuration replacement

  • validate_config

    Validate configuration object structure, types, and values with comprehensive error reporting

  • reload_config

    Reload configuration from config.json file and reinitialize all components with updated settings

  • setup_elasticsearch

    Auto-setup Elasticsearch using Docker with optional Kibana and force recreate options

  • elasticsearch_status

    Check status of Elasticsearch and Kibana containers with detailed configuration information

  • server_status

    Check current server status, version, and available updates with comprehensive system information

  • server_upgrade

    Upgrade this MCP server when installed via uvx with automatic configuration backup and restoration

  • ask_user_advice

    Ask user for advice when agent encounters uncertainty, problems, or needs guidance. Use this when you're unsure about something or need human input to proceed properly.

  • reset_config

    Reset config.json to defaults from config.default.json (manual reset - overwrites current config)

  • ask_mcp_advice

    Advanced project guidance using AI-filtered knowledge from .knowledges directory

Agent Knowledge MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Agent Knowledge verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Agent Knowledge als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Agent Knowledge an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "agent-knowledge": {
      "command": "npx",
      "args": [
        "-y",
        "agent-knowledge-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Agent Knowledge. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Agent Knowledge.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Agent Knowledge?
Agent Knowledge
Jo. Ech hunn et gelies.
Dat hunn ech mat Agent Knowledge fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Agent Knowledge benotzt?

Agent Knowledge ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Agent Knowledge MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Agent Knowledge mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Agent Knowledge MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Agent Knowledge verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Agent Knowledge MCP mat TypingMind?

Agent Knowledge leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Agent Knowledge MCP an TypingMind zur Verfügung?

Agent Knowledge stellt 27 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Agent Knowledge MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Agent Knowledge eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇