mcpField
M
MAXential-Thinking-MCP

MAXential-Thinking-MCP

Local
github.com/BAM-DevCrewAI & Agents3Updated 22w ago

About MAXential-Thinking-MCP

MAXential-Thinking-MCP is a persistent reasoning workspace for AI agents tackling complex problems. Its focused tools support revisions, branch exploration, search, and SQLite-backed sessions that survive server restarts and context resets.

Key features

  1. 01Numbered, revisable thought chains
  2. 02Create and manage reasoning branches
  3. 03Search and tag thoughts
  4. 04Export and visualize reasoning
  5. 05Persist and restore SQLite sessions

Use cases

  1. 01Compare several solutions to a design choice
  2. 02Revise earlier reasoning while retaining history
  3. 03Resume a reasoning session after a context reset

MCP support

It exposes focused thinking, branching, navigation, organization, and session tools to MCP clients. AI agents can use them to structure reasoning and save or restore sessions.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"bam-devcrew-maxential-thinking": {
"command": "npx",
"args": [
"-y",
"@bam-devcrew/maxential-thinking-mcp"
]
}
}
}
Run commandnpx -y @bam-devcrew/maxential-thinking-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@bam-devcrew/maxential-thinking-mcp2.0.1

Tools

11

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
thoughtstringYesYour current thinking step

Details

From the project README

MAXential Thinking MCP

A structured, persistent reasoning workspace for AI. Provides 20 tools for building thought chains, exploring alternatives through branching, revising earlier thinking, searching reasoning history, and persisting sessions across context window resets and server restarts.

AI's built-in reasoning is ephemeral — when context windows fill, thinking gets compressed or lost. Complex problems need exploration of multiple approaches, backtracking when paths fail, and the ability to resume where you left off. MAXential externalizes reasoning into a workspace that persists, branches, and survives.

Origin

Forked from Anthropic's sequential-thinking MCP server, which provided a single tool with 9 parameters. Its schema included branching parameters (branch_from_thought, branch_id) but had no tools to create, switch, or manage branches — the parameters were effectively inert.

MAXential replaced that single tool entirely and built 20 purpose-specific tools across three releases:

VersionWhat was built
v2.0Replaced the single tool with 11 focused tools: core thinking (think, revise, complete), full branch management (branch, switch_branch, list_branches, get_branch, close_branch, merge_branch), and navigation (get_thought, get_history)
v2.2Added 5 organization tools: tag, search, export, visualize, reset
v2.3Added 4 session persistence tools with SQLite storage: session_save, session_load, session_list, session_summary

Tools

Core Thinking
ToolWhat it does
thinkAdd a thought to the reasoning chain. Thoughts are numbered and persisted automatically.
reviseRevise a previous thought when earlier thinking was flawed or incomplete. The original is preserved with revision history.
completeMark the thinking chain complete with a final conclusion.
resetClear the current session and start fresh.
Branching
ToolWhat it does
branchCreate a new reasoning branch to explore an alternative path without losing the main thread.
switch_branchSwitch context to a different branch, or back to main.
list_branchesList all branches with their status and thought counts.
get_branchRetrieve complete details of a specific branch.
close_branchClose a branch with an optional conclusion.
merge_branchMerge insights from a branch back into main. Strategies: conclusion_only, full_integration, summary.
Navigation
ToolWhat it does
get_thoughtRetrieve a specific thought by its number.
get_historyGet thought history, optionally filtered by branch.
Organization
ToolWhat it does
tagAdd or remove semantic tags on a thought (e.g., hypothesis, evidence, decision, finding).
searchSearch thoughts by content text or by tags.
exportExport the thinking chain as markdown or JSON.
visualizeGenerate ASCII or Mermaid diagrams of the thought structure and branches.
Session Persistence
ToolWhat it does
session_saveName and describe the current session for later retrieval.
session_loadRestore a saved session — all thoughts, branches, and tags are loaded back into memory.
session_listBrowse available sessions, most recently updated first.
session_summaryGenerate a compressed summary of a session for token-efficient context loading.

Sessions are automatically persisted to SQLite as you work. Every think, branch, tag, and revise call writes through to disk in real time. Sessions survive server restarts, context window resets, and new conversations — pick up where you left off.

What the original provides vs. what MAXential provides

CapabilityAnthropic sequential-thinkingMAXential Thinking
Interface1 tool, 9 parameters20 focused tools
BranchingParameters in schema, no implementationFull lifecycle: create, switch, list, inspect, merge, close
RevisionNot supportedRevise any thought, original preserved with history
PersistenceNone — lost on server restartSQLite — survives restarts, context resets, new conversations
TaggingNot supportedSemantic tags on any thought
SearchNot supportedSearch by content or tags
ExportNot supportedMarkdown, JSON, Mermaid diagrams, ASCII visualization
NavigationNot supportedRetrieve any thought by number, browse filtered history

Browsing session history

Session data is stored in a standard SQLite database at .maxential/thinking.db. There are several ways to browse past reasoning sessions:

Through the tools themselves — ask AI to use session_list to browse sessions, session_load to restore one, or session_summary for a compressed overview. AI can format, search, and summarize session content conversationally.

With a SQLite browser — open .maxential/thinking.db in any SQLite viewer (VS Code/VSCodium extensions, DB Browser for SQLite, or similar). The schema is straightforward:

TableContains
sessionsSession ID, name, description, status, timestamps
thoughtsEvery thought with its number, content, branch, revision links
branchesBranch metadata, status, conclusions, merge history
tagsSemantic tags attached to thoughts

From the terminal:

sqlite3 .maxential/thinking.db "SELECT name, status, datetime(created_at/1000, 'unixepoch', 'localtime') as created FROM sessions ORDER BY updated_at DESC LIMIT 10;"

Installation

Claude Desktop / Claude Code

Add to your MCP configuration:

Claude Desktop config location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "maxential-thinking": {
      "command": "npx",
      "args": ["-y", "@bam-devcrew/maxential-thinking-mcp"]
    }
  }
}
From source
git clone https://github.com/BAM-DevCrew/MAXential-Thinking-MCP.git
cd MAXential-Thinking-MCP
npm install
npm run build

Then configure:

{
  "mcpServers": {
    "maxential-thinking": {
      "command": "node",
      "args": ["/path/to/MAXential-Thinking-MCP/dist/src/index.js"]
    }
  }
}

Configuration

Persistence

Session data is stored in SQLite. By default, the database is created at .maxential/thinking.db in the working directory.

{
  "mcpServers": {
    "maxential-thinking": {
      "command": "npx",
      "args": ["-y", "@bam-devcrew/maxential-thinking-mcp"],
      "env": {
        "MAXENTIAL_DB_PATH": "/path/to/your/thinking.db"
      }
    }
  }
}
MAXENTIAL_DB_PATH valueBehavior
(not set).maxential/thinking.db in working directory
/path/to/file.dbUse explicit file path
:memory:In-memory only — no persistence across restarts

If SQLite initialization fails (permissions, native module issues), the server falls back to in-memory mode automatically — it never crashes.

Add .maxential/ to your project's .gitignore to keep session data out of version control.

Logging
{
  "mcpServers": {
    "maxential-thinking": {
      "command": "npx",
      "args": ["-y", "@bam-devcrew/maxential-thinking-mcp"],
      "env": {
        "MAXENTIAL_LOG_FILE": "/path/to/error.log"
      }
    }
  }
}

Usage

You don't call these tools directly — you ask your AI to use MAXential thinking, and it calls the tools as part of its reasoning. Here are examples of what that looks like in practice.

Working through a decision:

use maxential thinking for this - should we use REST or GraphQL for the new API?

AI builds a thought chain analyzing the question, branches to explore each approach separately, adds thoughts with tradeoffs, merges the findings, and reaches a conclusion. The entire reasoning process is numbered, structured, and persisted.

Exploring multiple approaches:

think through the auth redesign using maxential - I want to see branches for JWT, session tokens, and OAuth

AI creates three branches, reasons through each approach independently, then merges the insights back to compare. You can ask it to switch between branches, close dead ends, or dig deeper into a specific path.

Resuming previous thinking:

load up that session where you analyzed our database optimization options

AI browses saved sessions, finds the match, restores it with all thoughts, branches, and tags intact, and continues reasoning from where it left off — even across different conversations.

Reviewing past reasoning:

search your maxential thinking history for anything tagged as a decision

AI searches across the session's tagged thoughts and returns the results. You can also ask it to export the full chain as markdown, or generate a diagram of the thought structure.

Getting a quick summary:

give me a summary of that session - just the key findings, keep it short

AI generates a compressed summary of the session's conclusions, tagged highlights, and branch results — useful for loading context without replaying the full chain.

Development

npm install          # Install dependencies
npm run build        # Build TypeScript
npm run watch        # Watch mode
npm test             # Run tests with coverage
npm run test:unit    # Unit tests only
npm run test:integration  # Integration tests only

License

MIT

Contributing

Issues and PRs welcome at github.com/BAM-DevCrew/MAXential-Thinking-MCP

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.