DeltaMCP
Verified Safeby bajpainaman
Overview
Enhances AI assistants with syntax-highlighted and colorized Git diffs, blame, and grep output via Model Context Protocol.
Installation
uv --directory /path/to/DeltaMCP run server.pyEnvironment Variables
- GIT_CONFIG_GLOBAL
Security Notes
The server demonstrates strong security practices. Input validation is rigorously applied to file paths (preventing path traversal) and commit ranges (using regex patterns). Grep tools are whitelisted to prevent arbitrary command execution. Subprocess execution (`asyncio.create_subprocess_exec`) is used with command lists, not shell strings, mitigating command injection. The server operates over STDIO, minimizing network attack surface, and generated HTML files for browser viewing are local (`file://` URLs). No hardcoded secrets were found. Logging is directed to stderr to prevent interference with STDIO communication.
Similar Servers
chunkhound
Provides local-first codebase intelligence, extracting architecture, patterns, and institutional knowledge for AI assistants.
git-mcp-server
A Model Context Protocol (MCP) server that provides Git-specific tools and resources for AI/LLM agents to interact with version control systems.
tenets
Provides intelligent, token-optimized code context and automatically injects guiding principles to AI coding assistants for enhanced understanding and consistent interactions.
DiffPilot
Automate local AI-powered code review, commit message generation, secret scanning, and test suggestions before pushing code.