Knitbrain

36 tools. 15 can modify or destroy data without limits.

1 destructive tool with no built-in limits. Policy required.

Last updated:

15 can modify or destroy data
21 read-only
36 tools total

Community server · catalogue entry verified 02/07/2026

How to control Knitbrain ↓

What Knitbrain exposes to your agents

Read (21) Write / Execute (14) Destructive / Financial (1)
Critical Risk

The most dangerous Knitbrain tools

15 of Knitbrain's 36 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Knitbrain

PolicyLayer is an MCP gateway — it sits between your AI agents and Knitbrain, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "knitbrain_team_clear": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "knitbrain_compose_skill": {
    "limits": [
      {
        "counter": "knitbrain_compose_skill_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "knitbrain_brain_search": {
    "limits": [
      {
        "counter": "knitbrain_brain_search_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Knitbrain — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON KNITBRAIN →

Instant setup, no code required.

All 36 Knitbrain tools

READ 21 tools
Read knitbrain_brain_search Unified brain recall (gap 8): fan a query across ALL typed stores — learnings (BM25), the wiki, and the knowle Read knitbrain_classify_task Classify a task into a tier (inquiry/trivial/standard/complex) with phases + plan-mode signal. Follow the retu Read knitbrain_context_meter Token-window meter: how full the context is, tokens saved by optimization, and whether it Read knitbrain_get_learning Fetch the full lesson for a learning id (from knitbrain_search_learnings). Read knitbrain_load_session Load the prior handoff + top recent learnings to resume work. Resets the context meter for the new session. Read knitbrain_metrics Compression telemetry: recall-store tier counts + per-kind retrieval rates (TOIN self-tuning). Read knitbrain_onboard The front door: onboard a project into the brain. Call with NO args first — it scans the repo + imports this p Read knitbrain_ping Health check — returns pong and the server version. Read knitbrain_propose_agents Auto-detect project-specific agent proposals from the knowledge graph (domains + guardrails). Review/edit, the Read knitbrain_query_dependents Which files import the given file (blast radius before editing). Read knitbrain_query_exports What a file exports. Read knitbrain_query_imports What a file imports (module specifiers + names). Read knitbrain_read Read a project file OPTIMIZED: returns a structure-preserving skeleton (signatures/schema kept, bulk elided) + Read knitbrain_retrieve Retrieve the exact original bytes for a ⟨recall:hash⟩ handle produced by compression. Use when a skeleton isn Read knitbrain_scan Scan the project and (re)build the import/export knowledge graph. Read knitbrain_search_learnings Search project learnings; returns ranked headlines (id + summary). Call knitbrain_get_learning for a full less Read knitbrain_team_board Read the shared team board — compressed skeletons of every posting (cheap to scan; fetch full with knitbrain_t Read knitbrain_team_get Fetch the full original of a board posting by id. Read knitbrain_verify_claim Hard claim-check (anti-hallucination): parse a stated codebase fact and check it against the knowledge graph. Read knitbrain_wiki_lint Health-check the wiki-brain: flags claim contradictions across pages (incl. stale claims superseded over time) Read knitbrain_wiki_query Query the wiki-brain: returns the index catalog + recent log so you can drill into the relevant pages (read th

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Knitbrain

Can an AI agent delete data through the Knitbrain MCP server? +

Yes. The Knitbrain server exposes 1 destructive tools including knitbrain_team_clear. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Knitbrain? +

The Knitbrain server has 11 write tools including knitbrain_compose_skill, knitbrain_create_agent, knitbrain_learning_outcome. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Knitbrain.

How many tools does the Knitbrain MCP server expose? +

36 tools across 4 categories: Destructive, Execute, Read, Write. 21 are read-only. 15 can modify, create, or delete data.

How do I enforce a policy on Knitbrain? +

Register the Knitbrain MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Knitbrain tool call.

Deterministic rules across all 36 Knitbrain tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

36 Knitbrain tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.