structured-thinking-mcp
Version:
MCP server for structured thinking framework - Step-by-step reasoning and systematic problem-solving for LLMs
92 lines • 4.69 kB
JSON
{
"tool": {
"name": "chain_of_thought",
"description": "Chain of Thought (CoT) Framework - A detailed tool for dynamic and reflective problem-solving through thoughts.\nThis tool helps analyze problems through a flexible thinking process that can adapt and evolve.\nEach thought can build on, question, or revise previous insights as understanding deepens.\n\nWhen to use this tool:\n- Breaking down complex problems into steps\n- Planning and design with room for revision\n- Analysis that might need course correction\n- Problems where the full scope might not be clear initially\n- Problems that require a multi-step solution\n- Tasks that need to maintain context over multiple steps\n- Situations where irrelevant information needs to be filtered out\n\nKey features:\n- You can adjust total_thoughts up or down as you progress\n- You can question or revise previous thoughts\n- You can add more thoughts even after reaching what seemed like the end\n- You can express uncertainty and explore alternative approaches\n- Not every thought needs to build linearly - you can branch or backtrack\n- Generates a solution hypothesis\n- Verifies the hypothesis based on the Chain of Thought steps\n- Repeats the process until satisfied\n- Provides a correct answer"
},
"inputSchema": {
"thought": {
"description": "Your current thinking step and analysis"
},
"nextThoughtNeeded": {
"description": "Whether another thought step is needed"
},
"thoughtNumber": {
"description": "Current thought number"
},
"totalThoughts": {
"description": "Estimated total thoughts needed (default: 3)"
},
"commandSelection": {
"description": "Optional command or document selection at any step",
"type": {
"description": "Type of selection: command (use specific command), skip (autonomous skip), skip_reason (already read)"
},
"command": {
"description": "Command name (required when type is 'command')"
},
"reason": {
"description": "Reason for skip (required when type is 'skip' or 'skip_reason')"
}
},
"isRevision": {
"description": "Whether this revises previous thinking"
},
"revisesThought": {
"description": "Which thought is being reconsidered"
},
"branchFromThought": {
"description": "Branching point thought number"
},
"branchId": {
"description": "Branch identifier"
},
"needsMoreThoughts": {
"description": "If more thoughts are needed beyond initial estimate"
}
},
"errors": {
"invalidThought": "Invalid thought: must be a string",
"invalidThoughtNumber": "Invalid thoughtNumber: must be a number",
"invalidTotalThoughts": "Invalid totalThoughts: must be a number",
"invalidNextThoughtNeeded": "Invalid nextThoughtNeeded: must be a boolean",
"commandFieldRequired": "commandSelection type \"command\" requires a \"command\" field",
"reasonFieldRequired": "commandSelection type \"{type}\" requires a \"reason\" field",
"invalidSelectionType": "Invalid commandSelection type: {type}. Must be \"command\", \"skip\", or \"skip_reason\"",
"unexpectedThoughtNumber": "Unexpected thought number: {number}. Expected 1-3 or expansion beyond 3.",
"mandatoryViolation": "Step {step} requires commandSelection!\n\nYou must provide a commandSelection object with:\n{\n \"commandSelection\": {\n \"type\": \"command\" | \"skip\" | \"skip_reason\",\n \"command\": \"command_name\", // required for type: \"command\"\n \"reason\": \"explanation\" // required for type: \"skip\" or \"skip_reason\"\n }\n}\n\nAvailable commands:\n{commands}\n\nCommands defined in: {path}",
"unknownTool": "Unknown tool: {name}"
},
"messages": {
"autoExecute": "Reading {command}.md documentation",
"skipMessage": "Skipping: {reason}",
"systemReminder": "Note: {reason}",
"serverRunning": "Structured Thinking MCP Server running on stdio",
"fatalError": "Fatal error: {error}"
},
"templates": {},
"commands": {
"command": {
"documentStatus": "{command}",
"autoExecute": null
},
"skip": {
"documentStatus": "skip",
"autoExecute": null
},
"skip_reason": {
"documentStatus": "skip_reason",
"autoExecute": null
}
},
"console": {
"thoughtPrefix": {
"default": "Thought",
"revision": "Revision",
"branch": "Branch"
},
"thoughtContext": {
"revision": " (revising thought {number})",
"branch": " (from thought {from}, ID: {id})"
}
}
}