ContextLib

v0.1.0
io.github.willykeenan/agentbrain-contextlib Checked 1 day ago Published 2 months ago

A project's long-term memory as plain Markdown files, with an append-only, tamper-evident log.

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0 mcp --identity '{identity}'
Add to claude_desktop_config.json
{
  "mcpServers": {
    "agentbrain-contextlib": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
        "mcp",
        "--identity",
        "{identity}"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agentbrain-contextlib": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
        "mcp",
        "--identity",
        "{identity}"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "agentbrain-contextlib": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
        "mcp",
        "--identity",
        "{identity}"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agentbrain-contextlib]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0", "mcp", "--identity", "{identity}"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: context_brief, context_search, context_get, context_record, context_supersede, context_review_due, context_review, context_capture, ….
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json