local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
DevHub MCP 服务器
用于管理开发项目及其 GitHub 存储库的模型上下文协议 (MCP) 服务器。DevHub 提供用于跟踪项目、将项目链接到 GitHub 存储库以及维护项目元数据的工具。
特征
- 具有本地路径跟踪的项目管理
- GitHub 存储库集成
- 项目状态和技术堆栈跟踪
- 项目过滤和搜索功能
安装
ash npm install @modelcontextprotocol/server-devhub
配置
将服务器添加到您的 MCP 设置文件 (cline_mcp_settings.json):
json { "mcpServers": { "devhub": { "command": "node", "args": ["/path/to/devhub/dist/index.js"], "disabled": false, "alwaysAllow": [] } } }
可用工具
创建项目
在 DevHub 中创建一个新项目。
ypescript { name: string; // Project name path: string; // Local project path type: string; // Project type (eg, 'mcp-server', 'node-addon', 'cpp-dll') description: string; // Project description }
链接存储库
将 GitHub 存储库链接到现有项目。
ypescript { project_name: string; // Name of existing project repo_owner: string; // GitHub repository owner repo_name: string; // GitHub repository name }
获取项目
获取有关特定项目的详细信息。
ypescript { name: string; // Project name to retrieve }
列出项目
列出所有项目并可选择过滤。
ypescript { type?: string; // Filter by project type has_repo?: boolean; // Filter by repository presence }
更新项目
更新项目详细信息和元数据。
ypescript { name: string; // Project name to update status?: string; // Project status last_commit?: string; // Latest commit SHA technologies?: string[]; // Project technology stack }
项目类型
该服务器支持各种项目类型:
- mcp-server:MCP 协议服务器
- node-addon:Node.js 原生插件
- cpp-dll:C++动态库
- web-app:Web 应用程序
- cli-tool:命令行工具
示例用法
` ypescript // 创建一个新项目 await use_mcp_tool({ server_name: 'devhub', tool_name: 'create_project', argument: { name: 'my-project', path: '/path/to/project', type: 'mcp-server', description: '我的超棒 MCP 服务器' } });
// 链接到 GitHub 存储库 await use_mcp_tool({ server_name: 'devhub', tool_name: 'link_repository', argument: { project_name: 'my-project', repo_owner: 'username', repo_name: 'my-project' } });
// 列出所有 MCP 服务器项目 await use_mcp_tool({ server_name: 'devhub', tool_name: 'list_projects', argument: { type: 'mcp-server' } }); `
发展
构建服务器:
ash npm install npm run build
执照
麻省理工学院
This server cannot be installed
通过 GitHub 集成实现开发项目的管理,促进模型上下文协议内的项目跟踪、存储库链接和元数据维护。