Logo van Atom of Thoughts

Atom of Thoughts

Community
dioptx

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

Uitgeverdioptx
Repositorymcp-atom-of-thoughts
TaalTypeScript
Forks
13
Sterren
90
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Atom of Thoughts biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • Beschikbare tools: 0

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Belangstelling voor het opensourceproject

    Statistieken van de gekoppelde repository (sterren: 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.

Installatie

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

Gebruik Atom of Thoughts MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Atom of Thoughts is verbonden, kun je de verbinding dus met verschillende AI-modellen in TypingMind gebruiken, zonder die voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Atom of Thoughts toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus op ‘Gereed’ staat.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Atom of Thoughts.
  4. Sla de serverlijst op.
  5. Vernieuw de pagina als je wilt controleren of de connectorstatus nog op ‘Gereed’ staat.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "mcp-atom-of-thoughts": {
      "command": "npx",
      "args": [
        "-y",
        "@dioptx/mcp-atom-of-thoughts"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Atom of Thoughts in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Atom of Thoughts in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Atom of Thoughts gebruiken om me hiermee te helpen?
Atom of Thoughts
Zeker. Ik heb het gelezen.
Dit vond ik met Atom of Thoughts.

Veelgestelde vragen

Waarvoor wordt de MCP-server Atom of Thoughts gebruikt?

Atom of Thoughts is een MCP-server waarmee compatibele AI-clients toegang krijgen tot externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Atom of Thoughts MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Atom of Thoughts gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Atom of Thoughts MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Atom of Thoughts verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Atom of Thoughts MCP met TypingMind?

Atom of Thoughts werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Atom of Thoughts MCP in TypingMind?

Atom of Thoughts biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Atom of Thoughts MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Atom of Thoughts authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