Refactor and enhance worker and server functionality #194

Merged
rwachters merged 3 commits from migrate-local-mcp-server-source-of-truth-to-server into change-mcp-tool-call-architecture 2026-04-17 20:55:31 +00:00
rwachters commented 2026-04-17 20:54:52 +00:00 (Migrated from github.com)

Description

This pull request addresses the following changes:

  • Test Cleanup: Ensures test container is closed after each test to maintain isolation. Improved KDoc comments and removed unused imports for better clarity and maintainability.
  • Worker Session Refactor: Alters session registration to occur immediately upon connection and authentication, allowing for earlier detection of duplicate sessions and improving session management.
  • Local MCP Server Configuration: Migrates server configuration from the client to the server, including secure handling of environment variables and secrets. Adds full CRUD operations, updates API routes, and implements database schema migration to support seamless server configuration management.

Checklist

  • Code is well-documented.
  • All tests pass.
  • New functionality has been thoroughly tested.
  • Related issues are referenced.
### Description This pull request addresses the following changes: - **Test Cleanup**: Ensures test container is closed after each test to maintain isolation. Improved KDoc comments and removed unused imports for better clarity and maintainability. - **Worker Session Refactor**: Alters session registration to occur immediately upon connection and authentication, allowing for earlier detection of duplicate sessions and improving session management. - **Local MCP Server Configuration**: Migrates server configuration from the client to the server, including secure handling of environment variables and secrets. Adds full CRUD operations, updates API routes, and implements database schema migration to support seamless server configuration management. ### Checklist - [ ] Code is well-documented. - [ ] All tests pass. - [ ] New functionality has been thoroughly tested. - [ ] Related issues are referenced.
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!194
No description provided.