add mcp support#107
Merged
Merged
Conversation
- Replace Swifter with Vapor + MCP Swift SDK (0.12.0) - Implement 9 MCP tools: list_lights, turn_on, turn_off, set_light_cct, set_light_hsi, set_light_scene, get_light_image, scan, get_logs - Add Settings: Launch at Login checkbox, HTTP Server toggle with URL - Server start gated by HTTPServerEnabled UserDefaults (defaults to on) - Track SRCMode: sourceChannel Observable on NeewerLight, persisted - Add defaultCCTValue/defaultGMValue to NeewerLightSource (non-persisted), reset CCT/GM to preset defaults on each source selection - Fix source view slider width (use fxsubview.bounds.width - 70) - Fix Value.numericInt: use Int(d) truncation instead of Int(exactly:) - Localize 10 light source names in 6 languages - Add MCPServerTests with tool discovery and Value coercion tests
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.
No description provided.