Back to MCP directory
publicPublicdnsLocal runtime

mcp-dev-server

MCP开发服务器是一个为Claude设计的项目管理工具,提供项目上下文感知和Docker代码执行环境。

article

README

🚀 MCP 开发服务器

MCP 开发服务器是一个基于 Model Context Protocol (MCP) 的服务器,它能助力 Claude 管理软件开发项目。该服务器具备完整的项目上下文感知能力,还可借助 Docker 环境处理代码执行,为软件开发项目的管理提供了强大支持。

✨ 主要特性

核心基础设施

  • 项目上下文管理
  • 文件系统操作
  • 模板基于的项目创建
  • Git 集成

要求

  • Python 3.12 或更高版本
  • Docker
  • Git

📦 安装指南

使用 pip 安装

pip install mcp-dev-server

开发安装

git clone https://github.com/your-org/mcp-dev-server.git
cd mcp-dev-server
pip install -e .

📚 详细文档

Claude 桌面配置

将以下内容添加到您的 Claude 桌面配置文件中:

  • 在 MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
  • 在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "dev": {
      "command": "mcp-dev-server",
      "args": []
    }
  }
}

💻 使用示例

该服务器提供了以下 MCP 功能:

资源

  • 项目结构和文件
  • 构建状态和构建产物
  • 测试结果
  • Docker 容器状态

工具

  • 项目初始化
  • 构建操作
  • 测试执行
  • Docker 命令

提示

  • 项目分析
  • 开发建议
  • 错误诊断

🔧 技术细节

设置开发环境

# 创建虚拟环境
python -m venv .venv
source .venv/bin/activate  # 在 Windows 上:.venv\Scripts\activate

# 安装依赖项
pip install -e ".[dev]"

运行测试

pytest tests/

🤝 贡献

请阅读 CONTRIBUTING.md 以了解我们的行为准则和提交拉取请求的过程。

📄 许可证

此项目在 MIT License 下授权 - 有关详细信息,请参阅 LICENSE 文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client