Structured ThinkingSAFE
A TypeScript Model Context Protocol (MCP) server to allow LLMs to programmatically construct mind maps to explore an idea space, with enforced "metacognitive" self-reflection
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A TypeScript Model Context Protocol (MCP) server based on Arben Ademi's Sequential Thinking Python server. The motivation for this project is to allow LLMs to programmatically construct mind maps to explore an idea space, with enforced "metacognitive" self-reflection.
Setup
Set the tool configuration in Claude Desktop, Cursor, or another MCP client as follows:
{
"structured-thinking": {
"command": "npx",
"args": ["-y", "structured-thinking"]
}
}Overview
Thought Quality Scores
When an LLM captures a thought, it assigns that thought a quality score between 0 and 1. This score is used, in combination with the thought's stage, for providing "metacognitive" feedback to the LLM how to "steer" its thinking process.
Thought Stages
Each thought is tagged with a stage (e.g., Problem Definition, Analysis, Ideation) to help manage the life-cycle of the LLM's thinking process. In the current implementation, these stages play a very important role. In effect, if the LLM spends too long in a given stage or is having low-quality thoughts in the current stage, the server will provide feedback to the LLM to "steer" its thinking toward other stages, or at least toward thinking strategies that are atypical of the current stage. (E.g., in deductive mode, the LLM will be encouraged to consider more creative thoughts.)
Thought Branching
The LLM can spawn “branches” off a particular thought to explore different lines of reasoning in parallel. Each branch is tracked separately, letting you manage scenarios where multiple solutions or ideas should coexist.
Memory Management
The server maintains a "short-term" memory buffer of the LLM's ten most recent thoughts, and a "long-term" memory of thoughts that can be retrieved based on their tags for summarization of the entire history of the LLM's thinking process on a g
44aeadfcbbc9OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add structured-thinking -- npx -y [email protected]
{
"mcpServers": {
"structured-thinking": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (5)
4 read · 0 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
capture_thought | read | Stores a new thought in memory and in the thought history and runs a pipeline to classify the thought, return metacognitive feedback, and retrieve relevant thoughts. |
clear_thinking_history | destructive | Clear all recorded thoughts and reset the server state. |
get_thinking_summary | read | Generate a comprehensive summary of the entire thinking process. |
retrieve_relevant_thoughts | read | Finds thoughts from long-term storage that share tags with the specified thought. |
revise_thought | read | Revises a thought in memory and in the thought history. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
clear_thinking_history
@modelcontextprotocol/sdk, luxon, zod, zod-to-json-schema, @types/jest, @types/luxon, @types/node, jest
Gates applied: no_behavioural_pass.
44aeadfcbbc9full audit observations/trust-audit/mcp-server/promptly-technologies-llc__structured-thinking.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 44aeadfcbbc9 | SAFE | B | 89 | first audit |
Questions
What is the Structured Thinking MCP server?
A TypeScript Model Context Protocol (MCP) server to allow LLMs to programmatically construct mind maps to explore an idea space, with enforced "metacognitive" self-reflection
What tools does Structured Thinking expose?
5 in total: 4 read-only, 0 that write, and 1 that can delete or overwrite (clear_thinking_history). Every one is listed on this page with its risk.
Is Structured Thinking safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Structured Thinking need?
No credential environment variables were found in its source, so it appears to need none.
How does Structured Thinking run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as structured-thinking at 1.0.2.
How current is this page?
The grade is for one exact copy of the source (44aeadfcbbc9), read on 2026-10-08. The repository is watched and re-audited when it changes.