FM

fradser/mcp-server-mas-sequential-thinking

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

308 stars 44 forks 质量 75 趋势 14

采用多代理系统(MAS)构建的高级顺序思维过程,采用Agno框架构建,并通过MCP提供。

概览

该项目采用基于框架构建的先进顺序思维过程,并通过 提供。它通过利用协调的专业智能体进行更深入的分析和问题分解,代表了从简单状态追踪方法的重大演进。 这是一个——不是独立的应用。它作为后台服务运行,扩展了你的大型语言模型客户端(如Claude Desktop),具备复杂的顺序思考能力。服务器提供一个顺序思维工具,通过多个专业的AI代理处理思维,每个代理从不同的认知角度审视问题。

概述(AI 翻译)

英语 |简体中文

一个MCP服务器,通过一组专业的AI代理处理顺序思考,每个代理从不同的认知视角分析问题。

这是什么

这是一个MCP服务器,不是独立应用。它作为后台服务运行,扩展了一个兼容MCP的LLM客户端(如Claude Desktop),具备结构化的顺序思维能力。它暴露了一个工具sequentialthinking,将所有想法都通过固定的多代理工作流程处理:初步综合,多个专业代理并行思考,最终综合回答原始问题。

工作原理

系统对每个请求采用固定的full_exploration策略。AI复杂度分析器仍会运行以记录诊断元数据(复杂度评分、问题类型、所需思维模式),但不再改变执行路径——所有思维路径相同:

特工

每个请求并行运行六个专业代理,以及一个运行两次的合成代理(一次在开始,一次在结束)。除合成外,所有专家都可以选择性地通过ExaTools使用网页研究。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Sequential Thinking Multi-Agent System (MAS)

English | 简体中文

An MCP server that processes sequential thoughts through a team of specialized AI agents, each analyzing the problem from a different cognitive perspective.

What This Is

This is an MCP server, not a standalone application. It runs as a background service that extends an MCP-compatible LLM client (like Claude Desktop) with structured sequential-thinking capabilities. It exposes one tool, sequentialthinking, that runs every thought through a fixed multi-agent workflow: an initial synthesis, several specialist agents thinking in parallel, and a final synthesis that answers the original question.

How It Works

The system uses a fixed full_exploration strategy for every request. The AI complexity analyzer still runs to record diagnostic metadata (complexity score, problem type, required thinking modes), but it no longer changes the execution path — all thoughts take the same route:

flowchart TD
    A[Input Thought] --> B[AI Complexity Analyzer]
    B --> C[Complexity Metadata Stored]
    C --> D[Fixed Strategy: full_exploration]
    D --> E[Step 1: Initial Synthesis]
    E --> F[Step 2: Parallel Specialist Agents]
    F --> G[Step 3: Final Synthesis]
    G --> H[Unified Response]

The Specialist Agents

Each request runs six specialist agents in parallel, plus a synthesis agent that runs twice (once at the start, once at the end). Every specialist except synthesis can optionally use web research via ExaTools.

Agent Thinking direction Focus Time budget
Factual factual Objective facts and verified data 120s
Emotional emotional Intuition and gut reactions 30s
Critical critical Risks, weaknesses, logical flaws 120s
Optimistic optimistic Benefits, opportunities, value 120s
Creative creative New ideas and alternatives 240s
Meta-cognitive metacognitive Bias detection and reasoning-process evaluation 90s
Synthesis synthesis Integration and final answer 60s

Key properties:

  • Deterministic: every request runs the same multi-step path.
  • Parallel: the specialist agents run simultaneously with asyncio.gather.
  • Synthesis-driven: both orchestration and the final answer come from the synthesis agent, which uses the enhanced model.

Model Strategy

Two models are configured per provider:

  • Enhanced model: used by the synthesis agent (integration tasks).
  • Standard model: used by the specialist agents.
在 GitHub 查看完整 README

安装

npx @modelcontextprotocol/inspector uv run mcp-server-mas-sequential-thinking
新手?先看 mcpskill.org 教程 →

配置

{ "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" } } } }