MCP ExplorerExplorer

Mcp Commit Story

@wiggitywhitneyon a year ago
5 MIT
FreeCommunity
AI Systems
mcp-commit-story is a a Model Context Protocol (MCP) server designed to capture and generate engineering journal entries within a code repository. The journal captures technical progress, decision-making context, and emotional tone, with the goal of producing content that can later be reused for storytelling (e.g., blog posts, conference talks).

Overview

What is Mcp Commit Story

mcp-commit-story is a Model Context Protocol (MCP) server designed to capture and generate engineering journal entries within a code repository. It records technical progress, decision-making context, and emotional tone to create reusable storytelling content.

Use cases

Use cases include generating content for blog posts, preparing for conference talks, and analyzing engineering trends and emotional contexts behind decisions.

How to use

To use mcp-commit-story, integrate it with compatible AI agents via the Model Context Protocol (MCP). Users can also operate it manually through the CLI, but the primary workflow is agent-driven.

Key features

Key features include capturing technical progress, decision-making context, and emotional tone. It transforms changelogs into engaging narratives, making it easier to create blog posts and conference talks.

Where to use

mcp-commit-story can be used in software development environments, particularly in teams that value documentation and storytelling in their engineering processes.

Content

MCP Commit Story: Your Engineering Journey, Remembered

What is MCP Commit Story?

MCP Commit Story is a personal engineering journal for developers who want to capture not just what they built, but how it felt and why it mattered.

It’s a tool-in-progress, built by and for developers who care about the story behind the code.

MCP Commit Story runs as a Model Context Protocol (MCP) server, designed to work hand-in-hand with AI agents. These agents help gather and summarize the real context from your development workflow—so your journal entries are always grounded in what actually happened.


Why Build This?

As a developer, it’s easy to forget the “why” behind your work—what challenged you, what you learned, and how you grew.
MCP Commit Story helps you:

  • Capture the narrative: Each commit becomes a journal entry, recording not just the technical changes, but the decisions, frustrations, and small wins along the way.
  • Remember how it felt: The journal includes mood and emotional context, so you can look back and see not just what you did, but how you experienced it.
  • Surface stories and insights: By collecting real context from your workflow (AI Agent chat, terminal, code changes, commit messages), you can spot threads of challenge and triumph—perfect for blog posts, conference talks, or just understanding your own growth (no small thing!)
  • Support retrospectives and reviews: Summaries and insights make it easier to reflect, ask for career advancement, or explain why certain choices were made.

What Does a Day Look Like?

Here’s an example daily summary, generated from real sample data:

# 2025-05-28-daily.md

## Summary
A productive day focused on implementing the on-demand directory creation pattern and 
completing major architectural changes. The developer created an intelligent task 
archival system that reduced the active tasks.json file from 275KB to 62KB, addressing 
file size concerns. Task 25 was completed, implementing the MCP-first architecture 
decision by eliminating operational CLI commands. The day included multiple commits for 
on-demand directory creation, comprehensive test updates, and task management improvements.

## Key Accomplishments
The developer solved a practical file size problem by creating an archival system for 
completed tasks. After experiencing issues with Taskmaster MCP tools (resolved by 
refreshing), the developer created `scripts/archive_completed_tasks.py` to automatically 
archive complete task units, reducing the active task file significantly.

The architectural decision from Task 25 was implemented - removing operational CLI 
commands (`new-entry`, `add-reflection`) while keeping setup commands, and renaming the 
entry point to `mcp-commit-story-setup`. This reflects the insight that journal 
operations require AI analysis that humans cannot meaningfully perform manually.

Multiple commits advanced the on-demand directory creation pattern, replacing upfront 
directory creation with just-in-time creation using the `ensure_journal_directory` 
utility function.

## Technical Progress (Detailed Implementation)
- **Task Archival System**: Created `scripts/archive_completed_tasks.py` with validation 
  logic ensuring complete task units (main task + all subtasks marked "done") before 
  archival
- **File Size Optimization**: Reduced `tasks/tasks.json` from 275KB to 62KB, archived 
  12 complete task units while preserving 12 active tasks
- **Architectural Implementation**: Completed Task 25 - eliminated operational CLI 
  commands, renamed entry point to `mcp-commit-story-setup`, updated MCP server with 
  proper tool registration
- **Directory Pattern Implementation**: Completed on-demand directory creation pattern 
  with `ensure_journal_directory` utility, comprehensive TDD coverage, and removal of 
  all upfront directory creation logic

## Challenges Overcome
- **Taskmaster MCP Tool Issues**: Experienced timeout issues with Taskmaster MCP tools, 
  resolved by refreshing the connection
- **Import Path Complexities**: Encountered Python import issues during TDD 
  implementation requiring PYTHONPATH configuration and test structure adjustments
- **Test Coordination**: Required careful updates across CLI tests, integration tests, 
  and documentation to maintain consistency through architectural changes

## Learning & Insights
- **Psychology of Progress**: Visual task completion provides significant psychological 
  motivation - the developer noted satisfaction in seeing the task list shrink
- **File Size Impact**: Large task files create practical problems - the 275KB to 62KB 
  reduction addressed real usability issues
