Skip to main content
Glama

MCP Think

by ddkang1

MCP思考

模型上下文协议 (MCP) 服务器实现了“思考”工具,用于提高 Claude 和其他 LLM 的复杂推理能力。

概述

该 MCP 服务器实现了 Anthropic博客文章中描述的“思考”工具,该工具为 Claude 提供了一个专用的空间,用于在复杂的问题解决任务中进行结构化思考。事实证明,在需要遵循策略并在长链工具调用中进行推理的复杂任务中,该思考工具能够显著提升性能。

特征

  • 结构化思维空间:为法学硕士提供一个专门的空间来分解复杂的问题
  • 思想史:保存所有思想的日志,并带有时间戳以供参考
  • 多传输支持:可与 stdio 和 SSE 传输配合使用

安装

从 PyPI 安装:

pip install mcp-think

或者从源安装:

git clone https://github.com/ddkang1/mcp-think.git cd mcp-think pip install -e .

用法

您可以直接运行 MCP 服务器:

mcp-think

默认情况下,它使用 SSE 传输。要使用 stdio 传输:

mcp-think --transport stdio

您还可以为 SSE 传输指定主机和端口:

mcp-think --host 0.0.0.0 --port 3001

配置

要在 Windsurf 中将此工具与 Claude 一起使用,请将以下配置添加到您的 MCP 配置文件中:

"think": { "command": "/home/xxx/.local/bin/mcp-think", "args": ["--transport", "stdio"], "type": "stdio", "pollingInterval": 30000, "startupTimeout": 30000, "restartOnFailure": true }

对于 SSE 传输(默认):

"think": { "command": "/home/xxx/.local/bin/mcp-think", "args": [], "type": "sse", "pollingInterval": 30000, "startupTimeout": 30000, "restartOnFailure": true }

command字段应指向您使用 pip 安装 python 包的目录。

可用工具

MCP 服务器提供以下工具:

  • 思考:用时间戳记录想法

发展

开发安装

git clone https://github.com/ddkang1/mcp-think.git cd mcp-think pip install -e ".[dev]"

运行测试

pytest

代码风格

该项目使用 Black 进行格式化,使用 isort 进行导入排序,使用 flake8 进行 linting:

black src tests isort src tests flake8 src tests

贡献

欢迎贡献!详情请参阅CONTRIBUTING.md

变更日志

请参阅CHANGELOG.md了解该项目的变更历史记录。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

模型上下文协议服务器为 Claude 这样的人工智能助手在解决复杂问题的任务中提供结构化思考的专用空间。

  1. 概述
    1. 特征
      1. 安装
        1. 用法
          1. 配置
            1. 可用工具
              1. 发展
                1. 开发安装
                2. 运行测试
                3. 代码风格
              2. 贡献
                1. 变更日志
                  1. 执照

                    Related MCP Servers

                    • A
                      security
                      F
                      license
                      A
                      quality
                      A Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.
                      Last updated -
                      12
                      64
                      10
                      JavaScript
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A Model Context Protocol server that enables AI assistants like Claude to perform Python development tasks through file operations, code analysis, project management, and safe code execution.
                      Last updated -
                      1
                      Python
                      • Linux
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.
                      Last updated -
                      275
                      JavaScript
                      • Apple
                    • -
                      security
                      A
                      license
                      -
                      quality
                      A Model Context Protocol server that enables AI assistants like Claude to interact with Jira, allowing for project management tasks such as listing projects, searching issues, creating tickets, and managing sprints through natural language queries.
                      Last updated -
                      12
                      1
                      TypeScript
                      MIT License
                      • 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/ddkang1/mcp-think'

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