TPC Server - Model Context Protocol (MCP) Implementation
Thoughts Plans Changelog is an MCP compliant server for coding with AI agents
suttonwilliamd
README
TPC Server - Model Context Protocol (MCP) Implementation
A production-ready MCP server for tracking AI team coordination through Thoughts, Plans, and Changelog (TPC) entries. Built with SQLAlchemy async and FastMCP, optimized for software development collaboration.
Features
✅ Structured Collaboration
- Track decision-making (
Thoughts
), task coordination (Plans
), and progress (Changelog
) - Dependency management for complex workflows
- Uncertainty flagging for critical design decisions
✅ Performance Optimized
- Async SQLAlchemy 2.0 with connection pooling
- Time-ordered UUIDs (UUID7) for chronological traceability
- Cached queries with 5-minute TTL
✅ Developer-Friendly
- Full MCP interface compliance
- REST-like resource endpoints for data access
- Comprehensive Pydantic validation
Quick Start
# 1. Clone repository
git clone https://github.com/suttonwilliamd/tpc-server.git
cd tpc-server
# 2. Install dependencies
pip install -r requirements.txt
# 3. Run server (SQLite auto-created)
uvicorn main:mcp --reload --port 8000
Core Concepts
1. Thoughts
# Log design decisions or uncertainties
create_thought(
content="Choosing React over Vue for frontend",
plan_id="pl_frontend_123",
uncertainty_flag=True
)
2. Plans
# Define tasks with dependencies
create_plan(
description="Implement user authentication",
dependencies=["pl_database_setup", "pl_security_audit"]
)
3. Changelog
# Track implementation progress
log_change(
plan_id="pl_auth_456",
description="Added JWT token endpoints",
thought_ids=["th_design_decision_789"]
)
Advanced Usage
AI Agent Integration
# Example pre-commit hook validation
modified_files = get_git_changes()
tpc_entries = query_tpc_server()
for file in modified_files:
if not has_corresponding_tpc_entry(file, tpc_entries):
raise Exception(f"Missing TPC entry for {file}")
API Reference
Endpoint | Method | Description |
---|---|---|
/mcp/thoughts |
POST | Create new thought |
/mcp/plans |
POST | Define new plan with dependencies |
/mcp/changelog |
POST | Log implementation changes |
/mcp/plans/{id} |
GET | Get plan details with dependencies |
Architecture
graph TD
A[Thoughts] -->|reference| B(Plans)
B -->|depend_on| B
C[Changelog] -->|link| A
C -->|track| B
Production Setup
# Optimal deployment
uvicorn main:mcp \
--host 0.0.0.0 \
--port 8000 \
--workers 1 \ # Recommended for SQLite
--proxy-headers
Contributing
- Fork repository
- Create feature branch (
git checkout -b feature/tpc-enhancements
) - Commit changes (
git commit -am 'Add new feature'
) - Push branch (
git push origin feature/tpc-enhancements
) - Open pull request
Inspired by the Awesome MCP Servers community . For MCP client implementations, see FastMCP documentation.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.