feat: Consolidate 8 scattered MCP repos into unified MCPC orchestrator#93
Closed
feat: Consolidate 8 scattered MCP repos into unified MCPC orchestrator#93
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…elay Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Consolidate 8 MCP repositories into unified orchestrator
feat: Consolidate 8 scattered MCP repos into unified MCPC orchestrator
Mar 20, 2026
| const results: ToolChainResult['steps'] = []; | ||
| const variables: Record<string, unknown> = {}; | ||
|
|
||
| let lastOutput: unknown = undefined; |
Contributor
| // ── Tool manager ─────────────────────────────────────────────────────── | ||
| case 'list_tools': { | ||
| result = listTools(args['tag'] as string | undefined); | ||
| break; |
Contributor
| # MCP tools/call returns {content: [{type, text}], isError?} | ||
| content = result.get("content", []) | ||
| if result.get("isError"): | ||
| text = content[0]["text"] if content else "Unknown error" |
Contributor
| self._process.stdin.write((message + "\n").encode()) | ||
| await self._process.stdin.drain() | ||
|
|
||
| async def _read_loop(self) -> None: |
Contributor
|
|
||
| case 'state_delete': { | ||
| const deleted = deleteState(args['key'] as string); | ||
| result = { key: args['key'], deleted }; |
Contributor
|
|
||
| const id = request['id'] ?? null; | ||
| const method = request['method'] as string | undefined; | ||
| const params = (request['params'] ?? {}) as Record<string, unknown>; |
Contributor
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EventRelay had MCP functionality fragmented across 8 separate repos with no single canonical server. This adds
mcp-servers/mcpc/as the unified TypeScript MCP orchestrator and wires it into EventRelay's Python backend via a subprocess adapter.New:
mcp-servers/mcpc/— canonical MCPC serverTypeScript package (JSON-RPC 2.0/stdio, MCP
2024-11-05) consolidating:round_table— multi-agent consensuslist_tools,execute_tool_chain(variable binding, zero-glue chaining)state_set,state_get,state_list,state_deleteNew:
src/mcp/mcpc_adapter.pyAsync Python adapter that spawns the MCPC Node process over stdio and exposes a typed
call_toolAPI to the EventRelay backend:Registry + docs
src/mcp/mcp_registry.json—mcpcregistered ascanonical_orchestratormcp-servers/README.md— consolidation table added; MCP-management, MESH, mcp-tools-extension marked archivedOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.