git-mcp-server vs filesystem
Side-by-side comparison to help you pick between these two MCP servers.
git-mcp-server by cyanheads | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 215 | ★ 85,748 |
| 30d uses | — | — |
| Score | 52 | 77 |
| Official | — | ✓ |
| Categories | Developer ToolsAI / LLM ToolsFile System | File SystemDeveloper ToolsProductivity |
| Language | TypeScript | TypeScript |
| Last commit | this month | this month |
git-mcp-server · Summary
A comprehensive MCP server that provides AI agents with 28 Git operations including clone, commit, branch management, and more.
filesystem · Summary
A feature-rich MCP server for filesystem operations with dynamic directory access control.
git-mcp-server · Use cases
- AI-assisted code review and commit management
- Automated repository maintenance and version control
- Integration of Git operations into AI agent workflows
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-mcp-server · Install
Installation
The git-mcp-server can be installed and run with either Node.js or Bun:
# Node.js
npx @cyanheads/git-mcp-server@latest
# Bun
bunx @cyanheads/git-mcp-server@latestClaude Desktop Configuration
Add the following to your Claude Desktop config file (claude_desktop_config.json):
{
"mcpServers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["@cyanheads/git-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"GIT_BASE_DIR": "~/Developer/",
"LOGS_DIR": "~/Developer/logs/git-mcp-server/",
"GIT_USERNAME": "your-username",
"GIT_EMAIL": "your-email",
"GIT_SIGN_COMMITS": "true"
}
}
}
}For Bun users, replace the command with bunx.
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.