mcp-dev-tools
Provides tools for interacting with Git repositories, enabling AI agents to perform version control operations such as checking status, viewing commit history and diffs, and listing branches.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-dev-tools Show me the last 5 commits"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-dev-tools
The most complete MCP server for developers β file operations, git integration, shell execution, and smart caching. Works with Claude Desktop, Cursor, and any MCP-compatible client.
β¨ Why mcp-dev-tools?
Most MCP servers give you one or two basic tools. mcp-dev-tools gives you a full developer toolkit with production-grade internals:
ποΈ File Tools β read, write, list, inspect with validation & caching
π Shell Tools β safe command execution with output capture
πΏ Git Tools β status, log, diff, branches without leaving your AI chat
β‘ LRU Cache β repeated file reads served instantly
π‘οΈ Built-in Validator β blocks dangerous commands and unsafe paths
π Structured Logging β clean, leveled logs that don't clutter stdio
Related MCP server: Code Buddy
π Quick Start
1. Clone & Install
git clone https://github.com/lucaskristina/mcp-dev-tools.git
cd mcp-dev-tools
npm install2. Add to Claude Desktop
Open your Claude Desktop config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following:
{
"mcpServers": {
"dev-tools": {
"command": "node",
"args": ["C:/path/to/mcp-dev-tools/src/index.js"]
}
}
}Restart Claude Desktop. You'll see the π icon confirming the server is connected.
3. Add to Cursor
In Cursor settings β MCP β Add Server:
{
"name": "dev-tools",
"command": "node",
"args": ["/path/to/mcp-dev-tools/src/index.js"]
}π οΈ Available Tools
File Operations
Tool | Description | Example Prompt |
| Read file contents with caching | "Show me the contents of src/app.js" |
| Write or overwrite a file | "Save this component to components/Card.jsx" |
| Recursive directory listing | "What files are in the src folder?" |
| Size, dates, permissions metadata | "When was package.json last modified?" |
Shell Execution
Tool | Description | Example Prompt |
| Execute shell commands safely | "Run the test suite" |
| View environment variables | "What's the NODE_ENV?" |
| List running processes | "What's currently running?" |
Git Integration
Tool | Description | Example Prompt |
| Working tree status | "What files did I change?" |
| Commit history | "Show me the last 10 commits" |
| Diff against HEAD or branch | "What changed since last commit?" |
| List local/remote branches | "What branches do we have?" |
π§ Configuration
Create an optional mcp-config.json in your project root:
{
"server": {
"maxConcurrentRequests": 10,
"requestTimeoutMs": 30000
},
"tools": {
"enableFileAccess": true,
"enableShellExecution": true,
"allowedPaths": ["./src", "./docs"]
},
"logging": {
"level": "warn"
}
}Option | Default | Description |
|
|
|
|
| Restrict file access to these directories |
|
| Disable to prevent command execution |
|
| Tool execution timeout |
π§ͺ Test It
After setup, try these prompts in Claude or Cursor:
"List all TypeScript files in my src directory"
"Show me what changed in git since yesterday"
"Run npm test and show me the output"
"Read my .env file and tell me which variables are set"ποΈ Architecture
src/
βββ index.js # Server entry point & tool registration
βββ lib/
β βββ logger.js # Structured logging (stderr, non-blocking)
β βββ config.js # Config loader with defaults & merging
β βββ cache.js # LRU cache (200 entries, 2min TTL)
β βββ validator.js # Path & command safety checks
β βββ metrics.js # Anonymous usage metrics (opt-out below)
β βββ utils.js # Shared helpers & error wrappers
βββ tools/
βββ file-tools.js # File system operations
βββ shell-tools.js # Command execution
βββ git-tools.js # Git repository toolsπ Anonymous Metrics
mcp-dev-tools collects anonymous usage metrics to help us improve the tool. This includes:
Node.js version and OS platform (no personal data)
Which tools are used most frequently
Error rates by tool type
To opt out, set the environment variable before starting:
MCP_NO_TELEMETRY=1 node src/index.jsOr add to your shell profile:
export MCP_NO_TELEMETRY=1We never collect file contents, command output, or any user data.
π€ Contributing
PRs welcome! Please read CONTRIBUTING.md first.
git clone https://github.com/lucaskristina/mcp-dev-tools
cd mcp-dev-tools
npm install
npm testContributors
Avatar | Name | Role |
π€ | alexkowalski | Core maintainer |
π€ | priya-dev | Git tools, caching |
π€ | t.brennan | Validator, security hardening |
π€ | lucaskristina-bot | CI/CD, releases |
π Changelog
v2.3.1 β 2025-06-18
π Fixed
git_diffon Windows paths with spacesβ‘ Improved cache TTL handling for large files
π Added
process_listtool
v2.3.0 β 2025-05-30
β¨ Added full git tools suite
π‘οΈ Validator now blocks 12 additional dangerous patterns
π Telemetry opt-out via
MCP_NO_TELEMETRY
v2.2.0 β 2025-04-12
β¨ LRU cache for file reads (2x faster repeated reads)
β¨
get_environmenttool with sensitive key filteringπ§ Config file support (
mcp-config.json)
π License
MIT Β© lucaskristina
Available Tools
9 toolsfile_infoB
Get metadata about a file or directory
Inputs: path (required).
get_environmentC
Get current environment variables (filtered for safety)
Inputs: filter.
git_branchesC
List local and remote branches
Inputs: remote, repoPath.
git_diffC
Show changes between commits, working tree, etc.
Inputs: staged, target, repoPath.
git_logC
Show commit history
Inputs: oneline, maxCount, repoPath.
list_directoryC
List contents of a directory
Inputs: path (required), recursive, showHidden.
process_listA
List currently running processes
Inputs: no named parameters.
run_commandB
Execute a shell command and return stdout/stderr
Inputs: command (required), cwd, env, timeoutMs.
write_fileC
Write or overwrite a file with given content
Inputs: path (required), content (required), createDirs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 9 tools
Each tool has a clear, distinct purpose: file operations (write, list, info), system operations (run command, env, processes), and git operations (log, diff, branches). No overlap between categories or within categories.
Most tools follow a verb_noun pattern in snake_case (write_file, list_directory, run_command, get_environment, git_log, git_diff, git_branches), but file_info and process_list are noun_noun, causing minor inconsistency.
9 tools is a reasonable size for a dev tools server covering file, system, and git operations. Not too few to be trivial nor too many to be overwhelming.
Significant gaps exist: missing file read, file delete, git add/commit/push, and other common dev operations. The set covers only a subset of typical workflows, likely causing agent failures for common tasks.
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personalβ¦
Official Duck Framework MCP server for AI-assisted development and project scaffolding.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoβ¦
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server with RESTful API that enables file operations, command execution, project management, and AI integration for remote development control with security features and real-time communication.39 npmMIT
- AlicenseCqualityDmaintenanceA comprehensive MCP server that provides AI assistants with tools for file system management, Git integration, and shell command execution. It features specialized code utilities for analysis, formatting, and linting to enhance development workflows within Claude Desktop.287MIT
- AlicenseCqualityDmaintenanceAn experimental MCP server that enables AI assistants to interact with VS Code workspaces through file operations, code execution, and Git management. It also provides tools for Docker integration, project scaffolding, and secure command execution using project-specific configurations.7622 npm3MIT
- AlicenseAqualityCmaintenanceA universal MCP server that provides AI agents with structured tools for filesystem, database, shell, and git operations, enabling seamless interaction with projects.19MIT