mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-03-02 00:04:45 -08:00
Refactor the entire tool layer to use the consolidated action pattern (action: Literal[...] with QUERIES/MUTATIONS dicts). This reduces LLM context from ~12k to ~5k tokens while adding ~60 new API capabilities. New tools: unraid_info (19 actions), unraid_array (12), unraid_notifications (9), unraid_users (8), unraid_keys (5). Rewritten: unraid_docker (15), unraid_vm (9), unraid_storage (6), unraid_rclone (4), unraid_health (3). Includes 129 tests across 10 test files, code review fixes for 16 issues (severity ordering, PrefixedID regex, sensitive var redaction, etc.). Removes tools/system.py (replaced by tools/info.py). Version bumped to 0.2.0.
15 lines
657 B
Python
15 lines
657 B
Python
"""MCP tools organized by functional domain.
|
|
|
|
10 consolidated tools with ~90 actions total:
|
|
unraid_info - System information queries (19 actions)
|
|
unraid_array - Array operations and power management (12 actions)
|
|
unraid_storage - Storage, disks, and logs (6 actions)
|
|
unraid_docker - Docker container management (15 actions)
|
|
unraid_vm - Virtual machine management (9 actions)
|
|
unraid_notifications - Notification management (9 actions)
|
|
unraid_rclone - Cloud storage remotes (4 actions)
|
|
unraid_users - User management (8 actions)
|
|
unraid_keys - API key management (5 actions)
|
|
unraid_health - Health monitoring and diagnostics (3 actions)
|
|
"""
|