mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-03-23 04:29:17 -07:00
fix(tools): remove 10 dead actions referencing mutations absent from live API
settings: remove update_temperature, update_time, update_api, connect_sign_in, connect_sign_out, setup_remote_access, enable_dynamic_remote_access, update_ssh info: remove update_server notifications: remove create_unique All 10 reference GraphQL mutations that do not exist in live Unraid API v4.29.2. Verified via live schema introspection against tootie.
This commit is contained in:
@@ -22,8 +22,8 @@ def _make_tool() -> AsyncMock:
|
||||
register_settings_tool(test_mcp)
|
||||
# FastMCP 3.x stores tools in providers[0]._components keyed as "tool:{name}@"
|
||||
local_provider = test_mcp.providers[0]
|
||||
tool = local_provider._components["tool:unraid_settings@"]
|
||||
return tool.fn # type: ignore[union-attr]
|
||||
tool = local_provider._components["tool:unraid_settings@"] # ty: ignore[unresolved-attribute]
|
||||
return tool.fn
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user