diff --git a/.gitignore b/.gitignore index 766ee6d..6d44a15 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,5 @@ client_secret_*.apps.googleusercontent.com.json web-ui/frontend/node_modules web-ui/backend/.venv-backend/ .pnpm-store/ + +.continue \ No newline at end of file diff --git a/docs/UNRAID_API_COMPLETE_REFERENCE.md b/docs/UNRAID_API_COMPLETE_REFERENCE.md index a9abd61..0dd7609 100644 --- a/docs/UNRAID_API_COMPLETE_REFERENCE.md +++ b/docs/UNRAID_API_COMPLETE_REFERENCE.md @@ -541,8 +541,6 @@ Possible error states for configuration - Fields (3): - `api`: `String` - Unraid API version -- `kernel`: `String` - - Kernel version - `unraid`: `String` - Unraid version @@ -1021,8 +1019,6 @@ The `ID` scalar type represents a unique identifier, often used to refetch an ob - `hostname`: `String` - Hostname - `id`: `PrefixedID!` -- `kernel`: `String` - - Kernel version - `logofile`: `String` - OS logo name - `platform`: `String` @@ -1426,8 +1422,6 @@ System metrics including CPU and memory utilization - Node.js version - `npm`: `String` - npm version -- `openssl`: `String` - - OpenSSL version - `php`: `String` - PHP version - `pm2`: `String` diff --git a/docs/research/feature-gap-analysis.md b/docs/research/feature-gap-analysis.md index aef3907..2f54401 100644 --- a/docs/research/feature-gap-analysis.md +++ b/docs/research/feature-gap-analysis.md @@ -27,7 +27,7 @@ Every query type identified across all research documents, with their fields and | Query | Fields | Current MCP Coverage | |-------|--------|---------------------| -| `info` | `time`, `baseboard { manufacturer, model, version, serial }`, `cpu { manufacturer, brand, vendor, family, model, stepping, revision, voltage, speed, speedmin, speedmax, threads, cores, processors, socket, cache, flags }`, `devices`, `display`, `machineId`, `memory { max, total, free, used, active, available, buffcache, swaptotal, swapused, swapfree, layout[] }`, `os { platform, distro, release, codename, kernel, arch, hostname, codepage, logofile, serial, build, uptime }`, `system { manufacturer, model, version, serial, uuid }`, `versions { kernel, docker, unraid, node }`, `apps { installed, started }` | **YES** - `get_system_info()` | +| `info` | `time`, `baseboard { manufacturer, model, version, serial }`, `cpu { manufacturer, brand, vendor, family, model, stepping, revision, voltage, speed, speedmin, speedmax, threads, cores, processors, socket, cache, flags }`, `devices`, `display`, `machineId`, `memory { max, total, free, used, active, available, buffcache, swaptotal, swapused, swapfree, layout[] }`, `os { platform, distro, release, codename, arch, hostname, logofile, serial, build, uptime }`, `system { manufacturer, model, version, serial, uuid }`, `versions { docker, unraid, node }` | **YES** - `get_system_info()` | | `vars` | `id`, `version`, `name`, `timeZone`, `comment`, `security`, `workgroup`, `domain`, `useNtp`, `ntpServer1-4`, `useSsl`, `port`, `portssl`, `useTelnet`, `useSsh`, `portssh`, `startPage`, `startArray`, `spindownDelay`, `defaultFormat`, `defaultFsType`, `shutdownTimeout`, `shareDisk`, `shareUser`, `shareSmbEnabled`, `shareNfsEnabled`, `shareAfpEnabled`, `shareCacheEnabled`, `shareMoverSchedule`, `shareMoverLogging`, `safeMode`, `configValid`, `configError`, `deviceCount`, `flashGuid`, `flashProduct`, `flashVendor`, `regState`, `regTo`, `mdState`, `mdNumDisks`, `mdNumDisabled`, `mdNumInvalid`, `mdNumMissing`, `mdResync`, `mdResyncAction`, `fsState`, `fsProgress`, `fsCopyPrcnt`, `shareCount`, `shareSmbCount`, `shareNfsCount`, `csrfToken`, `maxArraysz`, `maxCachesz` | **YES** - `get_unraid_variables()` | | `online` | `Boolean` | **NO** | | `owner` | Server owner information | **NO** | @@ -378,15 +378,14 @@ GRAPHQL_PUBSUB_CHANNEL { | `ContainerHostConfig` | JSON host configuration | | | `VmDomain` | `uuid/id`, `name`, `state` | Implements Node | | `Vms` | `id`, `domain[]` | | -| `Info` | `time`, `baseboard`, `cpu`, `devices`, `display`, `machineId`, `memory`, `os`, `system`, `versions`, `apps` | Implements Node | +| `Info` | `time`, `baseboard`, `cpu`, `devices`, `display`, `machineId`, `memory`, `os`, `system`, `versions` | Implements Node | | `InfoCpu` | `manufacturer`, `brand`, `vendor`, `family`, `model`, `stepping`, `revision`, `voltage`, `speed`, `speedmin`, `speedmax`, `threads`, `cores`, `processors`, `socket`, `cache`, `flags` | | | `InfoMemory` | `max`, `total`, `free`, `used`, `active`, `available`, `buffcache`, `swaptotal`, `swapused`, `swapfree`, `layout[]` | | | `MemoryLayout` | `bank`, `type`, `clockSpeed`, `manufacturer` | Missing `size` field (known bug) | -| `Os` | `platform`, `distro`, `release`, `codename`, `kernel`, `arch`, `hostname`, `codepage`, `logofile`, `serial`, `build`, `uptime` | | +| `Os` | `platform`, `distro`, `release`, `codename`, `arch`, `hostname`, `logofile`, `serial`, `build`, `uptime` | | | `Baseboard` | `manufacturer`, `model`, `version`, `serial` | | | `SystemInfo` | `manufacturer`, `model`, `version`, `serial`, `uuid` | | -| `Versions` | `kernel`, `docker`, `unraid`, `node` | | -| `InfoApps` | `installed`, `started` | | +| `Versions` | `docker`, `unraid`, `node` | | | `Network` | `iface`, `ifaceName`, `ipv4`, `ipv6`, `mac`, `internal`, `operstate`, `type`, `duplex`, `mtu`, `speed`, `carrierChanges`, `id`, `accessUrls[]` | Implements Node | | `AccessUrl` | `type`, `name`, `ipv4`, `ipv6` | | | `Share` | `name`, `free`, `used`, `size`, `include[]`, `exclude[]`, `cache`, `nameOrig`, `comment`, `allocator`, `splitLevel`, `floor`, `cow`, `color`, `luksStatus` | | diff --git a/docs/research/raw/blog-7.2.0.md b/docs/research/raw/blog-7.2.0.md index 101375d..f5c68da 100644 --- a/docs/research/raw/blog-7.2.0.md +++ b/docs/research/raw/blog-7.2.0.md @@ -120,7 +120,7 @@ Learn More about the Unraid API * Linux Kernel 6.12.54-Unraid * Samba 4.23.2 -* Updated versions of openssl, mesa, kernel-firmware, git, exfatprogs, and more +* Updated versions of mesa, kernel-firmware, git, exfatprogs, and more **Plugin Compatibility Notice** ------------------------------- diff --git a/docs/research/unraid-api-crawl.md b/docs/research/unraid-api-crawl.md index 9117a40..a7b179a 100644 --- a/docs/research/unraid-api-crawl.md +++ b/docs/research/unraid-api-crawl.md @@ -892,7 +892,6 @@ type DockerNetwork { ```graphql type Info implements Node { - apps: InfoApps baseboard: Baseboard cpu: InfoCpu devices: Devices @@ -945,10 +944,8 @@ type Os { distro: String release: String codename: String - kernel: String arch: String hostname: String - codepage: String logofile: String serial: String build: String diff --git a/docs/research/unraid-api-research.md b/docs/research/unraid-api-research.md index a4c0769..3abf99d 100644 --- a/docs/research/unraid-api-research.md +++ b/docs/research/unraid-api-research.md @@ -220,13 +220,12 @@ Then access at `http://YOUR_SERVER_IP/graphql` to explore the schema via Apollo ```graphql query { info { - os { platform distro release uptime hostname arch kernel } + os { platform distro release uptime hostname arch } cpu { manufacturer brand cores threads } memory { layout { bank type clockSpeed manufacturer } } baseboard { manufacturer model version serial } system { manufacturer model version serial uuid } - versions { kernel docker unraid node } - apps { installed started } + versions { docker unraid node } machineId time } diff --git a/docs/unraid-schema.graphql b/docs/unraid-schema.graphql index 43c1ef7..6459594 100644 --- a/docs/unraid-schema.graphql +++ b/docs/unraid-schema.graphql @@ -468,7 +468,6 @@ type Config implements Node { type CoreVersions { api: String - kernel: String unraid: String } @@ -478,7 +477,6 @@ type PackageVersions { nginx: String node: String npm: String - openssl: String php: String pm2: String } @@ -487,33 +485,6 @@ type InfoVersions implements Node { id: PrefixedID! core: CoreVersions! packages: PackageVersions - # Flattened fields used by the MCP tool queries (may exist in live API) - kernel: String - openssl: String - systemOpenssl: String - systemOpensslLib: String - node: String - v8: String - npm: String - yarn: String - pm2: String - gulp: String - grunt: String - git: String - tsc: String - mysql: String - redis: String - mongodb: String - apache: String - nginx: String - php: String - docker: String - postfix: String - postgresql: String - perl: String - python: String - gcc: String - unraid: String } type InfoOs implements Node { @@ -522,7 +493,6 @@ type InfoOs implements Node { distro: String release: String codename: String - kernel: String arch: String hostname: String logofile: String @@ -532,7 +502,6 @@ type InfoOs implements Node { fqdn: String servicepack: String uefi: Boolean - codepage: String } type InfoCpu implements Node { @@ -714,11 +683,6 @@ type InfoDisplay implements Node { wwn: Boolean! } -type Apps { - installed: Int - started: Int -} - type Info implements Node { id: PrefixedID! os: InfoOs! @@ -729,7 +693,6 @@ type Info implements Node { versions: InfoVersions! devices: InfoDevices! display: InfoDisplay! - apps: Apps machineId: ID time: DateTime! } diff --git a/skills/unraid/references/introspection-schema.md b/skills/unraid/references/introspection-schema.md index 62676a1..cbbec61 100644 --- a/skills/unraid/references/introspection-schema.md +++ b/skills/unraid/references/introspection-schema.md @@ -1900,9 +1900,6 @@ type InfoOs implements Node { """OS codename""" codename: String - """Kernel version""" - kernel: String - """OS architecture""" arch: String @@ -1987,15 +1984,9 @@ type CoreVersions { """Unraid API version""" api: String - - """Kernel version""" - kernel: String } type PackageVersions { - """OpenSSL version""" - openssl: String - """Node.js version""" node: String diff --git a/skills/unraid/references/schema.graphql b/skills/unraid/references/schema.graphql index 62676a1..cbbec61 100644 --- a/skills/unraid/references/schema.graphql +++ b/skills/unraid/references/schema.graphql @@ -1900,9 +1900,6 @@ type InfoOs implements Node { """OS codename""" codename: String - """Kernel version""" - kernel: String - """OS architecture""" arch: String @@ -1987,15 +1984,9 @@ type CoreVersions { """Unraid API version""" api: String - - """Kernel version""" - kernel: String } type PackageVersions { - """OpenSSL version""" - openssl: String - """Node.js version""" node: String diff --git a/unraid_mcp/tools/info.py b/unraid_mcp/tools/info.py index cdefcb3..6e3e3ef 100644 --- a/unraid_mcp/tools/info.py +++ b/unraid_mcp/tools/info.py @@ -18,15 +18,13 @@ QUERIES: dict[str, str] = { "overview": """ query GetSystemInfo { info { - os { platform distro release codename kernel arch hostname codepage logofile serial build uptime } + os { platform distro release codename arch hostname logofile serial build uptime } cpu { manufacturer brand vendor family model stepping revision voltage speed speedmin speedmax threads cores processors socket cache flags } memory { layout { bank type clockSpeed formFactor manufacturer partNum serialNum } } baseboard { manufacturer model version serial assetTag } system { manufacturer model version serial uuid sku } - versions { kernel openssl systemOpenssl systemOpensslLib node v8 npm yarn pm2 gulp grunt git tsc mysql redis mongodb apache nginx php docker postfix postgresql perl python gcc unraid } - apps { installed started } machineId time }