mcp-local-dev

mcp-local-dev

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

txbm

Developer Tools
Version Control
OS Automation
Visit Server

README

🚀 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" />

  2. 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" />

  3. 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Gitingest-MCP

Gitingest-MCP

An MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc

Featured
Local
Python
Linear MCP Server

Linear MCP Server

Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.

Featured
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
Jira-Context-MCP

Jira-Context-MCP

MCP server to provide Jira Tickets information to AI coding agents like Cursor

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript