Labsco
islobodan logo

CotForce MCP

from islobodan

MCP server that enforces step-by-step Chain-of-Thought β€” turns 4B models into methodical reasoners.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

⌁ labsco summary β€” our analysis, not the vendor's

What it is β€” An MCP server that enforces rigid step-by-step Chain-of-Thought, aiming to turn small (e.g. 4B-parameter) models into methodical reasoners that "think before they speak."

What you get β€”

  • Rigid CoT enforcement β€” forces any LLM to emit valid JSON {reasoning, result} via strict system prompts and few-shot examples; the README shows a 4B Gemma solving SEND+MORE=MONEY in 11 structured steps.
  • Adaptive multi-layer parser β€” 5 built-in parsers (direct JSON, fenced blocks, XML/labels, brace-balancing, truncated recovery) in a priority pipeline, extensible via CotParser.
  • Zod runtime validation of tool args and parsed output.
  • Automatic retry with increasing temperature (up to 3 attempts).
  • Two modes: MCP sampling protocol, or direct HTTP to a local model (LMStudio/Ollama).

Requirements β€” Node 18+. In sampling mode, an MCP client that supports sampling/createMessage (Claude Desktop, Cursor); in direct mode, MODE, API_BASE_URL, and MODEL pointing at a local endpoint.

Cost snapshot β€” free and MIT-licensed. No hosted service; costs come only from whatever model you point it at (a local Gemma is free).

Setup effort β€” add the node stdio block; for local models set the three env vars.

Our take β€” A clever, low-cost way to squeeze reliability out of small local models. Caveat: it doesn't make models smarter β€” it just constrains output format, so genuinely hard reasoning can still fail.

Source: the project README β€” summarized 2026-07-08.