ckb/.agents/modules/mcp/fragments/agents-routing.md
Michał Kopeć bbfda5a65d Sync: local changes as of 2026-10-29T13:50:12Z
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-29 14:50:12 +01:00

26 lines
1.4 KiB
Markdown

## MODULE: mcp
This KB can be served over MCP by `.agents/modules/mcp/server/` — to Claude's
web/desktop apps as a custom connector, or to any MCP client.
- Remote clients **read** `wiki/`, `linked/`, `libs/`, `raw/inbox/`,
`raw/archive/`, `outputs/` (plus their own requests in `raw/retractions/`).
They **write only to `raw/inbox/`** (add, or withdraw their own pending item)
**and `raw/retractions/`** (request a removal). They never edit
`wiki/` — ingest, the log and review stay here.
- Inbox items from the server carry `via: mcp`, `submitted_by`, `submitted_at`
and `source` in frontmatter. `ckb-ingest` treats them like any inbox item,
credits `submitted_by` as the source's author, and treats them as unreviewed
claims: corroborate before raising `confidence`.
- The server's clone commits as `ckb-mcp` with the submitter as git author;
`ckb-sync-changes` pulls those commits like any other.
- Remote clients can withdraw their own pending inbox items, and can file
retraction requests for their own ingested sources in `raw/retractions/`.
Only the person who added a document may file them; a maintainer may override
in a local session with typed confirmation. Those are
requests, not changes: `ckb-retract` carries them out with the user, and
`ckb-ingest` flags any that are pending.
| User intent | Skill |
|---|---|
| Run, deploy, configure, or connect the MCP server; switch its auth mode; add a user or token | `ckb-mcp` |