filesystem vs git
Side-by-side comparison to help you pick between these two MCP servers.
filesystem by modelcontextprotocol | git by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 85,748 | ★ 85,748 |
| 30d uses | — | — |
| Score | 77 | 75 |
| Official | ✓ | ✓ |
| Categories | File SystemDeveloper ToolsProductivity | Developer ToolsFile SystemProductivity |
| Language | TypeScript | TypeScript |
| Last commit | this month | this month |
filesystem · Summary
A feature-rich MCP server for filesystem operations with dynamic directory access control.
git · Summary
A comprehensive MCP server for Git operations with status viewing, diffing, commits, and branch management.
filesystem · Use cases
- Enable AI models to read and write project files during development
- Allow Claude or other MCP clients to browse and analyze codebases
- Provide secure sandboxed access to specific directories for content generation
git · Use cases
- AI-powered Git repository analysis and management
- Automated code review through diff examination
- Branch management and workflow automation
filesystem · Install
Installation
Using NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}Using Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code Extension
Click the installation buttons in the README to install directly in VS Code.
git · Install
Using uv (recommended)
When using [uv](https://docs.astral.sh/uv/) no specific installation is needed. Use [uvx](https://docs.astral.sh/uv/guides/tools/) to directly run the server:
uvx mcp-server-git --repository path/to/git/repoUsing PIP
Alternatively you can install mcp-server-git via pip:
pip install mcp-server-gitAfter installation, run it as:
python -m mcp_server_gitClaude Desktop Configuration
Add to your claude_desktop_config.json:
"mcpServers": {
"git": {
"command": "uvx",
"args": ["mcp-server-git", "--repository", "path/to/git/repo"]
}
}