Git Server
Developer ToolsGit repository operations — clone, commit, diff, log, branch management and more.
Author
Anthropic
Category
Developer Tools
GitHub Stars
79,000+
Clients
2 supported
Installation
Run this command to install:
npx -y @modelcontextprotocol/server-git Sample Configuration
Add this to your MCP client configuration file (e.g., claude_desktop_config.json for Claude Desktop):
{
"mcpServers": {
"git": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-git"
]
}
}
} Use our MCP Manifest Generator to build complete configurations visually, or the MCP Config Validator to check your existing config.
Compatible Clients
Details
| Server ID | git |
| Author | Anthropic |
| Category | Developer Tools |
| Compatible With | Claude Desktop, Cursor |
| Tags | gitversion-controlofficial |
| GitHub | https://github.com/modelcontextprotocol/servers |
| GitHub Stars | 79,000+ |
About Git Server
Git Server is a Model Context Protocol (MCP) server created by Anthropic. It enables AI assistants to interact with Git capabilities.
MCP (Model Context Protocol) is an open standard that allows AI models to securely connect to external tools and data sources. By installing Git Server, you give your AI assistant the ability to perform real actions through a standardized interface, rather than just generating text about them.
This server is compatible with Claude Desktop, Cursor and has 79,000+ stars on GitHub. It falls under the "Developer Tools" category of MCP servers.
To get started, use our MCP Manifest Generator to create a complete configuration, or validate your existing setup with the MCP Config Validator.
Other Developer Tools Servers
GitHub Server
GitHub
GitHub API integration for repository management, issues, pull requests, and more. Now a standalone package maintained by GitHub.
Docker MCP
Community
Manage Docker containers, images, volumes, and networks through natural language.
Sentry MCP
Sentry
Access Sentry error tracking data. Search issues, view stack traces, and analyze error trends.
Popular MCP Servers
Filesystem Server
Anthropic · 79,000+ stars
Secure file operations with configurable access controls. Read, write, and manage files and directories.
GitHub Server
GitHub · 16,000+ stars
GitHub API integration for repository management, issues, pull requests, and more. Now a standalone package maintained by GitHub.
PostgreSQL Server
Anthropic · 79,000+ stars
Read-only access to PostgreSQL databases with schema inspection and query execution. Part of the official MCP servers collection.
Related Tools
FAQ
How do I install Git Server?
Run "npx -y @modelcontextprotocol/server-git" in your terminal. Then add the server configuration to your MCP client's config file. For Claude Desktop, this is typically located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows.
What clients work with Git Server?
Git Server is compatible with Claude Desktop, Cursor. Each client has its own configuration file format, but the MCP server setup is similar across all of them.
What can I do with Git Server?
Git repository operations — clone, commit, diff, log, branch management and more. Once configured, your AI assistant can interact with these capabilities through natural language commands, making it possible to perform real actions directly from your AI chat interface.