DevToolkit MCP Server
Provides tools for interacting with Git repositories, enabling status checks, commit history, diffs, blame annotations, branch listing, and commit details.
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., "@DevToolkit MCP Servershow me the current git status"
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.
DevToolkit MCP Server
A production-quality Model Context Protocol (MCP) server that gives AI assistants like Claude 22 powerful developer tools across 5 domains.
Built with TypeScript, strict types, Zod validation, and clean modular architecture.
Features
š File Tools (6)
Tool | Description |
| Read file contents with optional line range |
| Write/append to files, auto-creates directories |
| List files with metadata (size, modified date) |
| Regex search across files with glob patterns |
| File metadata: size, timestamps, permissions |
| Delete files or directories (recursive optional) |
š§ Git Tools (6)
Tool | Description |
| Working tree status, branch info, ahead/behind |
| Commit history with author, date, message |
| Diff between commits, branches, or working tree |
| Line-by-line authorship for any file |
| List all local and remote branches |
| Full diff and metadata for a specific commit |
š Code Analysis Tools (6)
Tool | Description |
| Cyclomatic complexity, nesting depth, function count |
| Find TODO/FIXME/HACK comments across a codebase |
| Code vs comment vs blank line breakdown |
| Identify programming language from file extension/shebang |
| Detect duplicate code blocks across files |
| Extract and categorize all import statements |
š HTTP Tools (4)
Tool | Description |
| Full HTTP client: GET/POST/PUT/PATCH/DELETE with headers/body |
| Fetch and parse JSON with optional dot-path extraction |
| Batch URL health check with response times |
| Download files from URLs to local paths |
š» System Tools (6)
Tool | Description |
| OS, CPU, memory, Node version, uptime |
| Read environment variables (sensitive values auto-masked) |
| Execute shell commands (allowlisted for safety) |
| Running processes with CPU/memory usage |
| Disk usage for directories |
| Network interfaces and IP addresses |
Related MCP server: AiDD MCP Server
Installation
git clone https://github.com/your-username/devtoolkit-mcp
cd devtoolkit-mcp
npm install
npm run buildUsage with Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"devtoolkit": {
"command": "node",
"args": ["/absolute/path/to/devtoolkit-mcp/dist/index.js"]
}
}
}Usage with Cursor / VS Code
Same pattern ā point the MCP server config to dist/index.js.
Development
npm run dev # Run with tsx (no build step)
npm run build # Compile TypeScript
npm run lint # ESLintAdvanced MCP Protocol Features
Beyond tools, this server implements the full 2025-06-18 MCP specification:
š Resources
Files are exposed as browsable MCP resources ā clients (e.g. Claude Desktop) can list, read, and subscribe to changes.
Paginated listing with cursor-based pagination (50 files/page)
Resource templates:
file:///{path}for dynamic file accessSubscriptions: clients receive
notifications/resources/updatedwhen a file changes after a write/deleteList-changed notifications: resource list updates after any file mutation
Annotations: every resource includes
audience,priority, andlastModified
š Logging
Structured log notifications sent to the client for every tool call:
8 RFC 5424 severity levels:
debugāemergencyClient can set minimum log level via
logging/setLevelLogs include tool name, args preview, status, and errors
Sensitive values never logged
š Completion
Autocomplete for file paths in resource URI templates:
Triggered when client requests
completion/completeon aref/resourceReturns matching file paths up to 20 suggestions with
hasMoreflag
š£ļø Elicitation
Servers request structured user input before destructive operations:
write_file: if the target file exists, asks user to confirm overwrite (with checkbox UI)delete_file: always asks user to confirm + optionally provide a reasonFalls back gracefully if client doesn't support elicitation (proceeds without prompt)
š¤ Sampling
The server can ask the client's LLM to generate completions:
sampleFromClient()helper exported for use in toolsSpecifies model preferences (prefers Claude Sonnet, falls back to any Claude)
Gracefully no-ops if client doesn't support sampling
Architecture
src/
āāā index.ts # MCP server, capabilities, tool routing, elicitation, sampling
āāā resources.ts # Resources: list, read, subscribe, completion, pagination
āāā tools/
ā āāā files.ts # File system tools
ā āāā git.ts # Git integration (simple-git)
ā āāā code-analysis.ts # Static analysis tools
ā āāā http.ts # HTTP client tools (axios)
ā āāā system.ts # OS/system tools
āāā utils/
āāā errors.ts # Typed error classes, helpers
āāā logger.ts # Structured log notifications (RFC 5424)Key design decisions:
Zod validation on every tool input ā no silent failures
Typed error classes with error codes for structured debugging
Security:
run_commandhas an explicit allowlist; env vars auto-mask secretsCross-platform: works on Windows, macOS, and Linux
Tech Stack
@modelcontextprotocol/sdkā MCP protocolsimple-gitā Git operationsaxiosā HTTP clientfast-globā File pattern matchingzodā Runtime schema validationTypeScript (strict mode)
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared control plane for AI coding agents ā tasks, memory, decisions, file locks. 12 tools.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Git-backed platform for skills, tools, and context for AI agents
Related MCP Servers
- FlicenseBqualityNot gradedmaintenanceTurns AI assistants into full-stack software engineers with 36 tools for cognitive reasoning, code validation, project scaffolding, and AI/IDE configuration generation across 130+ programming languages, databases, and frameworks.358 npm-
- AlicenseNot gradedqualityDmaintenanceProvides AI-driven development tools including file system operations, multi-language code analysis with tree-sitter, Git operations, code execution, and system information retrieval.MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for AI-driven development workflows including file system operations, code analysis, code execution, web fetching, and search.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage project analysis, code metrics, documentation, Git operations, code quality, and file organization through natural language commands.7 npm2MIT