solve_problem
Solves a problem using strict Agentic Chain-of-Thought with adaptive parsing, retry logic, token budgeting (via tiktoken), and configurable model.
Push a small local model through a strict step-by-step chain of thought, so a model too small to solve a problem in one pass can work through it.
LABSCO SUMMARY
The premise is honest and narrow: a 4B model fails structured reasoning not because it lacks the steps but because nothing makes it take them, and enforcing the structure externally recovers some of that. If you are running a small local model — for cost, for privacy, for offline work — that is a real gain. If you are already calling a frontier model, the scaffolding adds latency to something the model does natively. Worth deciding which situation you are in before attaching it, because the tool cannot tell you and will happily wrap either.
A single-tool reasoning harness: it takes a problem and enforces an agentic chain-of-thought with adaptive parsing, aimed at making small models work methodically rather than answering from pattern.
MODEL, naming the model to drive, and a current Node runtime.
One command — npm install @slbdn/cotforce-mcp
USE CASES
Hand it the problem and let the harness force the steps, rather than hoping a prompt asking for reasoning produces any.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
solve_problemSolves a problem using strict Agentic Chain-of-Thought with adaptive parsing, retry logic, token budgeting (via tiktoken), and configurable model.
BEFORE YOU INSTALL
1 tool when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
npm install @slbdn/cotforce-mcp{
"mcpServers": {
"cotforce": {
"command": "npx",
"args": [
"-y",
"@slbdn/cotforce-mcp"
],
"env": {
"MODEL": "claude-3-5-sonnet"
}
}
}
}Clone and build the server:
git clone https://github.com/islobodan/cotforce-mcp
cd cotforce-mcp
npm install
npm run buildThen add this; <YOUR_PATH_TO_COTFORCE_MCP> is the full path of the cotforce-mcp folder you cloned:
{
"mcpServers": {
"cotforce": {
"command": "node",
"args": [
"<YOUR_PATH_TO_COTFORCE_MCP>/index.js"
],
"env": {
"MODEL": "claude-3-5-sonnet",
"MAX_RETRIES": "2"
}
}
}
}Clone and build the server:
git clone https://github.com/islobodan/cotforce-mcp
cd cotforce-mcp
npm install
npm run buildThen add this; <YOUR_PATH_TO_COTFORCE_MCP> is the full path of the cotforce-mcp folder you cloned:
{
"mcpServers": {
"cotforce": {
"command": "node",
"args": [
"<YOUR_PATH_TO_COTFORCE_MCP>/index.js"
],
"env": {
"MODE": "direct",
"API_BASE_URL": "http://localhost:1234/v1",
"MODEL": "local-model",
"MAX_RETRIES": "2"
}
}
}
}