Skip to main content

#!/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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvc_mcp_server-0.2.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvc_mcp_server-0.2.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file pvc_mcp_server-0.2.0.tar.gz.

File metadata

  • Download URL: pvc_mcp_server-0.2.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pvc_mcp_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3b6670092e1dc51571ac3a361331831203d42820520d04db4086233e1ce2dfe2
MD5 02467577904f8237d8dfde2719bd13ee
BLAKE2b-256 fe8fa73b3ff766efa3cdbf1d560d49d76a93aff34f26e05428a58a6be12ecaef

See more details on using hashes here.

File details

Details for the file pvc_mcp_server-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pvc_mcp_server-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pvc_mcp_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 472800d4cdec095a2945f37e9e2eeb5b3a6bec9991373d6582abfb5d3de58059
MD5 e7461c7b95afa972e800a5ffd0b13dd8
BLAKE2b-256 9cdac42d70ff4819b1f4af2aae564e57e1b1dc620c14eeb317246eaa248b1e63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page