Logo vun Thinking Patterns MCP Server

Thinking Patterns MCP Server

Communautéit
emmahyde

A comprehensive MCP server that combines systematic thinking, mental models, debugging approaches, and stochastic algorithms for enhanced problem-solving capabilities.

Editeuremmahyde
Repositorythinking-patterns
SproochTypeScript
Forks
1
Stären
19
Disponibel Tools
15
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Thinking Patterns MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 15 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    19 Stären an 1 Forks aus dem verlinkte Repository.

Thinking Patterns MCP Server

smithery badge NPM Version

TL;DR

A comprehensive MCP server that provides AI systems with structured thinking frameworks that follow existing problem-solving paradigms. Transform abstract cognitive patterns into concrete, invocable tools. Enforces adherence to the paradigms through schema validation.

📚 Documentation

Problem

LLMs struggle to maintain consistent reasoning patterns throughout extended conversations due to context window limitations and degrading adherence to initial instructions. Traditional approaches like "keep X in mind" or role-based prompting fail when:

  • Critical context passes out of the attention window
  • Models acknowledge constraints but don't consistently apply them
  • Reasoning structures decay over multi-turn interactions

thinking-patterns enforces structural consistency through interactive schema validation rather than passive instruction-following.

Solution

thinking-patterns works by implicitly encouraging good engineering behaviors and approaches:

  • Schema validation ensures reasoning patterns persist beyond context window limits
  • Structural requirements live in tool definitions rather than repeated prompt text, reducing token overhead
  • Tool interaction success/failure provides objective metrics for reasoning quality
    • Indicates to the model that they are not following the pattern appropriately without additional user interaction
  • Reusable thinking structures across different problem domains

Reasoning Improvements

  • Attention Drift Prevention: Without structural anchors, models experience "goal drift" as new contextual information competes with original objectives. Schema validation creates persistent attention anchors.
  • State Crystallization: Explicit articulation of reasoning state (forced by tool parameters) appears to strengthen internal representation compared to implicit state maintenance. Models demonstrate measurably better state consistency when reasoning is externalized.
  • Error-Driven Learning: Schema validation errors create immediate, interactive corrective feedback loops within a single response, unlike instruction-based approaches where non-compliance often goes undetected until task completion.
  • Cognitive Load Distribution: Externalizing structural requirements to schemas allows models to allocate more processing capacity to problem-solving rather than format compliance, similar to how humans benefit from external memory aids.
  • Iterative Reinforcement: Repeated successful tool interactions strengthen adherence patterns through practice, creating compound consistency benefits over conversation length.

🚀 Quick Start

1. Install (Choose One)

Recommended: Smithery (for Cursor users)

bash
npx -y @smithery/cli install @emmahyde/thinking-patterns --client cursor

NPM

bash
npm install @emmahyde/thinking-patterns

NPX (no installation)

bash
npx -y @emmahyde/thinking-patterns

2. Configure MCP Client

Add to your MCP client configuration:

json
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": ["-y", "@emmahyde/thinking-patterns"]
    }
  }
}

3. Try Your First Tool

bash
# Example: Use sequential thinking for planning
{
  "tool": "sequential_thinking",
  "arguments": {
    "thought": "Plan a product launch strategy",
    "thoughtNumber": 1,
    "totalThoughts": 5
  }
}

🧠 Available Thinking Tools

Core Systematic Thinking

  • sequential_thinking - Multi-step reasoning with revision support
  • problem_decomposition - Break complex problems into manageable parts
  • recursive_thinking - Apply recursive strategies to self-similar problems

Mental Models & Frameworks

  • mental_model - Apply proven frameworks (First Principles, Inversion, etc.)
  • decision_framework - Multi-criteria decision analysis
  • domain_modeling - Create conceptual models of problem domains

Scientific & Critical Analysis

  • scientific_method - Formal hypothesis testing and experimentation
  • critical_thinking - Systematic evaluation of arguments and assumptions
  • debugging_approach - Systematic troubleshooting methodologies

Collaborative & Dialectical

  • collaborative_reasoning - Multi-perspective problem solving with personas
  • structured_argumentation - Dialectical reasoning and argument analysis

Advanced Cognitive Patterns

  • metacognitive_monitoring - Self-assessment of reasoning quality
  • visual_reasoning - Diagram-based thinking and spatial reasoning
  • temporal_thinking - Time-based system analysis with state transitions

Probabilistic & Optimization

  • stochastic_algorithm - Decision-making under uncertainty [BETA]
    • Markov Decision Processes (MDPs)
    • Monte Carlo Tree Search (MCTS)
    • Multi-Armed Bandit algorithms
    • Bayesian Optimization
    • Hidden Markov Models (HMMs)

💡 Recommended Starting Points

  • sequential_thinking & problem_decomposition - Perfect for planning and breaking down complex tasks
  • debugging_approach - Send error messages directly for systematic troubleshooting
  • collaborative_reasoning - Simulate team discussions to uncover blind spots

📋 Prerequisites

  • Node.js 18+ (for local installation)
  • MCP-compatible client (Claude, Cursor, etc.)
  • Optional: Docker for containerized deployment

🔧 Installation Options

Option 1: Smithery (Recommended for Cursor)

Automatically configures MCP client:

bash
npx -y @smithery/cli install @emmahyde/thinking-patterns --client cursor

Option 2: NPM Package

For local development:

bash
npm install @emmahyde/thinking-patterns

Option 3: NPX (Zero Installation)

Run without installing:

bash
npx -y @emmahyde/thinking-patterns

Option 4: Docker

bash
# Build image
docker build -t thinking-patterns .

# Run container
docker run -it thinking-patterns

Option 5: Development Setup

bash
git clone https://github.com/emmahyde/thinking-patterns
cd thinking-patterns
npm install
npm run build
npm start

🎯 Use Cases

Software Development

  • Debug production issues systematically
  • Decompose complex features into user stories
  • Review code with multiple perspectives
  • Plan architecture changes step-by-step

Business Strategy

  • Make data-driven decisions with frameworks
  • Apply mental models to strategic planning
  • Model business processes over time
  • Optimize resource allocation

Research & Analysis

  • Test hypotheses with scientific method
  • Evaluate arguments critically
  • Model new domains systematically
  • Analyze temporal patterns

Creative Problem Solving

  • Use visual reasoning for design challenges
  • Apply recursive thinking to complex patterns
  • Optimize solutions with probabilistic algorithms
  • Generate innovative solutions with mental models

🔗 Integration Examples

npx

json
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": ["-y", "@emmahyde/thinking-patterns"]
    }
  }
}

Local Development

json
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "node",
      "args": ["/path/to/thinking-patterns/dist/index.js"]
    }
  }
}

📊 Tool Categories

CategoryToolsBest For
Systematicsequential_thinking, problem_decomposition, recursive_thinkingPlanning, breaking down complexity
Mental Modelsmental_model, decision_framework, domain_modelingStrategic thinking, decision making
Scientificscientific_method, critical_thinking, debugging_approachAnalysis, troubleshooting, validation
Collaborativecollaborative_reasoning, structured_argumentationTeam thinking, debate, consensus
Advancedmetacognitive_monitoring, visual_reasoning, temporal_thinkingSelf-reflection, design, process modeling
Probabilisticstochastic_algorithmOptimization, uncertainty, ML/AI

🤝 Contributing

Contributions welcome! Please see our Contributing Guide for details.

📄 License

MIT License - see LICENSE for details.

🙏 Acknowledgments

  • Built on the Model Context Protocol (MCP) by Anthropic
  • Mental Models framework inspired by cognitive science research
  • Stochastic algorithms based on reinforcement learning and decision theory

📞 Support


Give an AI thinking patterns, and it can solve any problem systematically.

Installatioun

TypingMind
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": [
        "-y",
        "@emmahyde/thinking-patterns"
      ]
    }
  }
}

Disponibel Tools

  • sequential_thinking

    A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve.

  • mental_model

    Tool for creating and analyzing mental models to understand complex problems and systems.

  • debugging_approach

    Systematic debugging methodologies for troubleshooting and problem resolution.

  • stochastic_algorithm

    Probabilistic algorithms for decision-making under uncertainty, including MDPs, MCTS, and Bayesian optimization.

  • collaborative_reasoning

    Multi-perspective collaborative problem solving with diverse personas and structured contributions.

  • decision_framework

    Structured decision analysis and rational choice frameworks for complex decisions.

  • metacognitive_monitoring

    Self-assessment of knowledge and reasoning quality for improved metacognition.

  • scientific_method

    Formal hypothesis testing and experimentation following the scientific method.

  • structured_argumentation

    Dialectical reasoning and argument analysis for structured debates and logical reasoning.

  • visual_reasoning

    Diagram-based thinking and problem solving with visual elements and transformations.

  • domain_modeling

    Creating and refining conceptual models of a domain, including entities, relationships, and rules.

  • problem_decomposition

    Breaking down complex problems into manageable sub-problems and tasks.

  • critical_thinking

    Systematic evaluation of arguments, assumptions, and potential issues to improve reasoning quality.

  • recursive_thinking

    Applying recursive strategies to solve problems with base and recursive cases, including optimizations.

  • temporal_thinking

    Modeling systems and reasoning across time using states, events, and transitions.

Thinking Patterns MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Thinking Patterns MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Thinking Patterns MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Thinking Patterns MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": [
        "-y",
        "@emmahyde/thinking-patterns"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Thinking Patterns MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Thinking Patterns MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Thinking Patterns MCP Server?
Thinking Patterns MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Thinking Patterns MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Thinking Patterns MCP Server benotzt?

Thinking Patterns MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Thinking Patterns MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Thinking Patterns MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Thinking Patterns MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Thinking Patterns MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Thinking Patterns MCP Server MCP mat TypingMind?

Thinking Patterns MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Thinking Patterns MCP Server MCP an TypingMind zur Verfügung?

Thinking Patterns MCP Server stellt 15 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Thinking Patterns MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Thinking Patterns MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