dpr-mcp
Provides a collaboration interface over local Git repositories, enabling version control, change requests, reviews, approval workflows, conflict handling, and rollback with full provenance tracking.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dpr-mcpShow me all change requests requiring my review."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DPR Git-Backed MCP Collaboration Server
A standalone Model Context Protocol server that provides a safe, multi-agent, human-in-the-loop collaboration interface over a local Git repository.
Git remains the source of truth for files, commits, branches, diffs, and merge history. This server adds the collaboration control plane above it: identity, authorization, isolated workspaces, Change Requests, reviews, approval policy, conflict workflow, rollback, and provenance.
This is Phase 1: a standalone server, independently usable by Claude Code, VS Code agents, or any other MCP-compatible client. It has no dependency on the DPR multi-agent reasoning project.
Quick start
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
# Optional: configure who this server instance acts as. Defaults to
# human:$USER driving agent:claude-code.
export DPR_PRINCIPAL_ID=charan
export DPR_ACTOR_ID=claude-code
# Optional: where projects/workspaces/the collaboration DB live.
export DPR_REPOSITORY_ROOT=./data/projects
export DPR_WORKSPACE_ROOT=./data/workspaces
export DPR_DATABASE_URL=sqlite:///./data/dpr_mcp.db
dpr-mcpThe server speaks MCP over stdio. Point any MCP-compatible client (Claude
Code, an MCP Inspector, a custom client) at the dpr-mcp command.
Related MCP server: MCP Server
Example flow
create_project(project_id="demo", name="Demo Project")
create_workspace(project_id="demo") -> workspace_id
create_file(workspace_id, "notes.md", "# Hi")
create_change(workspace_id, rationale="Add notes") -> change_id
review_change(change_id, decision="APPROVED") # as a human reviewer
merge_change(change_id)
get_provenance(change_id)See examples/ for runnable scripts, including a multi-agent conflict
scenario (examples/multi_agent_demo.py, examples/conflict_demo.py).
Architecture
See docs/architecture.md for the full picture.
In short:
MCP Client
|
v
DPR MCP Server (identity, authz, workspaces, changes, reviews, policy,
| conflicts, provenance)
v
Git Repository (commits, branches, diffs, merge)Git is never reinvented: branches, commits, diffs, and merges are all
delegated to the real git CLI via a single GitRepository abstraction
(src/dpr_mcp/git/repository.py). Collaboration state Git doesn't model
(change requests, reviews, approvals, workspaces, policies) lives in a
small SQLite database (src/dpr_mcp/persistence/).
Security
File access is sandboxed to the configured project root: path traversal,
absolute paths, and symlink escapes are rejected (src/dpr_mcp/files/security.py).
Sensitive filenames (.env, .pem, .key, *credentials*) are blocked by
default. See docs/security.md and
tests/security/ for the full threat model and the tests that enforce it.
Development
pytest # unit + integration + security + mcp tests
ruff check src tests
mypy srcPhase 2
Phase 2 (not implemented here) will make the existing DPR multi-agent
orchestrator (https://github.com/Skanda-P-R/Multi-Agent-Reasoning) an MCP
client of this server, so DPR's internal agents can inspect, create, modify,
review, and collaboratively integrate project artifacts through exactly this
interface, with Git still holding the version-control ground truth and DPR
handling reasoning/orchestration.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol server that enables Large Language Models to interact with Git repositories through a robust API, supporting operations like repository initialization, cloning, file staging, committing, and branch management.283,703232Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceProvides remote filesystem operations, git repository management, and process execution capabilities for AI agents through the Model Context Protocol.
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides Git version control operations as structured tools for AI coding agents. It enables LLMs to programmatically manage repositories through actions like committing changes, rolling back code, and comparing diffs.10Apache 2.0
- AlicenseCqualityDmaintenanceA Model Context Protocol server that provides 29 Git operations and advanced workflows, enabling AI assistants and developers to safely manage version control.304521ISC
Related MCP Connectors
Git-backed platform for skills, tools, and context for AI agents
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Shared, permission-aware company context for AI agents, with provenance, approvals and audit.
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/Charan-Sharan/dpr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server