Logo: Atom of Thoughts

Atom of Thoughts

Communautéit
dioptx

MCP server for structured AI reasoning — decompose problems into atomic thoughts with dependency graphs, confidence tracking, and interactive D3.js visualization

Editeurdioptx
Repositorymcp-atom-of-thoughts
SproochTypeScript
Forks
13
Stären
90
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Atom of Thoughts bitt MCP-Funktiounen un, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • Disponibel Tools: 0

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an deem MCP-Client ze konfiguréieren, deen Dir am léifste benotzt.

  • Interessi vun der Communautéit um Open-Source-Projet

    Zuele vum verlinkte Repository – Stären: 90, Forks: 13.

Atom of Thoughts

Structured reasoning for LLMs. Decompose, track confidence, visualize, approve.

npm version license node tests TypeScript

Atom of Thoughts: live TUI watching reasoning unfold


Quickstart

1. Add to your MCP config:

json
{
  "mcpServers": {
    "atom-of-thoughts": {
      "command": "npx",
      "args": ["-y", "@dioptx/mcp-atom-of-thoughts"]
    }
  }
}

2. Restart your client.

3. Ask the model to reason something through:

"Use AoT-fast to think through whether we should use JWT or session-based auth for the API."

The model breaks the problem into five kinds of atoms (premise, reasoning, hypothesis, verification, conclusion), each tagged with a confidence score. You get a structured chain you can audit, not a black-box answer.

[!TIP] Works with Claude Code, Cursor, Windsurf, or any MCP-aware client.

Install

npx (recommended; zero install, always latest)

json
{ "command": "npx", "args": ["-y", "@dioptx/mcp-atom-of-thoughts"] }

npm global

bash
npm install -g @dioptx/mcp-atom-of-thoughts
json
{ "command": "mcp-atom-of-thoughts" }

Smithery

bash
npx -y @smithery/cli install @dioptx/mcp-atom-of-thoughts --client claude

Docker

bash
docker build -t aot .
json
{ "command": "docker", "args": ["run", "-i", "--rm", "aot"] }

How it works

Atoms chain through dependencies. Each carries a confidence score from 0 to 1. Reasoning terminates when a high-confidence conclusion lands or max depth is hit. Each problem runs in its own session, so two threads of thought never bleed into each other.

Tools

Three tools cover the full surface:

ToolWhen to reach for it
AoT-fastDefault. Tradeoffs, debugging, decisions, option evaluation. Depth 3.
AoT-fullPlans, architecture, decomposition into sub-problems. Depth 5.
atomcommandsSessions, export, approval polling, decomposition lifecycle.

Quick example

AoT-fast({atomId:"P1", content:"API returns 500 on POST /users",     atomType:"premise"})
AoT-fast({atomId:"R1", content:"Unhandled exception in route handler", atomType:"reasoning", dependencies:["P1"]})
AoT-fast({atomId:"C1", content:"Add try-catch in POST handler",       atomType:"conclusion", dependencies:["R1"], confidence:0.9})

Only atomId, content, and atomType are required. Everything else has sensible defaults.

Visualization

Pass viz: true on any call to open an interactive D3 graph in the browser:

AoT-fast({atomId:"C1", ..., viz: true})

Approve and reject decisions POST back to the server over HTTP. No filesystem polling.

Live TUI

Watch the model reason in a second terminal pane while it works, and feed approve/reject decisions back into the next tool call. The event feed is on by default; nothing extra to configure.

In a second pane next to your LLM client:

bash
npx -y @dioptx/mcp-atom-of-thoughts tui

1. Watch reasoning unfold

Watch atoms streaming in

Atoms appear as the model emits them, walking the chain premise → reasoning → hypothesis → verification → conclusion. Confidence bars fill in real time, dependencies show as inline arrows, and a velocity sparkline tracks event rate. Auto-scroll keeps the newest atom selected.

2. Give granular feedback

Accept, reject with note, submit

j / k move the selection. a accepts an atom; * stars it as critical context; r rejects it and prompts for a one-line reason. s submits the verdict. The submit flash tells you exactly what to do next: ask the model to call atomcommands check_approval. The verdict is written as the same approval JSON the existing file-fallback path already polls for, so feedback flows back through a contract the server already understands. Zero new wire protocol.

3. Customize the view

Settings overlay and help overlay

t opens settings: confidence threshold to hide low-confidence atoms, color theme (vibrant, soft, or mono), compact mode, dependency arrows toggle. ? shows the full keymap.

Keys reference

KeyAction
j / kMove selection
aAccept the selected atom
rReject (prompts for a one-line reason)
uClear feedback on the selected atom
*Star as critical context
sSubmit verdict (writes aot-approval-*.json)
tSettings (threshold, theme, compact mode, deps)
?Keys help
spacePause / resume event stream
qQuit

