Projects / mcp-ki-kb-fs
Give an agent scoped read and write access to local knowledge-base directories.
One registration serves many knowledge bases: the environment declares alias-to-path pairs and every tool call names the base it acts in. Each path is validated twice — lexically, then through realpath — so neither a traversal nor a symlink can reach outside the declared root, and no call under one alias can wander into a sibling base. Dotfiles and repository metadata stay hidden from ordinary tools. No network, no authentication.
Public mcp repository · source
The problem
What this is for.
An agent that can write notes needs somewhere bounded to write them. A general filesystem server gives it your whole disk; this one gives it exactly the knowledge-base directories you declared, with the boundary enforced on every call rather than trusted to a prompt.
Whose problem
Whether it is yours.
You want this if you keep knowledge bases as Markdown on disk and want an agent reading and writing in them directly — particularly if there are several, since one registration serves them all.
Capabilities
What it actually does.
- Read, write, list and delete notes across every declared base.
- Create folders and rename entries, so the agent can restructure rather than only edit.
- Report which aliases are declared and what each one resolves to, so the agent can discover its own boundaries.
- Name the base on every call, which is what lets one registration serve many knowledge bases at once.
State
How finished it is.
Public source, not published to any package registry. Clone it, build it, and register the built server with your MCP client. The path validation and the alias model are the settled parts; the tool surface is deliberately small.
Using it
How to start.
Not yet published to a registry. Clone the repository, build it, and register the built server with your MCP client.
Boundaries
What it deliberately does not do.
Every path is validated twice, lexically and then through realpath, so neither a traversal nor a symlink reaches outside the declared root and no call under one alias wanders into a sibling base. Dotfiles and repository metadata stay hidden from ordinary tools. It makes no network request and performs no authentication: it reads and writes notes, and holds no knowledge of its own.
Authority
What this repository owns.
The knowledge-base filesystem adapter. It reads and writes notes; it holds no knowledge of its own.
That boundary is deliberate. The ecosystem separates philosophy, engineering discipline, capability semantics, portable standards, and executable behaviour so that none of them can quietly absorb another. The full directory shows where this project sits relative to the rest.
Nearby
Other projects of the same kind.
mcp-git-audit— Audit a whole tree of Git repositories, read-only until an operator says otherwise.mcp-housekeeping-claude— Audit and safely clean the filesystem state Claude applications accumulate.mcp-gsuite— Connect an agent to Google Workspace, with outbound mail confined to drafts.mcp-m365— Connect an agent to Outlook and OneDrive through the Microsoft Graph API.
See every public project, or go straight to the released command-line tools.