- **AI Tool Quality**: Switching to Claude 4 Sonnet provided dramatically better 
  development partnership and problem-solving capabilities

## Discussion Highlights
- **Human**: "Something went awry and the engineering spec got to be 6000+ lines long"
- **Human**: "Tbh it is really satisfying to see my list of open tasks get smaller. 
  I was already wishing for a way to visually see them getting checked off"
- **Human**: "I'm disappointed that the subtask plans in task 4 are not as detailed as 
  the ones in the planning doc"

## Developer Reflections
- **17:47**: "I switched to claude-4-sonnet and omg it is so much better, sweet baby 
  jesus"
- **18:47**: "I really like the discussion notes that Claude 4 Sonnet is capturing. 
  It adds a lot of color and interest. I want the most interesting of these to bubble 
  up into the daily summary. I also want the daily summary to include ALL manual 
  reflections, ver betim. These are gold."

How Does It Work?

  • Background Generation: Git commits automatically trigger journal entry creation that happens silently in the background. No workflow interruption, no waiting.
  • Rich Context Collection: The system automatically pulls in commit messages, code changes, terminal commands, AI chat history, and your project’s README, building a rich, evidence-based journal entry where the AI always understands your project’s goals.
  • Intelligent Chat Parsing: Uses git diff content to intelligently filter AI chat history, finding only the conversations relevant to your code changes.
  • User Control: While generation happens automatically, you control the context. Add manual reflections or capture your AI assistant’s current knowledge directly into your journal.
  • No Hallucinated Summaries: Everything in your journal is grounded in real actions and conversations.
  • Mood and Emotion: The journal reflects your mood and tone based on how you talk to the AI agent or what you write in commit messages—so if you vent, celebrate, or reflect, those feelings are captured authentically.
  • Automatic Summaries: Daily summaries are generated automatically, with weekly, monthly, quarterly, and yearly summaries planned to help you spot patterns, track progress, and find the stories worth sharing.

For a technical deep dive into the architecture, workflow, and engineering decisions behind MCP Commit Story, see the Technical Documentation which includes:

For the complete engineering specification, see engineering-mcp-journal-spec-final.md.


The Story in Action

Bonnie, a developer, used MCP Commit Story for several months. When her manager asked about a past architecture decision, she didn’t have to rely on memory or dig through old tickets. Her journal had the exact discussion, the alternatives considered, and the rationale—complete with the commands and tests that backed it up.

Later, Bonnie used her journal to write a conference talk. She found not just the technical steps, but the frustrations, breakthroughs, and lessons learned along the way. Her talk resonated because it was grounded in real experience, not just a list of features.

Over time, Bonnie’s journal became a resource for performance reviews, onboarding new teammates, and even her own career growth. The value wasn’t in any single entry, but in the cumulative story of her engineering journey.


Background Generation: Capture Now, Process Silently

MCP Commit Story uses a git hook to automatically generate journal entries and daily summaries in the background after each commit. The system collects git context, extracts relevant AI chat history, loads recent journal entries, and includes your project’s README to provide comprehensive context to a fresh AI agent that always understands your project’s purpose and goals. This generates rich, contextually-aware journal entries without interrupting your workflow. You maintain full control by adding manual reflections or capturing your AI assistant’s current context when needed.


Why Use It?

  • For yourself:

    • Remember why you made certain choices, and how you overcame obstacles.
    • See your growth as a developer, not just a list of commits.
    • Reflect on your work with more honesty and clarity.
  • For content creation:

    • Identify threads of challenge and triumph to turn into blog posts, talks, or portfolio pieces.
    • Capture the real story behind your technical journey—perfect for developer advocacy, teaching, or sharing with your future self.
  • For retrospectives and reviews:

    • Quickly find evidence of your impact, challenges, and decisions.
    • Make performance reviews, career advancement, or team retrospectives more meaningful and less stressful.

Project Status

This project is under active development by a solo developer.
The core journal engine, context collection, and summary generation are being built and tested with a TDD-first approach.
Installation and CLI instructions will be added as the tool matures.


Getting Started

MCP Commit Story is still in early development and not yet ready for general use. If you’re interested in engineering storytelling, developer experience, or just want to follow the project’s progress, feel free to watch the repo or open an issue with your thoughts, questions, or suggestions. Your feedback and curiosity are welcome as the project evolves!


License

MIT


MCP Commit Story: Because your engineering work is more than just code.

Technical Details

Start Here

API & Integration

Core System Documentation

  • Journal Core - Journal entry generation system, AI integration, and content guidelines
  • Context Collection - Data gathering system, type definitions, and performance optimization
  • Reflection Core - Manual reflection addition with validation and telemetry
  • Journal Behavior - Entry structure, configuration options, and generation workflow

Observability & Monitoring

  • Telemetry - Comprehensive OpenTelemetry integration and monitoring
  • Structured Logging - JSON logging with trace correlation and sensitive data protection
  • Multi-Exporter - OpenTelemetry exporter configuration with environment precedence

Development & Testing

  • Testing Standards - Complete testing strategy (532 tests, 80% coverage, TDD patterns)
  • Server Setup - MCP server configuration and deployment guide

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers