pvc-mcp-server
#!/usr/bin/env python3
-- coding: utf-8 --
""" Plan Version Control (PVC) MCP Server — Quick Start
A Git-like version control system for AI agent decision tracking. Traditional agents remember chat content. PVC agents remember the decision evolution process.
Installation
pip install pvc-mcp-serverCLI Usage
# Start the MCP server
pvc-mcp
# Or as a Python module
python -m pvc_mcpClaude Desktop Configuration
Add to your claude_desktop_config.json:
.. code-block:: json
{
"mcpServers": {
"pvc": {
"command": "python",
"args": ["-m", "pvc_mcp"]
}
}
}Python API
.. code-block:: python
from pvc_mcp import plan_commit, plan_log, plan_diff
# Commit a plan
result = plan_commit(
plan={"goal": "Build a blog system", "tasks": [...]},
message="Initial plan"
)
# View history
history = plan_log(limit=10)
# Compare versions
diff = plan_diff("v1", "v2")Core Concepts
PVC is like Git for AI agent plans:
============ =========== =========================== PVC Tool Git Analog Purpose ============ =========== =========================== plan_commit git commit Save a plan version plan_diff git diff Compare two versions plan_checkout git checkout Restore a historical version plan_branch git branch Create an experimental branch plan_merge git merge Merge branches (3-way) plan_log git log View decision history plan_tag git tag Mark milestones plan_stash git stash Temporarily shelve changes ============ =========== ===========================
Storage Structure
::
.plans/
├── HEAD # Current pointer
├── refs/heads/ # Branch references
├── refs/tags/ # Tag references
├── objects/ # Immutable plan snapshots
└── logs/ # Operation historyLicense
Apache 2.0 — see LICENSE file.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/096v/pvc-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server