mcp-server-decisions
š§ 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.
⨠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
Layer | Technology |
Protocol | Model Context Protocol over JSON-RPC 2.0 |
Runtime | Python 3.10+ |
Storage | Append-only JSONL file |
Packaging | PyPI / Hatchling |
Testing | Built-in self-test command |
License | MIT |
š Architecture
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:
Tool | Purpose |
| Store the problem, chosen solution, alternatives, technologies, and predictions. |
| Add a measurable prediction to an existing decision. |
| Record the observed result and classify the prediction as success, partial success, or failure. |
| Search decisions by keyword, technology, domain, or result limit. |
Example flow
Decide ā Predict ā Implement ā Measure ā Validate ā LearnA decision can produce an outcome-gate reminder such as:
{
"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
Area | Status |
Decision, prediction, and outcome tracking | Available |
Outcome-gate reminders | Available |
Technology performance report | Available |
PyPI package | Published as |
External adoption metrics | Not collected yet |
Web UI and notifications | Roadmap |
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
python3 -m pip install mcp-server-decisionsRun the self-test
python3 -m pip install -e .
python3 server.py --selftestConfigure an MCP client
{
"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:
MCP_DECISIONS_LOG_PATH=/path/to/decisions.json mcp-server-decisionsšļø Project Structure
.
āāā 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
Quick Start ā install and record a first decision.
Client Integrations ā configure MCP clients.
Detailed Examples ā JSON-RPC requests and responses.
Architecture & Design ā storage, IDs, scoring, and trade-offs.
Outcome Gate Pattern ā the reusable feedback-loop pattern.
Contributing ā propose fixes, features, and 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