KruschFS MCP
Indexes [.env](/mcp/servers/integrations/dotenv) files with value redaction (KEYS_ONLY), allowing agents to query where environment variables are configured without exposing secret values.
Indexes files and system configuration on Linux machines, including /etc, systemd services, .conf files, and /etc/fstab, with fleet-wide search and page-anchored memory.
Indexes files and system configuration on macOS machines, with fleet-wide search and page-anchored memory.
Indexes Markdown files, segmenting them into deterministic 1-based pages for search and page-anchored memory.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
KruschFS MCP (krusch-fs)
PGit + KruschNexus for Your Operating System & Multi-Node Fleet — Standalone, opt-in OS Filesystem & Page-Anchored Memory MCP Server (
v0.3.1).
krusch-fs is a lightweight, opt-in Model Context Protocol (MCP) server that indexes files across your local operating system and optional remote SSH fleet nodes in-place (zero file duplication) and binds every semantic memory, configuration rule, and retrieved snippet directly to a 1-based KruschNexus page ((host_node, file_id, page_number, anchor_page_hash)).
✨ Core Architectural Pillars
1. Universal 1-Based KruschNexus Page Spine
Consumes
krusch_nexusin Zero-Config Library Mode (parse_file,chunk_document_pages,format_citation) without running duplicate OCR workers or copying files into a staging vault.Every indexed file (PDF, DOCX, CSV, HTML, Markdown, systemd
.service,.conf,/etc/fstab, and redacted.env) is segmented into deterministic 1-based pages (fs_pages) with a per-page SHA-256page_hash.Single-Page Delta Re-Indexing: Editing page 42 of a 120-page PDF or section 3 of a Markdown runbook only re-embeds page 42 and only flags memories anchored to page 42 as
is_drifted=True, leaving pages1..41and43..120untouched.Pointer-Slice Chunk Deduplication (
v0.3.1): Becausefs_pages.page_textalready stores the normalized text for each 1-based page,fs_chunksstores onlychar_start..char_endoffsets (content="") whenever a chunk is a clean slice ofpage_text, slicing snippets in-memory duringsearch()to eliminate 2x SQLite database bloat.Inode Move & Rename Resilience: Moving or renaming a file on the same filesystem updates
file_pathand citations in-place via(host_node, device_id, inode, file_hash)without re-parsing or losing page-anchored memories.
2. 3-Zone Workspace Isolation & Zero-Trust Privacy Shield
user_docs: PDFs, DOCX contracts, spreadsheets, notes, and manuals in~/Documents,~/Downloads, and projectdocs/.system_config:/etc/systemd/system,/etc/fstab,/etc/hosts,.conf, and.envfiles..envValue Redaction (KEYS_ONLY): Secret values are replaced withKEY=[REDACTED](on the remote node before crossing SSH) while indexing variable names asconfig_rulepage memories so agents can ask "Where isDATABASE_URLconfigured?" without ever exposing secret values.Private Key Vault Lock (
VAULT_LOCKED): SSH keys (id_rsa,id_ed25519),.pem/.key/.kdbxfiles, and browser cookie DBs are never read or embedded.
repo_boundaries: Any directory containing.gitis automatically recorded as a lightweight boundary pointer (handoff_repo="krusch-git:<repo>") and skipped sokrusch-gitremains the single source of truth for source code.
3. Multi-Node SSH Fleet Indexing
Works out of the box on a single workstation, or indexes an entire fleet of Linux/macOS machines via
~/.krusch-fs/fleet.json(seefleet.example.json) using agentless SSH stdlib streaming (stream_remote_node_entries).Sleeping or offline machines are probed in
<2s(probe_node_ssh) and cleanly skipped (status="offline_skipped") until powered on.
Related MCP server: code-rag-mcp
🛠️ 6 Canonical MCP Tools
All 6 tools declare explicit MCP behavioral annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint):
Tool | Purpose | Annotations |
| Hybrid RRF search across OS page chunks & page-anchored memories ( |
|
| Return the 1-based Page Spine ( |
|
| Hydrate exact text, bounding boxes, and attached memories for |
|
| Anchor a verified fact/rule ( |
|
| Fast metadata/inode search by filename, extension, size, mtime window, or SHA-256 duplicates |
|
| Scan a local path, a specific remote |
|
⚙️ MCP Server Configuration
Add krusch-fs to your mcp_config.json (Claude Desktop, Cursor, Windsurf, or Antigravity):
{
"mcpServers": {
"krusch-fs": {
"command": "krusch-fs-mcp",
"env": {
"KRUSCH_FS_DB_URL": "sqlite:////home/your-user/.krusch-fs/fs_memory.db",
"KRUSCH_FS_FLEET_CONFIG": "/home/your-user/.krusch-fs/fleet.json"
}
}
}
}🚀 Quickstart & CLI
# Install in editable mode
pip install -e .
# (Optional) Configure multi-node SSH targets outside the repo
mkdir -p ~/.krusch-fs
cp fleet.example.json ~/.krusch-fs/fleet.json
# Synchronize local workstation and all online fleet nodes
krusch-fs sync-fleet
# Inspect fleet-wide index statistics
krusch-fs status
# Search across all fleet nodes (or pass --node compute-node-01)
krusch-fs search "ExecStart" --workspace system_config
# Inspect the 1-based page tree of any indexed file
krusch-fs tree /etc/fstab --node compute-node-01
# Run the MCP server over stdio
krusch-fs-mcp🧪 Testing
pytest tests/ -vTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your personal library, readable by AI agents: durable snapshots, hybrid search, 46 MCP tools.
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
System-of-record notebook for AI coding agents: pages, datastores, tasks, skills over MCP.
Securely search and manage workspace context files for AI agents and teams.
Related MCP Servers
- FlicenseAqualityDmaintenanceA local-first document retrieval engine that mounts as an MCP tool for agents to index files, search for relevant passages, and let the agent's own LLM answer.4-
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to search local repositories through hybrid keyword and embedding retrieval, read matched chunks, and list indexed repos via MCP, without API keys or cloud services.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to connect local knowledge bases, preview and index selected directories, search for traceable snippets with source metadata, and read indexed document versions through MCP tools.6MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and MCP hosts to search and question a local, hybrid-indexed corpus of scattered notes, docs, and chat logs, returning section-level citations rather than whole files.-