DevHub MCP Server
# DevHub MCP Server
A Model Context Protocol (MCP) server for managing development projects and their GitHub repositories. DevHub provides tools for tracking projects, linking them to GitHub repositories, and maintaining project metadata.
Features
- Project management with local path tracking
- GitHub repository integration
- Project status and technology stack tracking
- Project filtering and search capabilities
Installation
ash npm install @modelcontextprotocol/server-devhub
Configuration
Add the server to your MCP settings file (cline_mcp_settings.json):
json { "mcpServers": { "devhub": { "command": "node", "args": ["/path/to/devhub/dist/index.js"], "disabled": false, "alwaysAllow": [] } } }
Available Tools
create_project
Create a new project in DevHub.
ypescript { name: string; // Project name path: string; // Local project path type: string; // Project type (e.g., 'mcp-server', 'node-addon', 'cpp-dll') description: string; // Project description }
link_repository
Link a GitHub repository to an existing project.
ypescript { project_name: string; // Name of existing project repo_owner: string; // GitHub repository owner repo_name: string; // GitHub repository name }
get_project
Get detailed information about a specific project.
ypescript { name: string; // Project name to retrieve }
list_projects
List all projects with optional filtering.
ypescript { type?: string; // Filter by project type has_repo?: boolean; // Filter by repository presence }
update_project
Update project details and metadata.
ypescript { name: string; // Project name to update status?: string; // Project status last_commit?: string; // Latest commit SHA technologies?: string[]; // Project technology stack }
Project Types
The server supports various project types:
- mcp-server: MCP protocol servers
- node-addon: Node.js native addons
- cpp-dll: C++ dynamic libraries
- web-app: Web applications
- cli-tool: Command-line tools
Example Usage
` ypescript // Create a new project await use_mcp_tool({ server_name: 'devhub', tool_name: 'create_project', arguments: { name: 'my-project', path: '/path/to/project', type: 'mcp-server', description: 'My awesome MCP server' } });
// Link to GitHub repository await use_mcp_tool({ server_name: 'devhub', tool_name: 'link_repository', arguments: { project_name: 'my-project', repo_owner: 'username', repo_name: 'my-project' } });
// List all MCP server projects await use_mcp_tool({ server_name: 'devhub', tool_name: 'list_projects', arguments: { type: 'mcp-server' } }); `
Development
To build the server:
ash npm install npm run build
License
MIT
This server cannot be installed
Enables management of development projects with GitHub integration, facilitating project tracking, repository linking, and metadata maintenance within the Model Context Protocol.