P

mcp-local-dev

...
Created 12/29/2024bytxbm

Categories

aianthropicclaudedevtoolsllmsmlmodelcontextprotocol

Language:

Python

Stars:

24

Forks:

5

πŸš€ MCP Local Dev

Let AI handle your local development environments while you focus on building amazing things!

✨ 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!

  2. Have it run the tests and report coverage!

  3. 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](https://www.anthropic.com) - For Claude's assistance in development
    
  • Helix Editor - Modal editing at its finest

πŸ“„ License

MIT

Last updated: 2/25/2025

Publisher info

txbm's avatar

Peter M. Elias

Builder

Probably
San Francisco, CA
78
followers
95
following
54
repos

More MCP servers built with Python

composer-trade-mcp

Create, backtest, and execute trades directly in one chat box. The Composer MCP Server gives LLMs the power to backtest investment ideas and execute automated trading strategies. Trade across stocks, ETFs, and crypto directly in Claude.

By https://github.com/ronnyli
slidespeak-mcp

An MCP to generate presentations with AI. Create and edit PowerPoint presentations with AI.

By https://github.com/SlideSpeak
PaddleOCR

The PaddleOCR MCP server brings enterprise-grade OCR and document parsing capabilities to AI applications. Built on PaddleOCR β€” a proven solution with 50,000+ GitHub stars, deeply integrated by leading projects like MinerU, RAGFlow, and OmniParserβ€” with targeted optimizations based on the MCP concept.

By PaddlePaddle