Read, search, and analyze Git repositories. View commit history, diffs, branches, and repository structure.
MCP (Model Context Protocol) servers extend Claude's capabilities with external tools and data sources. They provide access to databases, APIs, file systems, and more. Configure MCP servers in .mcp.json or add them via `claude mcp add` command.
Option 1 - CLI Command: claude mcp add git -- npx -y @anthropic-ai/mcp-server-git --repository /path/to/repo Option 2 - Add to .mcp.json Features: - View commit history and diffs - Search through code and commits - Analyze branch structures - Read file contents at any revision
{
"mcpServers": {
"git": {
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-server-git", "--repository", "/path/to/repo"]
}
}
}Manage Docker containers and images. List, start, stop containers, view logs, and inspect container configurations.