Knowledge Base MCP Server
This MCP server provides tools for listing and retrieving content from different knowledge bases.
Overview
Knowledge Base MCP Server is a server application that provides tools for listing and retrieving content from various knowledge bases, enabling efficient access to information.
To use the Knowledge Base MCP Server, clone the repository, install dependencies, configure environment variables, build the server, and add it to the MCP settings. You can then use the provided tools through the MCP interface.
- Lists available knowledge bases. - Retrieves similar content based on queries using semantic search. - Automatically updates the FAISS index for efficient searching.
- Managing company knowledge bases for easy access to information.
- Providing IT support documentation retrieval.
- Facilitating onboarding processes with relevant content.
Add to your AI client
Use these steps to connect Knowledge Base MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"knowledge-base-mcp-server-jeanibarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-knowledge-base-mcp-server-jeanibarz"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"knowledge-base-mcp-server-jeanibarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-knowledge-base-mcp-server-jeanibarz"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"knowledge-base-mcp-server-jeanibarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-knowledge-base-mcp-server-jeanibarz"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"knowledge-base-mcp-server-jeanibarz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-knowledge-base-mcp-server-jeanibarz"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"knowledge-base-mcp-server-jeanibarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-knowledge-base-mcp-server-jeanibarz"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"knowledge-base-mcp-server-jeanibarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-knowledge-base-mcp-server-jeanibarz"
]
}
}
}FAQ
What are the prerequisites for running the server?
You need Node.js (version 16 or higher) and npm installed on your system.
How does the semantic search work?
The server uses a FAISS index to perform semantic searches, returning the most relevant chunks of information based on the query.
Can I customize the knowledge bases?
Yes! You can create subdirectories for different knowledge bases and add content in text files.