Skip to main content
Glama

MCP Chain of Thought

Chain of Thought Demo

πŸš€ An intelligent task management system based on Model Context Protocol (MCP), providing an efficient programming workflow framework for AI Agents.

πŸ“‘ Table of Contents

Related MCP server: mcp-linear

✨ Features

  • 🧠 Task Planning & Analysis: Deep understanding of complex task requirements

  • 🧩 Intelligent Task Decomposition: Break down large tasks into manageable smaller tasks

  • πŸ”„ Dependency Management & Status Tracking: Handle dependencies and monitor progress

  • βœ… Task Verification: Ensure results meet requirements

  • πŸ’Ύ Task Memory: Store task history for reference and learning

  • ⛓️ Thought Chain Process: Step-by-step reasoning for complex problems

  • πŸ“‹ Project Rules: Define standards to maintain consistency

  • 🌐 Web GUI: Optional web interface (enable with ENABLE_GUI=true)

  • πŸ“ Detailed Mode: View conversation history (enable with ENABLE_DETAILED_MODE=true)

🧭 Usage Guide

πŸš€ Quick Start

  1. πŸ”½ Installation: Install MCP Chain of Thought via Smithery or manually

  2. 🏁 Initial Setup: Tell the Agent "init project rules" to establish project-specific guidelines

  3. πŸ“ Plan Tasks: Use "plan task [description]" to create a development plan

  4. πŸ‘€ Review & Feedback: Provide feedback during the planning process

  5. ▢️ Execute Tasks: Use "execute task [name/ID]" to implement a specific task

  6. πŸ”„ Continuous Mode: Say "continuous mode" to process all tasks sequentially

πŸ” Memory & Thinking Features

  • πŸ’Ύ Task Memory: Automatically saves execution history for reference

  • πŸ”„ Thought Chain: Enables systematic reasoning through process_thought tool

  • πŸ“‹ Project Rules: Maintains consistency across your codebase

πŸ”§ Installation

πŸ”½ Via Smithery

npx -y @smithery/cli install @liorfranko/mcp-chain-of-thought --client claude

πŸ”½ Manual Installation

npm install npm run build

πŸ”Œ Using with MCP-Compatible Clients

βš™οΈ Configuration in Cursor IDE

Add to your Cursor configuration file (~/.cursor/mcp.json or project-specific .cursor/mcp.json):

{ "mcpServers": { "chain-of-thought": { "command": "npx", "args": ["-y", "mcp-chain-of-thought"], "env": { "DATA_DIR": "/path/to/project/data", // Must use absolute path "ENABLE_THOUGHT_CHAIN": "true", "TEMPLATES_USE": "en", "ENABLE_GUI": "true", "ENABLE_DETAILED_MODE": "true" } } } }

⚠️ Important: DATA_DIR must use an absolute path.

πŸ”§ Environment Variables

  • πŸ“ DATA_DIR: Directory for storing task data (absolute path required)

  • 🧠 ENABLE_THOUGHT_CHAIN: Controls detailed thinking process (default: true)

  • 🌐 TEMPLATES_USE: Template language (default: en)

  • πŸ–₯️ ENABLE_GUI: Enables web interface (default: false)

  • πŸ“ ENABLE_DETAILED_MODE: Shows conversation history (default: false)

πŸ› οΈ Tools Overview

Category

Tool

Description

πŸ“‹ Planning

plan_task

Start planning tasks

analyze_task

Analyze requirements

process_thought

Step-by-step reasoning

reflect_task

Improve solution concepts

init_project_rules

Set project standards

🧩 Management

split_tasks

Break into subtasks

list_tasks

Show all tasks

query_task

Search tasks

get_task_detail

Show task details

delete_task

Remove tasks

▢️ Execution

execute_task

Run specific tasks

verify_task

Verify completion

complete_task

Mark as completed

  • πŸ‘‘ Claude 3.7: Offers strong understanding and generation capabilities

  • πŸ’Ž Gemini 2.5: Google's latest model, performs excellently

πŸ“„ License

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

πŸ“š Documentation

⭐ Star History

Star History Chart

Latest Blog Posts

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/liorfranko/mcp-chain-of-thought'

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