Skip to content

add mcp support#107

Merged
keefo merged 3 commits into
mainfrom
user/keefo/add-mcp
Apr 22, 2026
Merged

add mcp support#107
keefo merged 3 commits into
mainfrom
user/keefo/add-mcp

Conversation

@keefo
Copy link
Copy Markdown
Owner

@keefo keefo commented Apr 22, 2026

No description provided.

keefo added 2 commits April 20, 2026 02:29
- 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
@keefo keefo changed the title User/keefo/add mcp add mcp support Apr 22, 2026
@keefo keefo merged commit e25908c into main Apr 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant