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 "Install 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-toolsShow 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
๐ 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucaskristina/mcp-dev-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server