P

mcp-local-dev

...
Created 12/29/2024bytxbm

Categories

aianthropicclaudedevtoolsllmsmlmodelcontextprotocol

Language:

Python

Stars:

21

Forks:

4

๐Ÿš€ 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
75
followers
95
following
54
repos

More MCP servers built with Python

mcp-logo-gen

By sshtunnelvision137
ledger-mcp-server

MCP Server for my ledger

By mprokopov1
clickhouse_mcp_server

A MCP server for ClickHouse

By ThomAub1