Skip to main content
Glama

Smart-Thinking

聪明的思考

概述

Smart-Thinking 是一个复杂的模型上下文协议 (MCP) 服务器,它为 Claude 等人工智能助手提供多维、自适应和自我验证的推理框架。与线性推理方法不同,Smart-Thinking 使用基于图形的架构,允许思想之间建立复杂的联系,从而提供更接近人类认知的更细致的推理能力。

Smart-Thinking 与所有平台(Windows、macOS、Linux)完全兼容,并与许多 MCP 客户端无缝集成,包括 Claude Desktop、Cline、Windsurf 和其他与 MCP 兼容的应用程序。

主要特点

先进的认知架构

  • 多维思维图谱取代传统线性序列
  • 动态自适应估计所需想法的数量
  • 思想之间的联系类型丰富而微妙(支持、反驳、提炼等)
  • 情境思维指标(信心、相关性、质量)

强大的验证系统

  • 自动事实核查和计算,具有 8 种不同状态
  • 推理中的矛盾和不确定性的检测
  • 针对每种验证类型定制的可靠性分数
  • 生成适合上下文的确定性摘要

高级功能

  • 先前会话的持久内存
  • 提高推理能力的自学习机制
  • 方便用户个性化的相关推理
  • 推理过程的交互式可视化
  • 多代理协作,实现团队合作
  • 与MCP工具生态系统无缝集成

跨平台兼容性

  • 在 Windows、macOS 和 Linux 上同样运行
  • 与所有平台上的 NVM(Node 版本管理器)兼容
  • 根据平台自动管理文件路径
  • 简化每个环境的配置
  • 自动解决特定于操作系统的问题

设施

选项 1:全局安装(推荐)

# Sur macOS/Linux npm install -g smart-thinking-mcp # Sur Windows (depuis PowerShell ou CMD) npm install -g smart-thinking-mcp

选项 2:通过 Smithery 安装

要通过Smithery自动安装 Smart-Thinking:

npx -y @smithery/cli install @Leghis/smart-thinking --client claude

选项 3:通过 npx 使用(无需安装)

# Sur macOS/Linux npx -y smart-thinking-mcp # Sur Windows (moins recommandé, préférez l'installation globale) npx -y smart-thinking-mcp

选项 4:从源代码安装

# Cloner le dépôt git clone https://github.com/Leghis/Smart-Thinking.git cd Smart-Thinking # Installer les dépendances npm install # Compiler le projet npm run build # Créer un lien npm global npm link

使用 Claude Desktop 进行配置

在 macOS 上设置

将此配置添加到您的~/Library/Application Support/Claude/claude_desktop_config.json文件中:

{ "mcpServers": { "smart-thinking": { "command": "smart-thinking-mcp" } } }

或者通过 npx:

{ "mcpServers": { "smart-thinking": { "command": "npx", "args": ["-y", "smart-thinking-mcp"] } } }

在 Windows 上配置

将此配置添加到您的%APPDATA%\Claude\claude_desktop_config.json文件中:

{ "mcpServers": { "smart-thinking": { "command": "C:/Users/VotreNom/AppData/Roaming/npm/smart-thinking-mcp.cmd" } } }

或者使用 Node.js 的完整路径(推荐用于 Windows):

{ "mcpServers": { "smart-thinking": { "command": "C:/Program Files/nodejs/node.exe", "args": ["C:/Users/VotreNom/AppData/Roaming/npm/node_modules/smart-thinking-mcp/build/index.js"] } } }

重要的

  • VotreNom替换为您的 Windows 用户名。
  • 在 Windows 路径中使用正斜杠 ( / ),即使操作系统使用反斜杠 ( \ )。

有关详细的安装说明,请参阅安装指南

跨平台文件系统

Smart-Thinking 实现了与所有平台兼容的高级文件系统管理:

文件系统功能

  • 自动路径规范化:Windows( \ )和Unix( / )路径分隔符之间的无缝转换
  • 内置平台检测:根据操作系统(Windows、macOS、Linux)自动适配
  • 特殊路径处理:支持 Windows UNC 路径、WSL 路径和带空格的路径
  • 自配置数据目录:自动创建和管理数据目录
  • 智能回退:出现访问问题时自动创建备用目录
  • 特定于平台的配置路径:根据操作系统确定配置文件的正确位置

配置数据目录

默认情况下,Smart-Thinking 在其工作目录中创建并使用data文件夹。您还可以使用SMART_THINKING_DATA_DIR环境变量指定自定义目录:

{ "mcpServers": { "smart-thinking": { "command": "smart-thinking-mcp", "env": { "SMART_THINKING_DATA_DIR": "/chemin/absolu/vers/data" } } } }

支持 NVM(节点版本管理器)

Smart-Thinking 自动检测 Node.js 是否通过 NVM 安装并相应地调整路径,从而提供与所有平台(包括带有 NVM 的 Windows)的完美兼容性。

使用

主要设置

环境种类描述
thought细绳待分析的思想内容(必填)
thoughtType细绳思维类型(“常规”、“修订”、“元”、“假设”、“结论”)
connections大批与其他想法的联系
requestVerification布尔值启用自动验证
containsCalculations布尔值指出想法是否包含计算
generateVisualization布尔值生成思维图可视化
suggestTools布尔值推荐相关的 MCP 工具
sessionId细绳用于持久化的会话 ID

使用示例

