Knowledge Base MCP

1 min read

Overview

The Knowledge Base MCP Server (kb-mcp) gives MCP clients access to a tenant's Unique knowledge base: semantic/internal search, browsing the content tree, and reading file content by id. It is a stateless, read-only proxy: every tool call queries the Unique API live, and nothing is written back into the knowledge base.

Authentication is its own OIDC flow against Zitadel (a public PKCE client, no client secret), independent of the platform's normal Kong-fronted authentication. Deployed instances can call the Unique API directly in-cluster, bypassing the Kong hairpin where possible.

For deployment, configuration, and operational details, see the IT Operator Guide. For the full tool reference and architecture, see the Technical Reference.

Quick Summary

What it does: Exposes four MCP tools (search, content_tree, content_metadata, read_file) over a tenant's Unique knowledge base, backed live by the Unique API.

Deployment: Kubernetes-based Python (FastMCP) microservice, shipped as a standalone Helm chart; also runnable via Docker outside Unique's own clusters.

Authentication: MCP-facing OAuth2/OIDC via Zitadel (PKCE, no client secret). Identity is derived from that session and passed through to the Unique API, which enforces it. Every tool call runs under the calling user's own permissions, so search, content_tree, content_metadata, and read_file only ever return knowledge-base content that user could already see.

Processing: Synchronous. Each tool call queries the Unique API and returns immediately. content_tree and content_metadata share one cached folder/file walk, in-memory and per pod; search results and file content are never cached.

Tools

Tool

Purpose

search

Semantic / internal knowledge-base search

content_tree

Browse, list, and fuzzy-search visible folders and files

content_metadata

Discover metadata fields/values, to build a metadata_filter

read_file

Download and return file content by content_id

Which tools are advertised on /mcp is configurable per deployment (mcpConfig.enabledTools / KB_MCP_ENABLED_TOOLS), see Tools.

For Users

For IT Operators

Technical Reference

Standard References

Last updated