Retrieval-Augmented Thinking MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables iterative hypothesis generation and validation cycles through structured thought processes, supporting creation, testing, and refinement of hypotheses with verification checkpoints.

检索增强思维 MCP 服务器

MCP(模型上下文协议)服务器实现,通过结构化、检索增强的思维过程增强 AI 模型能力。该服务器支持动态思维链、并行探索路径和递归细化循环,从而提升推理和问题解决能力。

特征

  • 自适应思维链:通过分支和修订功能保持连贯的推理流程
  • 迭代假设生成:实施假设检验的验证周期
  • 上下文连贯性:在非线性推理路径中保留上下文
  • 动态范围调整:支持灵活的探索和细化
  • 质量评估:实时评估思维过程
  • 分支管理:处理并行探索路径
  • 修订跟踪:管理递归细化周期

安装

npm install @modelcontextprotocol/server-retrieval-augmented-thinking

用法

命令行

mcp-server-retrieval-augmented-thinking

程序化使用

import { Server } from '@modelcontextprotocol/sdk/server'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio'; // Initialize and run the server const server = new Server({ name: 'retrieval-augmented-thinking', version: '0.1.0' }); // Connect transport const transport = new StdioServerTransport(); await server.connect(transport);

工具配置

服务器提供了一个具有以下参数的工具:

  • thought (字符串):当前推理步骤
  • thoughtNumber (数字):推理链中的位置
  • totalThoughts (数量):估计范围
  • nextThoughtNeeded (布尔值):链延续信号
  • isRevision (布尔值,可选):标记细化步骤
  • revisesThought (数字,可选):参考目标思想
  • branchFromThought (数字,可选):分支原点
  • branchId (字符串,可选):分支标识符
  • needsMoreThoughts (布尔值,可选):范围扩展信号

高级功能

思维链分析

服务器跟踪思想链质量的各种指标:

  • 链效性
  • 修订影响
  • 分支成功率
  • 总体质量
  • 个人思维指标(复杂性、深度、质量、影响力)

模式识别

分析思维模式:

  • 推理结构
  • 上下文保存
  • 假设验证
  • 解决方案的一致性

发展

# Build npm run build # Watch mode npm run watch

贡献

欢迎贡献!请阅读我们的贡献指南并提交 PR。

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

通过结构化、检索增强的思维过程增强人工智能模型能力,实现动态思维链、并行探索路径和递归细化循环,从而提高推理能力。

  1. Features
    1. Installation
      1. Usage
        1. Command Line
        2. Programmatic Usage
      2. Tool Configuration
        1. Advanced Features
          1. Thought Chain Analytics
          2. Pattern Recognition
        2. Development
          1. Contributing
            1. License
              ID: d86f2s9wmm