KB Environment
Purpose: Hierarchical knowledge base with unlimited depth documentation.
| Property | Value |
|---|---|
| Vault Port | 6625 |
| Operational Port | 6626 |
| Key Prefix | kb: |
| Locker ID | l_1234 |
| MCP Server | /opt/mcp-servers/kb/mcp_kb_server.py |
Key Patterns:
- kb:{node_id} - Node data (title, content, parent, children)
- kb:roots - Set of root-level nodes
- kb:slugs - Slug to ID mapping
Node Types:
- root - Top-level knowledge base
- section - Container for pages
- page - Actual content
Key Difference from Context: - Context is flat storage - KB is hierarchical with parent-child relationships - KB supports unlimited depth nesting