Frontmatter
| id | 7872 |
| title | Refactor GitHub Workflow MCP Server to use Neo.core.Base architecture |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Nov 23, 2025, 11:39 AM |
| updatedAt | Nov 23, 2025, 11:58 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7872 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 23, 2025, 11:58 AM |
Refactor GitHub Workflow MCP Server to use Neo.core.Base architecture
tobiu assigned to @tobiu on Nov 23, 2025, 11:43 AM

tobiu
Nov 23, 2025, 11:44 AM
Input from Gemini:
✦ Refactoring complete. The GitHub Workflow MCP server now uses the standardized
Neo.core.Basearchitecture.Implementation Details:
Server.mjs: Encapsulates the server application logic, including specific GitHub permission caching ininitAsync.mcp-stdio.mjs: Converted to the standard runner pattern with robust top-levelawaiterror handling and correct import ordering.This unifies the architecture across all three MCP servers (Memory Core, Knowledge Base, GitHub Workflow), making them easier to maintain and test.
tobiu closed this issue on Nov 23, 2025, 11:58 AM
Objective: Refactor the GitHub Workflow MCP server entry point to align with the Neo.mjs architecture by encapsulating the server logic within a
Neo.core.Baseclass.Changes:
Create
ai/mcp/server/github-workflow/Server.mjs:class Server extends Neo.core.Base.configFile,mcpServer,transport.initAsync():super.initAsync().aiConfig.load()ifthis.configFileis set.McpServerinstance.listTools,callTool).HealthService.healthcheck()and log status.RepositoryService.fetchAndCacheViewerPermission()to cache permissions early.StdioServerTransport.setupRequestHandlersandlogStartupStatus.Refactor
ai/mcp/server/github-workflow/mcp-stdio.mjs:Neo->core/_export->InstanceManager->aiConfig->logger->Server.-d,-c).aiConfig.data.debugimmediately.Serverinside atry/catchblock.awaitto wait forserver.ready().Technical Details: