TM

txbm/mcp-local-dev

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

28 stars 9 forks 质量 40 趋势 11

让大型语言模型管理你的本地开发环境

概览

让AI处理你的本地开发环境,你专注于打造令人惊叹的成果! 一个本地开发环境管理器,让大型语言模型(LLM)为你配置和管理开发环境。为AI助手设计,自动处理环境设置、依赖管理和测试。 1. 从 MCP 快速入门指南安装 Claude Desktop 2.在您的 Claude Desktop 配置中添加以下内容: 3. 指向任何GitHub仓库,让Claude搭建开发环境! 4. 让它运行测试并报告覆盖范围! 5. 讨论、探索或清理完! - 🧪 pytest,带覆盖率报告 - ⚡️ Vitest,支持V8覆盖 - 🃏 Jest,详细覆盖度指标 - 🔬 unittest,支持覆盖 - 🐍 带有 UV 包管理的 Python- 📦 Node.js 与 NPM 的 - ⚡️ Bun 运行时和包管理器

概述(AI 翻译)

让AI处理你的本地开发环境,你专注于打造令人惊叹的成果!

✨ 这是什么?

一个本地开发环境管理器,让大型语言模型(LLM)为你配置和管理开发环境。为AI助手设计,自动处理环境设置、依赖管理和测试。

🏃 快速启动

  1. 通过MCP快速入门指南安装Claude桌面

  2. 在您的 Claude Desktop 配置中添加以下内容:

  3. 指向任何GitHub仓库,让Claude搭建开发环境!

  4. 让它运行测试并报告覆盖范围!

  5. 讨论、探索或清理完!

🎯 核心功能

测试跑者

  • 🧪 带覆盖报告的pytest
  • ⚡️ Vitest,V8发动机覆盖
  • 🃏 带有详细覆盖指标的玩笑
  • 🔬 带覆盖支持的 UNITEST

运行时支持

  • 🐍 带有UV包管理的Python。
  • 📦 与NPM的Node.js
  • ⚡️ Bun 运行时和包管理器

环境管理

  • 🏗️ 自动运行时检测
  • 📦 智能包管理器选择
  • 🔒 沙盒环境
  • 🧹 自动清理
  • 🔄 GitHub仓库支持
  • 📂 本地项目支持

开发者体验

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🚀 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
在 GitHub 查看完整 README

安装

uvx --from git+https://github.com/txbm/mcp-local-dev@main mcp-local-dev
新手?先看 mcpskill.org 教程 →