mcp-local-dev

by txbm

๐Ÿš€ 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

  1. Install Claude Desktop from the MCP quickstart guide
  2. Add the following to your Claude Desktop config:
{ "servers": { "local_dev": { "command": "uvx", "args": [ "--from", "git+https://github.com/txbm/mcp-local-dev@main", "mcp-local-dev" ] } } }
  1. Point Claude at any GitHub repository and ask it to set up a dev environment!
<img width="636" alt="Screenshot 2025-01-06 at 10 06 14โ€ฏPM" src="https://github.com/user-attachments/assets/c137d1d8-a61a-4a8d-9633-b89b61524cae" />
  1. Have it run the tests and report coverage!
<img width="622" alt="Screenshot 2025-01-06 at 10 06 52โ€ฏPM" src="https://github.com/user-attachments/assets/e9db66d2-0e86-417c-af75-97e46f274b3e" />
  1. Have a discussion, poke around or clean it up if you're done!
<img width="648" alt="Screenshot 2025-01-06 at 10 07 24โ€ฏPM" src="https://github.com/user-attachments/assets/0d6118a0-f00e-49d3-90e9-c7ec2d654247" />

๐ŸŽฏ 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

-
security - not tested
F
license - not found
-
quality - not tested

Create sandboxed local development environments directly from Github and execute tests, see coverage and more! Supports Python, Node, Bun and many test runners.

  1. โœจ What's This?
    1. ๐Ÿƒ Quick Start
      1. ๐ŸŽฏ Core Features
        1. Test Runners
          1. Runtime Support
            1. Environment Management
              1. Developer Experience
              2. ๐Ÿ’ซ Under the Hood
                1. ๐ŸŒŸ Behind the Scenes
                  1. ๐Ÿš€ Key Takeaways
                    1. ๐Ÿ’ญ A Note on AI & Development
                      1. ๐Ÿ™ Big Thanks To
                        1. ๐Ÿ“„ License