Skip to main content
Glama

Retrieval-Augmented Thinking MCP Server

by stat-guy

检索增强思维 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。

执照

麻省理工学院

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

Tools

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

  1. 特征
    1. 安装
      1. 用法
        1. 命令行
        2. 程序化使用
      2. 工具配置
        1. 高级功能
          1. 思维链分析
          2. 模式识别
        2. 发展
          1. 贡献
            1. 执照

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Facilitates two-stage reasoning processes using DeepSeek for detailed analysis and supports multiple response models such as Claude 3.5 Sonnet and OpenRouter, maintaining conversation context and enhancing AI-driven interactions.
                Last updated -
                2
                101
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                Enables iterative deep research by integrating AI agents with search engines, web scraping, and large language models for efficient data gathering and comprehensive reporting.
                Last updated -
                28
                117
                TypeScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                Provides access to Perplexity AI models through two tools: ask\_perplexity for expert programming assistance and chat\_perplexity for maintaining ongoing conversations with context preservation.
                Last updated -
                Python
                MIT License
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                Enables AI models to search the web for current information before generating responses, with features for conditional searching, geographic customization, and automatic citations.
                Last updated -
                JavaScript
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/stat-guy/retrieval-augmented-thinking'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server