The Dev-Kit MCP Server enables secure, authorized operations within a scoped root directory, tailored for AI-assisted development tools and VS-Code copilot integration.
- File Operations: Create, move, rename, delete, and edit files or directories within the authorized root directory.
- Git Operations: Perform Git actions including status, add, commit, push, pull, checkout, and diff for repository management.
- Makefile Operations: Execute Makefile targets securely within the project.
- MCP Integration: Turn any codebase into an MCP-compliant system for AI-assisted development workflows.
- Extensibility: Add new tools for code editing and other operations as needed.
Integrates with Codecov for code coverage reporting and analysis, displaying project test coverage metrics through the Codecov badge.
Provides integration with GitHub for CI/CD workflows through GitHub Actions, enabling automated testing and code quality checks as shown by the CI and code-checks badges.
Enables distribution through PyPI, allowing the package to be installed via pip and displaying version and Python compatibility information.
Incorporates Ruff for Python code linting and formatting, ensuring code quality and consistency as indicated by the Ruff badge.
Provides compatibility with Ubuntu operating system, allowing the MCP server to run on Ubuntu environments.
Dev-Kit MCP Server
A Model Context Protocol (MCP) server targeted for agent development tools, providing scoped authorized operations in the root project directory. This package enables secure execution of operations such as running makefile commands, moving and deleting files, with future plans to include more tools for code editing. It serves as an excellent MCP server for VS-Code copilot and other AI-assisted development tools.
Features
- 🔒 Secure Operations: Execute operations within a scoped, authorized root directory
- 🛠️ Makefile Command Execution: Run makefile commands securely within the project
- 📁 File Operations: Move, Create, Rename and Delete files within the authorized directory
- 🔄 Git Operations: Perform Git operations like status, add, commit, push, pull, and checkout
- 🔌 MCP Integration: Turn any codebase into an MCP-compliant system
- 🤖 AI-Assisted Development: Excellent integration with VS-Code copilot and other AI tools
- 🔄 Extensible Framework: Easily add new tools for code editing and other operations
- 🚀 Fast Performance: Built with FastMCP for high performance
Installation
Usage
Running the Server
The --root-dir
parameter specifies the directory where file operations will be performed. This is important for security reasons, as it restricts file operations to this directory only.
Available Tools
The server provides the following tools:
File Operations
- create_dir: Create directories within the authorized root directory
- edit_file: Edit files by replacing lines between specified start and end lines with new text
- move_dir: Move files and directories within the authorized root directory
- remove_file: Delete files within the authorized root directory
- rename_file: Rename files and directories within the authorized root directory
Git Operations
- git_status: Get the status of the Git repository (changed files, untracked files, etc.)
- git_add: Add files to the Git index (staging area)
- git_commit: Commit changes to the Git repository
- git_push: Push changes to a remote Git repository
- git_pull: Pull changes from a remote Git repository
- git_checkout: Checkout or create a branch in the Git repository
- git_diff: Show diffs between commits, commit and working tree, etc.
Makefile Operations
- exec_make_target: Run makefile commands securely within the project
Example Usage with MCP Client
Development
Setup
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
dev-kit-mcp-server
Related MCP Servers
- MIT License
- JavaScriptMIT License
- Python
- RustMIT License