mcp-server-mas-sequential-thinking

by @FradSer

Mas Sequential Thinking MCP Server

Route complex reasoning prompts through an Agno-powered multi-agent pipeline before your editor acts. Every step runs initial synthesis, six parallel cognitive specialists, and final integration over stdio with optional Exa web research.

Server facts

mcp-server-mas-sequential-thinking

GitHub stars

307

Last commit

Nov 14, 2026

Runtime

python

License

—

Tech

Runtime
python
Transports
stdio
Remote access
No
Authentication
Provider API key (optional local Ollama)

Activity

GitHub stars
307
Last commit
Data as of

Tags

  • agno
  • mcp
  • mcp server
  • sequential thinking

Overview

Complex architectural decisions and debugging plans often stall when an assistant relies on linear monologue alone. Built on the Agno framework in Python 3.10+, this local stdio server routes every reasoning step through a fixed full_exploration pipeline inside Claude Desktop, Claude Code, Cursor, or any compatible MCP host. After an AI complexity analyzer logs diagnostic metadata, an initial synthesis frames the prompt, six specialist agents evaluate it simultaneously via asyncio.gather from factual, emotional, critical, optimistic, creative, and meta-cognitive angles, and a closing synthesis integrates the perspectives into structured output.

Deployment uses a local clone installed via uv or pip, wired into your client JSON as the mcp-server-mas-sequential-thinking command with LLM_PROVIDER and provider credentials. Out of the box it supports DeepSeek as default alongside Groq, OpenRouter, GitHub Models, Anthropic, and local Ollama without an API key, pairing an enhanced synthesis model with a standard specialist model. Setting EXA_API_KEY equips the parallel specialists with ExaTools web lookup, while omitting it keeps execution purely analytical. Because every sequentialthinking call invokes multiple agents, expect roughly 5-10x higher token usage than single-agent alternatives in exchange for multi-perspective reflection, explicit revision loops, and thought branching.

Install & configure

Requirements

  • Python 3.10+
  • uv package manager (recommended) or pip
  • LLM API key for DeepSeek, Groq, OpenRouter, GitHub Models, or Anthropic (or local Ollama)
  • Optional EXA_API_KEY to enable ExaTools web research
Documented launch / install command
uv pip install .

Clone the repository, install with `uv pip install .` or `pip install .`, then register `mcp-server-mas-sequential-thinking` with `LLM_PROVIDER` and your provider key in your MCP client JSON config.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "sequential-thinking": {
      "command": "mcp-server-mas-sequential-thinking",
      "env": {
        "LLM_PROVIDER": "deepseek",
        "DEEPSEEK_API_KEY": "your_api_key",
        "EXA_API_KEY": "your_exa_key_optional"
      }
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "sequential-thinking": {
      "command": "mcp-server-mas-sequential-thinking",
      "env": {
        "LLM_PROVIDER": "deepseek",
        "DEEPSEEK_API_KEY": "your_api_key",
        "EXA_API_KEY": "your_exa_key_optional"
      }
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "sequential-thinking": {
      "type": "stdio",
      "command": "mcp-server-mas-sequential-thinking",
      "env": {
        "LLM_PROVIDER": "deepseek",
        "DEEPSEEK_API_KEY": "your_api_key",
        "EXA_API_KEY": "your_exa_key_optional"
      }
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "sequential-thinking": {
      "command": "mcp-server-mas-sequential-thinking",
      "env": {
        "LLM_PROVIDER": "deepseek",
        "DEEPSEEK_API_KEY": "your_api_key",
        "EXA_API_KEY": "your_exa_key_optional"
      }
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "sequential-thinking": {
      "type": "stdio",
      "command": "mcp-server-mas-sequential-thinking",
      "env": {
        "LLM_PROVIDER": "deepseek",
        "DEEPSEEK_API_KEY": "your_api_key",
        "EXA_API_KEY": "your_exa_key_optional"
      }
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
sequentialthinkingRuns an iterative reasoning step through initial synthesis, six parallel specialist agents, and final synthesis, returning should_continue, next_thought_number, stop_reason, and revision or branching guidance.

Use cases

  • Pressure-test system architecture proposals with parallel critical, factual, optimistic, and creative evaluations before committing code.
  • Run iterative root-cause analysis in Claude Code or Cursor using explicit thought revisions and branching paths.
  • Combine local Ollama models or commercial endpoints with optional Exa web lookup for structured technical research.

Strengths

  • Deterministic multi-agent pipeline runs six cognitive specialists concurrently via asyncio.gather for broader coverage.
  • Flexible dual-model provider configuration supports DeepSeek, Groq, OpenRouter, GitHub Models, Anthropic, and keyless Ollama.
  • Structured continuation contract returns should_continue, next_thought_number, and next_call_arguments to guide multi-step loops.

Limitations

  • Consumes roughly 5-10x more tokens per sequentialthinking call than a single-agent server due to parallel specialist execution.
  • Requires cloning and installing locally via uv or pip rather than running from a published package registry.
  • Repository does not yet declare an open-source license, which may restrict commercial reuse until clarified.

mcp-server-mas-sequential-thinking setup notes

  • Check DEEPSEEK_API_KEY, EXA_API_KEY, LLM_PROVIDER in the mcp-server-mas-sequential-thinking configuration if startup or authentication fails.
  • mcp-server-mas-sequential-thinking's stdio example needs a client that launches local processes.
  • mcp-server-mas-sequential-thinking has no recorded license; confirm reuse terms in its repository.

Frequently asked questions

Clone the repo, run `uv pip install .` (or `pip install .`), and add a `sequential-thinking` entry under `mcpServers` using command `mcp-server-mas-sequential-thinking` with `LLM_PROVIDER` and your provider key in `env`.

Related MCP servers