#!/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-server
CLI Usage
# Start the MCP server
pvc-mcp
# Or as a Python module
python -m pvc_mcp
Claude 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 history
License
Apache 2.0 — see LICENSE file.
Metadata
Release files for pvc-mcp-server 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pvc_mcp_server-0.2.0.tar.gz | 31.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pvc_mcp_server-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.3 kB
Release files / pvc_mcp_server-0.2.0.tar.gz
| Download URL | pvc_mcp_server-0.2.0.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b6670092e1dc51571ac3a361331831203d42820520d04db4086233e1ce2dfe2
|
|
BLAKE2b-256 checksum How to use checksums |
fe8fa73b3ff766efa3cdbf1d560d49d76a93aff34f26e05428a58a6be12ecaef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / pvc_mcp_server-0.2.0-py3-none-any.whl
| Download URL | pvc_mcp_server-0.2.0-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
472800d4cdec095a2945f37e9e2eeb5b3a6bec9991373d6582abfb5d3de58059
|
|
BLAKE2b-256 checksum How to use checksums |
9cdac42d70ff4819b1f4af2aae564e57e1b1dc620c14eeb317246eaa248b1e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|