mcp-local-dev
by txbm·★ 28·综合分 38
通过MCP实现AI驱动的本地开发环境管理,自动处理环境配置、依赖管理和测试。
概述
MCP Local Dev 是一个先进的工具,允许大语言模型自动管理本地开发环境。它支持 Python、Node.js 和 Bun 运行时的自动检测,智能选择最快的包管理器,并提供沙箱环境隔离。该工具集成了 pytest、Vitest、Jest 和 unittest 等多种测试运行器,提供详细的覆盖率报告。其零配置方式大大降低了开发人员的环境配置和维护工作负担。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您希望 AI 处理本地开发的环境设置和测试时,尤其是使用多种编程语言或不熟悉的代码库时。
什么时候不要选它
如果您需要高度定制开发环境或在没有网络访问权限的高度受限环境中工作,请避免使用。
此 server 暴露的工具
从 README 抽取出 6 个工具(置信度较低)setup_dev_environmentSets up a local development environment for a repository
run_testsRuns tests with coverage reporting in the current environment
detect_runtimeDetects the appropriate runtime for the current project
install_dependenciesInstalls project dependencies using the appropriate package manager
analyze_projectAnalyzes the project structure and configuration
cleanup_environmentCleans up the development environment
说明:Tool names inferred from project description and features, as no explicit tool section was found in the README
可对比工具
安装
安装
- 从 [MCP 快速入门指南](https://modelcontextprotocol.io/quickstart/user) 安装 Claude Desktop
- 将以下配置添加到您的 Claude Desktop 配置中:
{
"servers": {
"local_dev": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/txbm/mcp-local-dev@main",
"mcp-local-dev"
]
}
}
}FAQ
- MCP Local Dev 支持哪些运行时?
- 它支持使用 UV 包管理的 Python、使用 NPM 的 Node.js,以及带有包管理的 Bun 运行时。
- 这个工具是否与 Claude 以外的 AI 助手兼容?
- README 显示它已在 Claude 3.5 Sonnet 和 DeepSeek V3 上测试过,但没有明确列出与其他助手的兼容性。
mcp-local-dev 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。