Developer MCP Server

Integrations

  • Supports containerized deployment and execution of the MCP server through Docker

  • Implied integration through source code management for building the server from source

  • Allows installation and usage of the MCP server directly from a GitHub repository

开发者 MCP 服务器

专为软件开发团队设计的强大上下文管理系统。Developer MCP 服务器会在您的编码会话期间维护持久上下文,确保您始终掌握项目的结构、依赖关系和进度。

特征

  • 持久开发环境:准确地从您上次会话中断的地方继续,提供有关您正在处理的组件、问题和任务的完整背景信息。
  • 会话管理:开始新的开发会话并在完成后记录您的成就、任务更新和项目状态变化,从而创建开发活动的持久记录。
  • 依赖关系跟踪:通过全面的依赖关系模型了解组件、功能和技术如何相互关联。
  • 项目状态洞察:立即了解项目进度,包括组件、功能、问题和里程碑的状态。
  • 组件上下文检索:一目了然地了解任何组件的用途、实现细节、依赖关系和相关问题。
  • 决策历史:追踪架构和实施决策的制定原因、时间和制定者——无需再猜测为什么以某种方式构建某些东西。
  • 里程碑进度跟踪:监控项目里程碑的进度,并在潜在瓶颈影响您的时间表之前发现它们。
  • 相关实体发现:快速找到任何组件、功能或任务的所有相关实体,以了解其完整上下文。

实体

开发人员 MCP 服务器可识别软件开发环境中的以下类型的实体:

  • 项目:整体软件项目或产品
  • 组件:项目内的模块、服务、包或逻辑单元
  • 功能:正在开发的特定功能
  • 问题:需要解决的错误、问题或缺陷
  • 任务:开发所需的工作项目或活动
  • 开发人员:从事该项目的团队成员
  • 技术:编程语言、框架、库或工具
  • 决策:重要的技术或架构决策
  • 里程碑:关键项目截止日期或阶段
  • 环境:开发、准备或生产环境
  • 文档:项目文档资源
  • 要求:项目要求或规范

关系

开发者 MCP 服务器模拟了实体之间的以下关系,反映了现实世界的软件开发动态:

  • 取决于:实体 A 需要实体 B 才能运行
  • implements :组件实现一个功能
  • 已分配:任务已分配给开发人员
  • blocked_by :任务因问题而被阻止
  • 用途:组件使用一种技术
  • part_of :组件是项目的一部分
  • contains :项目包含一个组件
  • works_on :开发人员正在开发一个项目/组件
  • related_to :实体之间的一般关系
  • 影响:问题影响组件
  • resolves :任务解决了一个问题
  • created_by :实体由开发人员创建
  • documented_in :组件已在文档中记录
  • determined_in :会议做出了决定
  • required_by :功能是需求所必需的
  • has_status :实体具有特定状态
  • depends_on_milestone :任务取决于是否达到里程碑
  • 先于:任务先于另一任务(排序)
  • 评论:开发人员评论组件
  • tested_in :组件在环境中进行测试

可用工具

开发者 MCP 服务器提供以下工具:

  • startsession :启动新的开发会话并提供有关最近的会话、活跃项目、高优先级任务和即将到来的里程碑的信息。
  • loadcontext :加载实体(项目、组件、功能、任务等)的详细上下文,并将此上下文加载作为当前会话的一部分进行跟踪。
  • endsession :通过多个阶段(总结、成就、任务更新、新任务、项目状态)对开发会话进行结构化分析,并将这些信息记录在持久知识图谱中。
  • buildcontext :在知识图谱中创建新的实体、关系或观察。
  • deletecontext :从知识图谱中删除实体、关系或观察。
  • advancedcontext :使用不同的查询类型(图形、搜索、节点、相关、决策、里程碑)从知识图谱中检索信息。

提示

以下是一些与开发者 MCP 服务器一起使用的示例提示:

开始会话

"Start a new development session for me."

加载上下文

"Show me the current status of the AuthService project." "Load the context for the UserProfile component." "What are the open issues affecting the Payment feature?" "Show me details about the upcoming Q2 Release milestone."

录制会话进度

"End my development session. I've been working on AuthService for 3 hours and completed user authentication flow implementation." "Record my achievements for today: implemented password reset feature and fixed login redirect bug." "Update the status of these tasks: Login Form is complete, User Registration is in progress." "Create new tasks for the next sprint: Implement MFA, Add social login options."

知识图谱管理

"Create a new feature called 'BillingSystem' in the ProjectX project." "Create a relationship showing that PaymentComponent implements BillingSystem feature." "Show me all components that depend on the DatabaseService." "What decisions have been made about the authentication approach for ProjectX?"

用法

开发者 MCP 服务器在以下场景中表现出色:

语境连续性

"Let me see the component I was working on yesterday and all its dependencies."

服务器检索您最近访问的组件及其依赖项、问题和相关任务,使您能够立即恢复工作,而无需花费时间重建上下文。

新团队成员入职

"Give me an overview of Project X's architecture and component structure."

新开发人员可以快速了解项目结构、关键组件及其关系,从而大大减少在新的代码库上投入生产所需的时间。

会话记录

"End my development session and record what I accomplished."

服务器将指导您完成一个结构化的过程来记录您的成就、任务更新和项目状态变化,并为未来的会议和团队成员保留这些背景信息。

架构决策背景

"Why was GraphQL chosen over REST for the API layer?"

服务器检索决策实体以及相关会议、涉及的开发人员以及做出决策的背景,从而保存否则会丢失的组织知识。

依赖关系分析

"What would be affected if we modify the authentication service?"

在进行更改之前,开发人员可以了解依赖于特定组件的所有组件、功能和任务,从而降低意外中断的风险。

项目进度跟踪

"What's our progress toward the Q2 release milestone?"

项目负责人可以立即查看与里程碑相关的所有任务和功能的状态,并在危及时间表之前识别出有风险的项目。

配置

与 Claude Desktop 一起使用

将其添加到您的claude_desktop_config.json中:

从 GitHub 安装并使用 npx 运行

{ "mcpServers": { "developer": { "command": "npx", "args": [ "-y", "github:tejpalvirk/developer" ] } } }

全局安装并直接运行

首先,全局安装包:

npm install -g github:tejpalvirk/contextmanager/developer

然后配置Claude桌面:

{ "mcpServers": { "developer": { "command": "contextmanager-developer" } } }

码头工人

{ "mcpServers": { "developer": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/developer" ] } } }

建筑

来自源

# Clone the repository git clone https://github.com/tejpalvirk/contextmanager.git cd contextmanager # Install dependencies npm install # Build the server npm run build # Run the server cd developer node developer_index.js

Docker:

docker build -t mcp/developer -f developer/Dockerfile .

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

ID: 71anfr71ag