Thought Tree

Agents log what they tried, what failed and what needs you; you answer once, the agent goes on.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
97%
Qualität der Benennung
84%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~1,116Tokens (Tool-Definitionen)
~1.6 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (0.87% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "thought-tree": {
      "url": "https://test.opj-thought-tree.pages.dev/mcp"
    }
  }
}

Remote-Endpunkte

https://test.opj-thought-tree.pages.dev/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (5)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
⚪open_tree(goal, ref, tree_id, focus, agent)

Call first on every multi-step task, and again whenever you lost the tree id (e.g. after context compaction): the same ref always returns the same tree. Returns dead paths with reasons, human answers, pending questions and the outline. Creates the tree with goal as root if the ref is new.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "goal": {
      "type": "string",
      "description": "One line: what this task must achieve. Required when creating a tree."
    },
    "ref": {
      "type": "string",
      "description": "Stable handle for the task, e.g. the issue or PR URL \"github.com/acme/app/issues/12\". The same ref always reopens the same tree."
    },
    "tree_id": {
      "type": "string",
      "description": "Id of a known tree (16 chars). Use instead of ref when you have it."
    },
    "focus": {
      "type": "string",
      "description": "Optional node id: return only that node's path and subtree (saves tokens on big trees)."
    },
    "agent": {
      "type": "string",
      "description": "Who you are, e.g. \"claude-code@a1b2c3\" or \"subagent:tests\"."
    }
  },
  "required": [],
  "additionalProperties": false
}
🟡branch(tree_id, parent, text, retry_because, agent)

Add a child under parent (default root) before you try it. If its wording mostly overlaps a dead path anywhere in the tree, it is not added and you get that path's reason; rephrase if it is genuinely different, or pass retry_because with what changed.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tree_id": {
      "type": "string",
      "description": "Tree id from open_tree."
    },
    "parent": {
      "type": "string",
      "description": "Node id this branch serves. Default \"root\"."
    },
    "text": {
      "type": "string",
      "description": "One line: the approach or step."
    },
    "retry_because": {
      "type": "string",
      "description": "Only when retrying a dead path: what changed since it died."
    },
    "agent": {
      "type": "string",
      "description": "Who you are."
    }
  },
  "required": [
    "tree_id",
    "text"
  ],
  "additionalProperties": false
}
⚪mark(tree_id, node, state, reason, agent)

dead = the approach failed or is ruled out (reason required: it is what stops the next agent repeating it). chosen = the approach you commit to among siblings. done = finished (reason = evidence, e.g. PR link or test result).

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tree_id": {
      "type": "string",
      "description": "Tree id."
    },
    "node": {
      "type": "string",
      "description": "Node id."
    },
    "state": {
      "type": "string",
      "enum": [
        "dead",
        "chosen",
        "done"
      ]
    },
    "reason": {
      "type": "string",
      "description": "Why. Required for dead. For done, the evidence."
    },
    "agent": {
      "type": "string",
      "description": "Who you are."
    }
  },
  "required": [
    "tree_id",
    "node",
    "state"
  ],
  "additionalProperties": false
}
🟡attach(tree_id, node, url, label, agent)

Attach a link (PR, preview deploy, issue, log, doc) to a node so the human can open it from the tree. The result also gives the one-line command to upload a screenshot (PNG/JPEG/WebP, up to 1.5 MB) to the same node; use it after you change anything visible.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tree_id": {
      "type": "string",
      "description": "Tree id."
    },
    "node": {
      "type": "string",
      "description": "Node the evidence belongs to. Default \"root\"."
    },
    "url": {
      "type": "string",
      "description": "http(s) link."
    },
    "label": {
      "type": "string",
      "description": "2-5 words, e.g. \"PR #1094\" or \"preview\"."
    },
    "agent": {
      "type": "string",
      "description": "Who you are."
    }
  },
  "required": [
    "tree_id",
    "url"
  ],
  "additionalProperties": false
}
🟢ask_human(tree_id, node, question, options, default, ...)

Only for a decision you cannot make from the code, docs or tree (taste, money, people outside the team, irreversible actions). Posts a question with 2-6 one-tap options and returns at once; keep working on other branches and read the answer later with open_tree. Returns the link to give your human. Without an answer, proceed with default only if it is reversible.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "tree_id": {
      "type": "string",
      "description": "Tree id."
    },
    "node": {
      "type": "string",
      "description": "Node the decision belongs to. Default \"root\"."
    },
    "question": {
      "type": "string",
      "description": "One line the human can answer without reading the conversation."
    },
    "options": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 2,
      "maxItems": 6,
      "description": "Short labels, best first."
    },
    "default": {
      "type": "string",
      "description": "Option label or letter (a, b, …) you will take if nobody answers."
    },
    "agent": {
      "type": "string",
      "description": "Who you are."
    }
  },
  "required": [
    "tree_id",
    "question",
    "options"
  ],
  "additionalProperties": false
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet5 Tools