
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
mcp-server-decisions
Advanced tools
MCP server for architectural decision tracking with prediction validation and outcome gates
Registry: io.github.Roberton003/mcp-server-decisions
Architectural decision tracking with prediction validation and outcome gates.
Record decisions, make testable predictions, measure outcomes, and learn from every choice.
Whether you're an AI agent, a team lead, or building decision-critical systems — close the feedback loop.
Decisions are stored in a portable append-only JSONL log. No database, no migrations, zero external dependencies.
# Via MCP client (Claude, etc.) — agent calls this:
record-decision(
problem="Query latency exceeds SLA (p99 > 500ms)",
chosen_solution="DuckDB + Parquet caching",
rejected_alternatives=["Redis", "Elasticsearch"],
technologies=["duckdb", "parquet"],
predictions=[
{"prediction_type": "LATENCY", "predicted_value": "p99 < 200ms"},
{"prediction_type": "COST", "predicted_value": "< $50/month"}
]
)
# Returns: DEC-2026-0001, PRD-2026-0001, PRD-2026-0002
record-outcome(
prediction_id="PRD-2026-0001",
actual_value="p99 = 180ms",
measurement_source="MONITORING",
accuracy_score=95
)
# Returns: SUCCESS ✅, 95% accuracy
# Did DuckDB work before?
query-decisions(technology="duckdb", max_results=5)
# Returns all decisions involving DuckDB, sorted by recency
python3 scripts/technology_performance_report.py
# Output:
# technology: duckdb | successful: 12 | failed: 1 | avg_accuracy: 91.2% | confidence: HIGH
Install Python 3.10+
Clone or download the repository
git clone https://github.com/Roberton003/mcp-server-decisions.git
cd mcp-server-decisions
Install the package
pip install -e .
Run self-tests
python3 server.py --selftest
# ✅ All self-tests passed
Generic Configuration:
{
"mcp-server-decisions": {
"type": "stdio",
"command": "mcp-server-decisions"
}
}
Client-Specific Configurations: See Client Integrations for:
# Run the MCP server directly
mcp-server-decisions
# Or via Python
python3 server.py
Decide → Predict → Implement → Measure → Validate → Learn → Next Decision
Decision loops leak because predictions aren't validated. This server embeds a reminder directly in tool responses:
Without Outcome Gate:
With Outcome Gate:
{
"decision_id": "DEC-2026-0001",
"status": "OK",
"OUTCOME_GATE": "⚠️ 2 prediction(s) from this session still lack outcomes: [PRD-2026-0001, PRD-2026-0002]. Record results via record-outcome before ending."
}
The nudge is in-band (inside the tool response), where agents are already looking. Result: 3.8% → 14.5% closure rate improvement (validated on internal tool).
Real Example: After recording a decision with 3 predictions, the response includes:
{
"decision_id": "DEC-2026-0042",
"prediction_ids": ["PRD-2026-0051", "PRD-2026-0052", "PRD-2026-0053"],
"status": "OK",
"OUTCOME_GATE": "⚠️ 3 prediction(s) from this session still lack outcomes: [PRD-2026-0051, PRD-2026-0052, PRD-2026-0053]. Record results via record-outcome before ending."
}
Next query still shows the gate until all 3 outcomes are recorded. Once they are, the gate disappears automatically.
For the full pattern explanation, see docs/OUTCOME-GATE-PATTERN.md.
MCP_DECISIONS_LOG_PATH — Override the default log file location
~/.local/share/mcp-decisions/decisions_log.jsonpython3 server.py --selftest
All tests pass on clean state with zero external dependencies.
We welcome pull requests. See CONTRIBUTING.md for guidelines.
This project is community-built and independent. It is not affiliated with any organization or standard-setting body. The Outcome Gate pattern is a general-purpose design that can be applied to any feedback loop.
MIT © 2026 Roberton003 — See LICENSE
Made for AI agents. Built for teams. Learn from every decision.
FAQs
MCP server for architectural decision tracking with prediction validation and outcome gates
We found that mcp-server-decisions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.