Skip to main content
MCP server CX Codex

Koma Core MCP — Claude Code MCP server

This MCP server exposes protected RAG storage to agents: they can find public metadata and fetch full text only with the required access tier.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add koma-core-mcp -e KOMA_MASTER_KEY=<KOMA_MASTER_KEY> -- npx -y koma-core-mcp
Open on GitHub

What Koma Core MCP does

Koma Core MCP exposes two tools to an agent. search_docs filters the public index by category or tag and returns fields such as displayName, accessTier, and preview. It does not reveal document text. retrieve_doc uses a sourceId from the search result to request the full document.

The server checks the requested userTier against each document tier. Supported values are public, premium, and enterprise. Three demo documents are loaded when the process starts, and the storage stays in memory between requests.

For production, the reference setup needs a real database behind DatabaseAdapter and a real master key. KOMA_MASTER_KEY can be supplied at launch; otherwise the server uses its demo key, so this setup is suited to testing the access boundary rather than persistent storage.

What it helps with

  • search documents by category or tag
  • return metadata without exposing content
  • fetch a document from its sourceId
  • check access against a user tier

Example prompts for the agent

  • Use search_docs to find documents tagged api and show their metadata.
  • Call retrieve_doc for api-reference with the premium user tier.
  • Check whether a public user can access internal-architecture.

How to install Koma Core MCP

Platform CLI

claude mcp add koma-core-mcp -e KOMA_MASTER_KEY=<KOMA_MASTER_KEY> -- npx -y koma-core-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Koma Core MCP

How do I install Koma Core MCP in Claude Code?

Run claude mcp add koma-core-mcp -e KOMA_MASTER_KEY=<KOMA_MASTER_KEY> -- npx -y koma-core-mcp.

What does Koma Core MCP do?

It connects an agent to protected RAG storage through MCP. Search exposes metadata, while document text is returned only after the access tier is checked.

How does Koma Core MCP enforce document access?

retrieve_doc compares userTier with the document tier. internal-architecture requires enterprise, while guide-getting-started is available at public.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor