A foreign MCP source is a knowledge graph reached
over a stdio MCP server. To read it, ContextCake spawns that server as a child process
and talks to it over stdin/stdout. The command and args for that process come
straight from the manifest:
Nothing sandboxes that process. It runs with your user’s permissions. If the manifest
says "command": "sh", "args": ["-c", "..."], that is what gets executed. This is the
same as configuring any MCP client — the config that names a server is trusted to name
a safe one.
An okf-local layer is different. It is a directory of
markdown on disk, and ContextCake only reads those files. It spawns no process and
runs no command. A manifest built entirely from okf-local layers cannot execute
anything — it can only cause file reads under the paths it names.
The command-execution risk is specific to mcp layers. When you audit a manifest, the
layers to scrutinize are the ones with "source": "mcp".
Only trusted manifests. Point --manifest at a config you wrote, or one from a
source you trust the way you would trust an MCP client config. Treat an untrusted
manifest the way you would treat an untrusted shell script — because for mcp layers,
that is effectively what it is.
Beyond command execution, access is governed by repo membership. Each
okf-local layer is a git repo; if you can clone it, you
can read it, and if you cannot, it never contributes to your resolution. There is no
separate ACL layer to configure — the boundary you already enforce on repos is the
boundary on knowledge.
You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.