Data Storage

Data Storage

Einstein MCP stores all knowledge locally under <root>/.ai-knowledge.

Directory Layout

  • index.mdk - General project memory and specialized topic summaries.
  • <topic>.mdk - One file per topic.

Knowledge File Format

Each .mdk file contains YAML frontmatter followed by Markdown content.

---
topic: auth
tags:
  - security
  - identity
last_updated: 2026-02-25T21:28:33Z
---

# Authentication

Details about authentication flows go here.

Index Structure

index.mdk contains two primary sections:

  • ## General Project Knowledge - A single summary maintained by memorize_general_info.
  • ## Specialized Knowledge - Topic summaries under ### <topic> headings, updated by memorize_new_topic and refine_memory.

Tag Matching

Tag search is case-insensitive and trims whitespace before comparison.

Security and Privacy

All data remains on the local filesystem under the configured root directory. The server does not upload or transmit content on its own.