[!TIP] Skip setup and see it in action: npx -y @dioptx/mcp-atom-of-thoughts tui --demo


json
{
  "args": ["-y", "@dioptx/mcp-atom-of-thoughts", "--mode", "fast", "--viz", "never"]
}
FlagDefaultEffect
--mode full|fast|bothbothWhich tools to register
--viz auto|always|neverautoauto: render on viz:true. always: render every call. never: skip (CI)
--max-depth <n>5 / 3Override depth limit
--output-dir <path>OS tempWhere to write viz HTML
--downloads-dir <path>~/DownloadsApproval JSON fallback

Each reasoning chain gets its own session. Default ID: "default".

  • atomcommands new_session creates and activates a new one.
  • atomcommands switch_session / list_sessions / reset_session for management.
  • When reasoning terminates, the session auto-archives. The next zero-dependency atom auto-spawns default-2, default-3, and so on.
  • Or pass sessionId on any AoT call to target one explicitly.

Two problems in one MCP process stay isolated without manual session management.

Prefer a browser tab to a terminal pane? Pass viz: true on any AoT call. The server writes a self-contained HTML file (D3 inlined, works offline) and opens it:

  • Force-directed graph colored by atom type with confidence rings
  • Sidebar to approve or reject phases or individual atoms
  • Approve / reject POSTs to a local 127.0.0.1 listener on an ephemeral port; falls back to a ~/Downloads file scan if the listener can't bind

The TUI and the browser viz both feed atomcommands check_approval. Pick whichever fits your workflow.

npx (zero install):

json
{ "command": "npx", "args": ["-y", "@dioptx/mcp-atom-of-thoughts"] }

npm global:

bash
npm install -g @dioptx/mcp-atom-of-thoughts

Smithery:

bash
npx -y @smithery/cli install @dioptx/mcp-atom-of-thoughts --client claude

Docker:

bash
docker build -t aot . && docker run -i --rm aot
bash
git clone https://github.com/dioptx/mcp-atom-of-thoughts.git
cd mcp-atom-of-thoughts
npm install
npm test        # 183 tests (unit + e2e)
npm run build

See MIGRATION_v2_to_v3.md for the full lookup table. The short version:

  • AoT-light is now AoT-fast
  • AoT is now AoT-full
  • generate_visualization is now viz: true on any AoT call
  • export_graph and check_approval are now atomcommands subcommands
  • --no-viz and --no-approval are replaced by --viz auto|always|never

MIT. Based on Atom of Thoughts.

Installatioun

TypingMind
{
  "mcpServers": {
    "mcp-atom-of-thoughts": {
      "command": "npx",
      "args": [
        "-y",
        "@dioptx/mcp-atom-of-thoughts"
      ]
    }
  }
}

Atom of Thoughts MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Atom of Thoughts verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung, fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector: D'Optioun „Dësen Apparat“ ass ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Setzt de kopéierte Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Atom of Thoughts als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a setzt d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Setzt d'MCP-Serverkonfiguratioun fir Atom of Thoughts an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert d'Säit, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "mcp-atom-of-thoughts": {
      "command": "npx",
      "args": [
        "-y",
        "@dioptx/mcp-atom-of-thoughts"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vun der Integratioun Atom of Thoughts. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vun der Integratioun Atom of Thoughts.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Atom of Thoughts bei dëser Aufgab hëllefen?
Atom of Thoughts
Jo. Ech hunn et gelies.
Dat hunn ech mat Atom of Thoughts fonnt.

Heefeg gestallte Froen

Fir wat gëtt den MCP-Server Atom of Thoughts benotzt?

Atom of Thoughts ass en MCP-Server, deen et kompatibele KI-Clienten erlaabt, op extern Tools a Kontextinformatioune zouzegräifen. An TypingMind kënnt Dir dësen MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Atom of Thoughts MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Atom of Thoughts mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni den MCP-Server fir all Modell separat anzeriichten.

Firwat Atom of Thoughts MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Atom of Thoughts verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Ären Aarbechtsoflaf beim Chatten an TypingMind organiséieren.

Wéi verbannen ech Atom of Thoughts MCP mat TypingMind?

Atom of Thoughts leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann den MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Atom of Thoughts MCP an TypingMind zur Verfügung?

Atom of Thoughts stellt MCP-Funktioune zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agente zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Atom of Thoughts MCP ze benotzen?

Nee. TypingMind ass nom Local-first-Prinzip opgebaut a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Atom of Thoughts eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir deen MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