mcp-local-dev
๐ MCP Local Dev
Let AI handle your local development environments while you focus on building amazing things!
<div align="center"> <video src="https://github.com/user-attachments/assets/cec79cde-0881-4773-a289-49bb86f14449" width="1920" /> </div>โจ What's This?
A local development environment manager that lets LLMs configure and manage dev environments for you. Built for AI assistants to handle environment setup, dependency management, and testing automatically.
๐ Quick Start
- Install Claude Desktop from the MCP quickstart guide
- Add the following to your Claude Desktop config:
- Point Claude at any GitHub repository and ask it to set up a dev environment!
- Have it run the tests and report coverage!
- Have a discussion, poke around or clean it up if you're done!
๐ฏ Core Features
Test Runners
- ๐งช pytest with coverage reporting
- โก๏ธ Vitest with V8 coverage
- ๐ Jest with detailed coverage metrics
- ๐ฌ unittest with coverage support
Runtime Support
- ๐ Python with UV package management
- ๐ฆ Node.js with NPM
- โก๏ธ Bun runtime and package manager
Environment Management
- ๐๏ธ Automatic runtime detection
- ๐ฆ Smart package manager selection
- ๐ Sandboxed environments
- ๐งน Automatic cleanup
- ๐ GitHub repository support
- ๐ Local project support
Developer Experience
- ๐ฏ Zero configuration needed
- ๐ Structured JSON logging
- ๐ Detailed test coverage metrics
- ๐ก๏ธ Isolated environments per project
๐ซ Under the Hood
- MCP Server Spec: Full compliance with comprehensive test coverage
- Path Isolation: Each environment is neatly contained
- System Integration: Uses your installed runtimes (Python, Node.js, Bun)
- Package Management: Automatically selects fastest available package manager for each runtime
- Network Access: Full connectivity for package management
- Process Handling: Native system processes for maximum speed
๐ Behind the Scenes
Development involved rigorous testing across multiple models:
- ๐ Claude 3.5 Sonnet: Crushed it
- ๐ช DeepSeek V3: Strong performer
- ๐ O1: Not great, Bob
๐ Key Takeaways
This project demonstrates the incredible potential of AI-assisted development:
- ๐โโ๏ธ Lightning fast prototyping
- ๐ฏ That last 15% is still where the real work happens
- ๐ Great example of real-world AI development patterns
๐ญ A Note on AI & Development
As someone who's spent years in software development, what's exciting about this project isn't just automation - it's the shift in how we interact with development environments. The value isn't in replacing human developers, but in reducing cognitive overhead. When AI handles environment setup and maintenance, developers can focus more on architecture and design decisions.
This project demonstrates that AI isn't just about generating code - it's about managing complexity. By handling the mechanical aspects of development environment setup, we free up mental bandwidth for the creative and architectural challenges that truly need human insight.
๐ Big Thanks To
- UV - Speed demon Python package installer
- Aider - Your AI pair programming buddy
- Anthropic - For Claude's assistance in development
- Helix Editor - Modal editing at its finest
๐ License
MIT
Create sandboxed local development environments directly from Github and execute tests, see coverage and more! Supports Python, Node, Bun and many test runners.