Consolidate duplicate MCP server implementations#5787
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
….cjs - Extended mcp_server_core.cjs with handleRequest() function for HTTP transport - Updated mcp_http_transport.cjs to use mcp_server_core.cjs via MCPServer wrapper - Removed duplicate mcp_server.cjs file and its test - Updated Go embed directives and script registry - All MCP transport tests passing (mcp_http_transport.test.cjs, mcp_server_core.test.cjs) - Single source of truth for JSON-RPC protocol handling Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot merge main, recompile, former, lint, run tests |
…ate-mcp-implementations
- Merged main branch successfully - Recompiled all workflow files (102 workflows) - Ran formatting and linting (all passed) - Fixed TypeScript error in mcp_server_core.cjs error handling - All core MCP tests passing Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
📰 DEVELOPING STORY: Smoke Copilot Playwright reports failed. Our correspondents are investigating the incident... |
|
🤖 SYSTEM_INIT: Smoke Copilot No Firewall ACTIVATED. PROCESSING pull request. ALL SUBSYSTEMS ONLINE. |
|
🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request... |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
💥 WHOOSH! Smoke Claude springs into action on this pull request! [Panel 1 begins...] |
|
Smoke Test: Copilot Engine - PASS Last 2 Merged PRs:
Test Results:
Overall Status: PASS
|
|
Smoke Test Results: Claude Engine Recent PRs:
Test Results:
Overall Status: PASS (5/6 tests passed)
|
Smoke Test Results (Run 20011669519)Last 2 Merged PRs:
Test Results:
Overall Status: PASS
|
|
PRs: [docs] Remove bloat from memory.md reference documentation; Fix agentics-maintenance.yml syntax by updating generator to use bundler
|
Refactoring Complete: Duplicate MCP Server Implementations Eliminated ✅
Changes Summary
Implementation:
mcp_server_core.cjswithhandleRequest()function for HTTP transportmcp_http_transport.cjsto use unified core via MCPServer wrappermcp_server.cjs(~190 lines) and testsLatest Updates:
Test Results:
Benefits Achieved:
Original 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.
Changeset
mcp_server.cjscode. This is an internal refactor that reduces duplicated code and simplifies maintenance for MCP server transports (HTTP and stdio).Smoke Test Summary