简单推理
Utilise l'outil Smart-Thinking pour analyser les avantages et inconvénients des énergies renouvelables.
具有自动验证功能
Utilise Smart-Thinking avec vérification (requestVerification=true) pour évaluer les affirmations suivantes sur le changement climatique.
通过可视化
Utilise Smart-Thinking avec visualisation (generateVisualization=true) pour développer une stratégie marketing multicouche.
协作分析
Utilise Smart-Thinking avec un identifiant de session (sessionId="projet-innovation") pour analyser ce problème complexe d'optimisation.

验证系统

Smart-Thinking 采用了复杂的验证系统来评估信息和计算的可靠性。它支持 8 种不同的验证状态:

地位描述
verified信息经过可靠验证
partially_verified信息部分核实
unverified未经证实的信息
contradicted与其他来源相矛盾的信息
inconclusive验证无果
absence_of_information缺乏有关该主题的信息
uncertain因矛盾而导致的信息不确定
contradictory本质上矛盾的信息

系统会将这些状态与信任度、相关性和质量等其他指标相结合,计算出可靠性分数。

计算可靠性分数

可靠性分数是使用以下公式计算得出的:

  • 基本指标(信任度、相关性、质量)
  • 验证状态
  • 计算验证结果(如有)
  • 先前分数的历史(用于时间平滑)

阈值和分数已通过模拟进行了优化,以确保最大程度的一致性。

可视化

Smart-Thinking 提供几种类型的思维图可视化:

  • 标准图:思维网络的标准排列
  • 按时间顺序:思想的时间组织
  • 主题:按相似主题聚类
  • 层次结构:树形结构
  • :基于吸引力/排斥力的排列
  • 径向:围绕中心思想的同心圆

可以根据以下内容筛选可视化:

  • 思维类型
  • 连接类型
  • 指标阈值
  • 文本搜索
  • 日期范围

数据持久化

Smart-Thinking 实现了强大的数据持久系统,可以存储:

  • 按会话划分的思维图
  • 验证结果可供将来重复使用
  • 用于分析和改进的计算指标
  • 用户个性化偏好

数据以跨平台兼容的方式存储在文件系统上的结构化 JSON 文件中,确保跨会话的持久性。

与 MCP 客户端的兼容性

Smart-Thinking 与许多 MCP 客户端兼容,包括:

  • Claude 桌面应用程序:全面支持工具、资源和提示
  • Cline :工具和资源支持
  • 继续:全面支持所有 MCP 功能
  • 第五:工具支持
  • 光标:支持工具
  • Windsurf 编辑器:支持 AI Flow 工具
  • 还有更多...

与顺序思维的比较

功能顺序思维聪明的思考
思维结构线性多维(图形)
连接类型边界丰富而细腻(16种以上)
适应静止的动态和上下文
确认基本的高级(8 种不同状态)
可视化简单的交互式且可配置
记忆暂时的坚持矢量化
合作是(多代理)
个性化有限的用户自适应
自学是的
指标基础知识情境和多因素
平台兼容性有限的完整版(Windows、macOS、Linux)

API 和集成

Smart-Thinking 可以集成到其他 Node.js 应用程序中:

import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { SmartThinking } from 'smart-thinking-mcp'; // Initialiser Smart-Thinking const smartThinking = new SmartThinking({ persistenceEnabled: true, verificationEnabled: true }); // Utiliser les fonctionnalités const result = await smartThinking.processThought({ thought: "Cette pensée sera analysée et vérifiée", requestVerification: true }); console.log(result.qualityMetrics); console.log(result.verificationStatus);

故障排除

快速操作检查

要验证 Smart-Thinking 是否正常工作:

# Sur macOS/Linux smart-thinking-mcp # Sur Windows smart-thinking-mcp.cmd

您应该会看到服务器启动消息。

查阅日志

如果您遇到任何困难,请检查 Claude Desktop 日志:

  • 在 macOS 上: ~/Library/Logs/Claude/mcp*.log
  • 在 Windows 上: %USERPROFILE%\AppData\Local\Claude\logs\mcp*.log
  • 在 Linux 上: ~/.local/share/Claude/logs/mcp*.log

常见问题及解决方案

问题解决方案
克劳德没有出现“聪明思考”检查配置中的路径,重新启动Claude Desktop
文件访问错误检查数据目录的权限
Windows 上的连接问题使用带正斜杠的完整路径和绝对路径
Windows 上的 NVM 错误使用 Node.js 活动版本的完整路径

对于 Windows 和 NVM 特定问题,请参阅安装指南中的专门部分。

贡献

欢迎投稿!请参阅我们的贡献指南以获取更多信息。

执照

麻省理工学院

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    Provides reasoning content to MCP-enabled AI clients by interfacing with Deepseek's API or a local Ollama server, enabling focused reasoning and thought process visualization.
    Last updated -
    1
    54
    24
    JavaScript
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.
    Last updated -
    32
    80
    5
    TypeScript
    MIT License
    • Apple
  • -
    security
    A
    license
    -
    quality
    A minimal MCP Server that provides Claude AI models with the 'think' tool capability, enabling better performance on complex reasoning tasks by allowing the model to pause during response generation for additional thinking steps.
    Last updated -
    525
    1
    TypeScript
    MIT License
    • Apple
  • A
    security
    F
    license
    A
    quality
    An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
    Last updated -
    11
    34
    TypeScript
    • Linux
    • Apple

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/Leghis/Smart-Thinking'

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