MCP server for knowledge base with local document processing
Connect MCP Knowledge Base to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for knowledge base with local document processing. The mcp knowledge base mcp server is what makes that connection.
这是一个基于 Model Context Protocol (MCP) 的知识库服务器,可以处理本地文档并根据文档内容回答问题。
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
add_document — 添加单个文档到知识库add_directory — 添加目录中的所有文档到知识库query_knowledge_base — 查询知识库并获取答案list_documents — 列出所有文档get_document — 获取特定文档信息remove_document — 移除文档clear_knowledge_base — 清空知识库get_stats — 获取统计信息Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Knowledge Base's toolset — add_document, add_directory, query_knowledge_base and 5 more — is a fair guide to whether it matches your workflow. It is maintained by ikungsjl; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| add_document | 添加单个文档到知识库 |
| add_directory | 添加目录中的所有文档到知识库 |
| query_knowledge_base | 查询知识库并获取答案 |
| list_documents | 列出所有文档 |
| get_document | 获取特定文档信息 |
| remove_document | 移除文档 |
| clear_knowledge_base | 清空知识库 |
| get_stats | 获取统计信息 |
{
"mcpServers": {
"knowledge-base": {
"command": "node",
"args": ["dist/index.js"],
"env": {}
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.