This ticket covers the initial scaffolding of the GitHub Workflow MCP server. This involves creating the basic directory structure and placeholder files required to begin development, mirroring the architecture of the existing Memory Core MCP server.
A meaningful health check has been implemented to verify that the gh CLI is installed and authenticated, which is critical for the server's operation.
Acceptance Criteria
- The following directory structure has been created:
ai/mcp/server/github-workflow/
ai/mcp/server/github-workflow/middleware/
ai/mcp/server/github-workflow/routes/
ai/mcp/server/github-workflow/services/
- Core server files have been created:
index.mjs (entry point)
app.mjs (Express app setup)
config.mjs (server configuration)
- Middleware handlers have been created:
asyncHandler.mjs
errorHandler.mjs
notFoundHandler.mjs
- The
/healthcheck endpoint is functional:
routes/health.mjs is created.
services/healthService.mjs is created and uses gh auth status to check for CLI installation and authentication.
- Placeholder files for the pull request workflow are in place:
This ticket covers the initial scaffolding of the GitHub Workflow MCP server. This involves creating the basic directory structure and placeholder files required to begin development, mirroring the architecture of the existing Memory Core MCP server.
A meaningful health check has been implemented to verify that the
ghCLI is installed and authenticated, which is critical for the server's operation.Acceptance Criteria
ai/mcp/server/github-workflow/ai/mcp/server/github-workflow/middleware/ai/mcp/server/github-workflow/routes/ai/mcp/server/github-workflow/services/index.mjs(entry point)app.mjs(Express app setup)config.mjs(server configuration)asyncHandler.mjserrorHandler.mjsnotFoundHandler.mjs/healthcheckendpoint is functional:routes/health.mjsis created.services/healthService.mjsis created and usesgh auth statusto check for CLI installation and authentication.routes/pullRequests.mjs