knowledge-base-mcp-server
This project is a Model Context Protocol server designed for managing and querying knowledge bases. It utilizes FAISS indexing to perform semantic searches across text files and provides an interface for retrieving relevant content based on user queries.
What is the purpose of the Knowledge Base MCP Server?
The server is designed to facilitate the listing and retrieval of content from various knowledge bases using semantic search.
How does the server update its index?
The FAISS index is automatically updated when the server starts or when a file in a knowledge base is modified.
What environment variables are required for the server?
The server requires HUGGINGFACE_API_KEY, KNOWLEDGE_BASES_ROOT_DIR, and optionally FAISS_INDEX_PATH and HUGGINGFACE_MODEL_NAME.
Can I specify which knowledge base to search?
Yes, the retrieve_knowledge tool allows you to specify a particular knowledge base to search, or it can search all available knowledge bases.
What file types does the server support?
The server supports text files such as .txt and .md for indexing and retrieval.