Refactor MCP runtime mapping and add server config sync commands #199

Merged
rwachters merged 2 commits from add-server-worker-config-sync-commands into change-mcp-tool-call-architecture 2026-04-22 18:13:07 +00:00
rwachters commented 2026-04-22 18:12:43 +00:00 (Migrated from github.com)

Summary

  • Refactor MCP Runtime Command Mappings

    • Separated shared logic into WorkerMcpRuntimeCommandMappingSupport.kt.
    • Created WorkerMcpRuntimeLifecycleCommandMappings.kt for lifecycle-specific mappings.
    • Created WorkerMcpServerConfigSyncCommandMappings.kt for configuration synchronization mappings.
    • Enhanced error handling for WorkerMcpToolCallProtocolMappings.kt.
  • New MCP Server Configuration Sync Commands

    • Added support for creating, updating, and deleting MCP server configurations.
    • Implemented synchronization with worker cache via a new service.
    • Updated routing logic for the new commands.
### Summary - **Refactor MCP Runtime Command Mappings** - Separated shared logic into `WorkerMcpRuntimeCommandMappingSupport.kt`. - Created `WorkerMcpRuntimeLifecycleCommandMappings.kt` for lifecycle-specific mappings. - Created `WorkerMcpServerConfigSyncCommandMappings.kt` for configuration synchronization mappings. - Enhanced error handling for `WorkerMcpToolCallProtocolMappings.kt`. - **New MCP Server Configuration Sync Commands** - Added support for creating, updating, and deleting MCP server configurations. - Implemented synchronization with worker cache via a new service. - Updated routing logic for the new commands.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Torvian.eu/chatbot!199
No description provided.