Skip to main content
Glama
README.md
# ๐Ÿš€ 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](https://modelcontextprotocol.io/quickstart/user)
2. Add the following to your Claude Desktop config:

```json
{
  "servers": {
     "local_dev": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/txbm/mcp-local-dev@main",
        "mcp-local-dev"
      ]
    }
  }
}
```

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

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

5. 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](https://github.com/astral-sh/uv) - Speed demon Python package installer
- [Aider](https://github.com/paul-gauthier/aider) - Your AI pair programming buddy
- [Anthropic](https://www.anthropic.com) - For Claude's assistance in development
- [Helix Editor](https://helix-editor.com/) - Modal editing at its finest

## ๐Ÿ“„ License

MIT

TDQS

B3.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: cleanup, creation from filesystem, creation from GitHub, and running tests. There is no overlap in functionality, making it easy for an agent to select the correct tool for each specific task without confusion.

Naming Consistency5/5

All tool names follow a consistent 'local_dev_' prefix with descriptive suffixes (cleanup, from_filesystem, from_github, run_tests). This snake_case pattern is uniform throughout, making the tools predictable and easy to understand at a glance.

Tool Count4/5

With 4 tools, the count is reasonable for managing local development environments, covering key operations like setup, cleanup, and testing. It might be slightly lean for broader development tasks, but it's well-scoped for the apparent purpose without being overwhelming.

Completeness4/5

The toolset covers core lifecycle operations: creation (from two sources), cleanup, and testing. Minor gaps might include updating or monitoring environments, but the existing tools provide a solid foundation for basic local development workflows without significant dead ends.

Maintenance

ActivityInactive
ResponsivenessNo issues