Basic information
About Agent Knowledge MCP Server
Comprehensive knowledge management platform with Elasticsearch, file operations, and version control for efficient knowledge and knowledge management.
Agent Knowledge is a MCP server in the Databases category listed in the AddMCP.net directory, published by itshare4u. It exposes 27 tools, including create_snapshot, restore_snapshot, list_snapshots, create_index_metadata and more. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 29 GitHub stars. Source code is hosted on github.com. Related topics: aiagent-agent-knowledeg, community, databases, productivity.
Setup
{
"mcpServers": {
"agent-knowledge": {
"command": "uvx",
"args": [
"agent-knowledge-mcp"
]
}
}
}
{
"mcpServers": {
"agent-knowledge": {
"command": "uvx",
"args": [
"agent-knowledge-mcp"
]
}
}
}
{
"servers": {
"agent-knowledge": {
"command": "uvx",
"args": [
"agent-knowledge-mcp"
]
}
}
}
Agent Knowledge MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"agent-knowledge": {
"command": "uvx",
"args": [
"agent-knowledge-mcp"
]
}
}
}
Agent Knowledge MCP Server 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
Overview
What is Agent Knowledge?
Agent Knowledge is an MCP (Model Context Protocol) server that powers AI Agent job interview simulations with a RAG knowledge base. It integrates FAISS vector search and a Chinese embedding model (BAAI/bge-base-zh-v1.5) to provide semantic retrieval from the hello-agents tutorial and Agent-Learning-Hub external resources. It is designed for developers preparing for AI Agent technical interviews.
How to use Agent Knowledge?
Install dependencies (pip install -r interview_rag_server/requirements.txt), build the FAISS index by running the provided scripts, then configure the MCP server in .claude/settings.json. Use it through Claude Code’s /interview skill; no direct invocation is needed.
Key features of Agent Knowledge
- Semantic knowledge retrieval via FAISS vector index (1086 vectors, 768-dim)
- Three MCP tools:
search_knowledge,get_interview_questions,get_learning_path - Uses
BAAI/bge-base-zh-v1.5for Chinese embeddings - Knowledge sources include 16-chapter tutorial and 90+ external resources
- Zero-infrastructure, single-file persistence for vector store
Use cases of Agent Knowledge
- Real-time knowledge lookup during AI Agent mock interviews
- Dynamically retrieving interview questions based on candidate’s weak topics
- Generating personalized learning paths for interview preparation
Frequently asked questions
1 What dependencies are required?
Python packages: fastmcp>=2.0.0, faiss-cpu>=1.7.4, sentence-transformers>=2.2.0.
2 How is the knowledge base built?
Run python -m interview_rag_server.knowledge_base.build_index after cloning two source repos and fetching web sources. The index is created under interview_rag_server/data/.
3 Where is the data stored?
The FAISS index (faiss_index.bin) and metadata (metadata.json) reside in the interview_rag_server/data/ directory.
4 What parameters does `search_knowledge` accept?
It accepts query (required), topic (optional), and top_k (optional).
5 Can Agent Knowledge run offline?
Yes, set the environment variable HF_HUB_OFFLINE=1 and ensure the embedding model is cached locally.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In