Skip to main content
Glama

MCP Think

by ddkang1

MCP Think

A Model Context Protocol (MCP) server implementing the "think" tool for improving Claude's and other LLMs' complex reasoning capabilities.

Overview

This MCP server implements the "think" tool as described in Anthropic's blog post, which provides Claude with a dedicated space for structured thinking during complex problem-solving tasks. The think tool has been shown to significantly improve performance in complex tasks requiring policy adherence and reasoning in long chains of tool calls.

Features

  • Structured Thinking Space: Provides LLMs with a dedicated place to break down complex problems
  • Thought History: Maintains a log of all thoughts with timestamps for reference
  • Multiple Transport Support: Works with both stdio and SSE transports

Installation

Install from PyPI:

pip install mcp-think

Or install from source:

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

Usage

You can run the MCP server directly:

mcp-think

By default, it uses SSE transport. To use stdio transport:

mcp-think --transport stdio

You can also specify host and port for SSE transport:

mcp-think --host 0.0.0.0 --port 3001

Configuration

To use this tool with Claude in Windsurf, add the following configuration to your MCP config file:

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

For SSE transport (default):

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

The command field should point to the directory where you installed the python package using pip.

Available Tools

The MCP server provides the following tool:

  • think: Record a thought with a timestamp

Development

Installation for Development

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

Running Tests

pytest

Code Style

This project uses Black for formatting, isort for import sorting, and flake8 for linting:

black src tests isort src tests flake8 src tests

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Changelog

See CHANGELOG.md for a history of changes to this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

-
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.

A Model Context Protocol server that provides AI assistants like Claude with a dedicated space for structured thinking during complex problem-solving tasks.

  1. Overview
    1. Features
      1. Installation
        1. Usage
          1. Configuration
            1. Available Tools
              1. Development
                1. Installation for Development
                2. Running Tests
                3. Code Style
              2. Contributing
                1. Changelog
                  1. License

                    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 -
                      11
                      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