MCP Server for local knowledge base retrieval via Streamable HTTP. Enables AI clients (Claude, Cursor, Dify) to search and query a local knowledge base with vector + graph hybrid retrieval, entity/relation graph traversal, and document listing. Supports multi-tenant access with API key-based authorization and permission scoping.
Server has 4 tools with complete input schemas and descriptions in Chinese. All tools are READ_ONLY and follow verb_noun naming (list_*, search_*, get_*). Schemas include type definitions and parameter descriptions. However, descriptions are brief (10-50 chars) and lack actionable context for LLM selection. Output schemas are not documented, responses are JSON strings without declared field structure. No error handling guidance, no parameter constraints (enums), and no indication of when to use each tool vs. alternatives. Parameter descriptions exist but are minimal. Missing: output schema documentation, error recovery guidance, and richer descriptions explaining prerequisites and use cases.
按实体名在图谱中扩展 1~N 跳子图,返回相关实体与关系。
列出当前密钥授权知识库内的文档(ID、文件名、处理状态)。
列出当前密钥授权访问的知识库。
在授权知识库内进行向量+图谱混合检索,返回带来源的知识片段与相关图谱。
Output schemas not documented. Tools return JSON strings but field structure, types, and required fields are not declared. LLMs cannot plan downstream calls or extract data reliably.
Descriptions are too brief (10-50 chars). Lack context for LLM selection: when to call search_knowledge_base vs get_graph_subgraph? What does 'graph_depth' actually control? Descriptions should be 50-200 chars with use-case guidance.
No error handling guidance. If search fails, returns empty results silently. No indication of retryable vs fatal errors, or what the LLM should do next (e.g., 'Try a simpler query' or 'Check knowledge base permissions').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Parameter constraints missing. 'top_k' accepts 1-50 but no enum or validation shown in schema. 'graph_depth' accepts 1-3 but LLM could pass invalid values. Constraints should be explicit in schema and description.
No pagination or result limits documented. search_knowledge_base returns 'top_k' results but no total count, next_cursor, or guidance on handling large result sets. LLMs may not know when results are truncated.