Simple KB

Pre-release. Simple KB's first release on PyPI is on its way: until it's out, installing it won't find it.

Connecting agents

Connect an agent

The MCP link for apps, and a token for one agent and one base, shown once. Recorded with Apache Commons Lang 3.17 API docs (Apache License 2.0).

Agents read your knowledge base

A token per agent, an MCP client, and the same search over HTTP. Recorded with Apache Commons Lang 3.17 API docs (Apache License 2.0).

The MCP endpoints

  • /mcp serves every base the caller can read.
  • /mcp/<base> serves one base.

Tokens

skb token create claude-code --base handbook --expires 90

A token is shown once, names the bases it may use, and carries a role: reader (the default), contributor (may propose notes) or reviewer. Revoke it on its own with skb token revoke; give each customer or agent its own token.

Claude.ai and ChatGPT connectors

A hosted server signs these in with OAuth: the link is all they need, with no token to copy. An agent connected this way acts for the person who signed in, and only reads.

The tools

Tool What it does
kb_list the bases, what each holds, and their size
search ranked passages, each with an id and the source to cite
fetch a whole section, with its figures and trust
kb_index a base’s headings, to browse
links what a section links to, and what links to it
kb_asset an image, to look at
propose a note for a person to review (contributors only)
proposal_status where a proposal stands

Every tool but propose only reads. propose and proposal_status are listed only to callers who may propose.