Mcp Server Decisions

io.github.Roberton003Published by GitHub account Roberton003v1.0.2Updated Oct 24, 2026

Decision tracking with prediction validation and outcome gates for AI agents

Overview

AI-generated overview

A local MCP server that lets an assistant record architectural decisions, attach testable predictions, log outcomes, and query decision history.

What you can do
Record decisions with problem, chosen solution, alternatives, technologies and predictions, and add measurable predictions to existing decisions. Log observed outcomes and classify each prediction as success, partial success or failure. Search decisions by keyword, technology, domain or result limit. Return outcome-gate reminders flagging predictions that still lack validation, and aggregate validated outcomes into technology feedback.
When to use it
Useful when a team or agent wants an auditable, append-only memory of technical choices tied to measurable predictions, and wants reminders to validate outcomes before calling work complete. Suited to early-stage projects that prefer a plain JSONL log over a database.
Requirements
Runs locally over stdio as a PyPI package; needs Python 3.10 or newer and an MCP-compatible client. No runtime dependencies beyond the standard library. Writes to a default log file under the user's data directory, which can be changed with the MCP_DECISIONS_LOG_PATH environment variable.
Before you install
The server writes and appends to a local decision log file; point MCP_DECISIONS_LOG_PATH at a location you control. Outcome-gate reminders are workflow signals, not claims about adoption or measured impact. The project is early-stage, and external adoption metrics are not collected.

Installation

In SourceWeft

  1. Open Mcp Server Decisions in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

🧠 MCP Server: Decisions

An open-source MCP server that helps teams record architectural decisions, connect them to testable predictions, and validate outcomes over time. It gives AI agents and developers a lightweight, auditable memory for technical choices.

[Python 3.10+] [MCP] [License: MIT] [PyPI] [Glama]

[Architectural Decision Feedback Loop with Outcome Gates]

✨ Project Highlights

  • Outcome-linked decisions — connect each technical choice to measurable predictions and observed results.
  • In-band outcome gates — tool responses identify predictions that still need validation before the work is considered complete.
  • Portable storage — append-only JSONL keeps the log inspectable, easy to back up, and free from database setup.
  • Zero runtime dependencies — Python's standard library is enough to run the server.
  • MCP-native interface — expose decision tracking through JSON-RPC over stdio to MCP-compatible clients.
  • Technology feedback — aggregate validated outcomes to inform future technology choices.

🧰 Technical Stack

LayerTechnology
ProtocolModel Context Protocol over JSON-RPC 2.0
RuntimePython 3.10+
StorageAppend-only JSONL file
PackagingPyPI / Hatchling
TestingBuilt-in self-test command
LicenseMIT

🔄 Architecture

mermaid
flowchart TD    A[MCP client or AI agent] --> B[JSON-RPC over stdio]    B --> C[mcp-server-decisions]    C --> D[Record decision]    C --> E[Attach prediction]    C --> F[Record outcome]    C --> G[Query decisions and technology history]    D --> H[(Append-only JSONL log)]    E --> H    F --> H    G --> H    F --> I[Validation status and accuracy]    I --> J[Future technical decisions]

📌 What It Provides

The server exposes four tools:

ToolPurpose
record-decisionStore the problem, chosen solution, alternatives, technologies, and predictions.
record-predictionAdd a measurable prediction to an existing decision.
record-outcomeRecord the observed result and classify the prediction as success, partial success, or failure.
query-decisionsSearch decisions by keyword, technology, domain, or result limit.

Example flow

text
Decide → Predict → Implement → Measure → Validate → Learn

A decision can produce an outcome-gate reminder such as:

json
{  "decision_id": "DEC-2026-0001",  "status": "OK",  "OUTCOME_GATE": "2 prediction(s) still lack outcomes."}

The reminder is a workflow signal, not a claim about adoption or measured impact. See the Outcome Gate Pattern for the design and trade-offs.

📊 Current Project Status

AreaStatus
Decision, prediction, and outcome trackingAvailable
Outcome-gate remindersAvailable
Technology performance reportAvailable
PyPI packagePublished as 1.0.2
External adoption metricsNot collected yet
Web UI and notificationsRoadmap

The project is early-stage. Contributions, examples from real projects, and feedback are welcome.

🚀 Setup

Prerequisites

  • Python 3.10 or newer
  • An MCP-compatible client

Install from PyPI

bash
python3 -m pip install mcp-server-decisions

Run the self-test

bash
python3 -m pip install -e .python3 server.py --selftest

Configure an MCP client

json
{  "mcpServers": {    "mcp-server-decisions": {      "command": "mcp-server-decisions"    }  }}

For client-specific configuration and troubleshooting, see Client Integrations. For a guided first run, see Quick Start.

Configure the log path

By default, the server writes to ~/.local/share/mcp-decisions/decisions_log.json. Set MCP_DECISIONS_LOG_PATH to use another file:

bash
MCP_DECISIONS_LOG_PATH=/path/to/decisions.json mcp-server-decisions

🗂️ Project Structure

text
.├── server.py                         # MCP server and tool implementations├── scripts/                          # Reports derived from the decision log├── docs/                             # Architecture, examples, and integrations├── .github/ISSUE_TEMPLATE/           # Reusable bug and feature templates├── CONTRIBUTING.md                   # Development and contribution workflow├── QUICKSTART.md                     # Guided setup and first decision├── server.json                       # MCP Registry metadata├── pyproject.toml                    # PyPI package metadata└── LICENSE                           # MIT license

📚 Documentation

🛣️ Roadmap

  • Core decision, prediction, and outcome tracking
  • Outcome-gate reminders
  • Technology performance reporting
  • Web UI for browsing and searching decisions
  • Notifications for low prediction accuracy
  • Reusable decision templates and domain patterns

🤝 Contributing

Issues and pull requests are welcome. Start with CONTRIBUTING.md, run the self-test, and explain the problem or use case in the pull request.

📄 License

MIT © 2026 Roberto Nascimento

Source: README.md at commit e8963a0

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts