ai-disk-doctor-integrations
This server is a non-destructive diagnostic MCP integration layer for AI Disk Doctor Core, exposing read-only/bounded tools for checking Core status, scanning, model inventory, diffing, capability discovery, and explainability.
core_status: Checks local Core availability, expected/tested version, command surface, and compatibility status.scan_summary: Runs a non-destructive Core scan and returns a bounded projection of findings; may persist a Core-owned snapshot under.aidisk/reports.ai_model_inventory: Returns metadata-only model/cache inventory from Core, without reading model, prompt, source, token, or credential contents.latest_diff: Invokes Core'saidisk diff --latest --jsonto summarize changes between the latest snapshots.aidisk_capabilities: Discovers Core's machine-readable capability contract and explainability readiness gate (no model input, no side effects).aidisk_workspace_explain: Runs read-only Core explainability with no snapshot and optional validated category, returning bounded storage/evidence/handling summaries.The server is strictly non-destructive: no clean, restore, quarantine, delete, arbitrary shell, executable, rules, or filesystem mutation tools are exposed.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ai-disk-doctor-integrations Run a disk scan summary and show me the report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Disk Doctor Integrations
Universal local Agent Skill and non-destructive diagnostic MCP server for AI Disk Doctor Core.
This repository is an integration and distribution layer. It does not implement a second scanner, cleaner, risk engine, recovery model, policy system, history engine, or explainability engine. The local Core remains the execution and policy source of truth.
Current Alpha Scope
The MCP server exposes six tools:
Tool | Behavior | Model-facing inputs | Core side effect |
| Discover Core's machine-readable capability contract and evaluate the explainability readiness gate | None | None |
| Run Core explainability through the fixed no-snapshot diagnostic contract and return bounded storage/evidence/handling summaries |
| None |
| Check Core availability, required command surface, and compatibility provenance | None | None |
| Run |
| Current Core CLI may save |
| Run |
| None intended |
| Run Core-owned | None | None |
The current Alpha exposes no clean, restore, quarantine, delete, arbitrary shell, arbitrary executable, arbitrary rules/policy path, arbitrary reports directory, or arbitrary filesystem mutation tool. aidisk_workspace_explain is read-only and invokes only aidisk explain --json --snapshot skip with an optional validated category selector.
Current Core Baseline
Tested Core baseline: v1.8.0 release at
3e3f38535af74dcb168c7c1f01773a1b80fee052.Pinned Core provides
agent-capabilities-v1andagent-diagnostic-cli-v1, embeddingexplainability-v1schema1in the fixedexplain --json --snapshot skipresponse.
Related MCP server: local-tools-mcp-server
Install
Prerequisites
Node.js 18 or newer.
AI Disk Doctor Core v1.8.0 on
PATHasaidisk/aidisk.exe, or setAIDISK_EXE. On Windows x86_64, I3 setup can acquire the official release automatically when neither is supplied.This integration is tested against Core release v1.8.0 at
3e3f38535af74dcb168c7c1f01773a1b80fee052. Runtime compatibility is checked bycore_statusand the machine-readableaidisk capabilities --jsoncontract; current Core binaries do not expose a runtime git revision, so the exact revision is recorded as release provenance rather than claimed from runtime detection.
Install from a checkout:
git clone https://github.com/quzhiii/ai-disk-doctor-integrations.git
cd ai-disk-doctor-integrations
npm install
npm startThe process uses MCP stdio transport and should be started by an MCP client. The npm dependency set is locked in package-lock.json.
I3 Self-Service Alpha
For the Windows-first Claude Code path, use the package-managed setup and
verification commands documented in docs/I3_SELF_SERVICE.md:
npm install
node scripts/i3.mjs setup --workspace C:\path\to\workspace --core C:\path\to\aidisk.exe
node scripts/i3.mjs verify --workspace C:\path\to\workspace --core C:\path\to\aidisk.exeSetup refuses to overwrite an unowned same-name Claude registration. The safe
Alpha launch uses a temporary strict MCP configuration with only the existing
diagnostic MCP tools and denies host mutation/shell tools. feedback writes a
local redacted receipt only when explicitly requested; uninstall removes only
the package-owned local Claude registration.
OpenCode
OpenCode supports project-local MCP declarations in opencode.json or opencode.jsonc:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ai-disk-doctor": {
"type": "local",
"command": ["node", "C:/absolute/path/to/ai-disk-doctor-integrations/src/server.js"],
"cwd": "C:/absolute/path/to/your-workspace",
"environment": { "AIDISK_EXE": "aidisk" },
"enabled": true
}
}
}Set cwd to the user workspace where Core snapshots should be stored, rather than the integration checkout. Then use opencode mcp list or ask the agent to check core_status. The checked-in example is under adapters/opencode/opencode.jsonc.
OpenCode Agent Skills are discovered from .opencode/skills, .claude/skills, or .agents/skills. Copy or symlink skills/ai-disk-doctor into one of those locations for a project or user installation.
Qwen Code
Qwen Code supports local stdio MCP servers and extensions in current official documentation. Equivalent .qwen/settings.json entry:
{
"mcpServers": {
"ai-disk-doctor": {
"command": "node",
"args": ["/absolute/path/to/ai-disk-doctor-integrations/src/server.js"],
"cwd": "/absolute/path/to/your-workspace",
"env": { "AIDISK_EXE": "aidisk" },
"trust": false
}
}
}The repository root is a Qwen extension package through qwen-extension.json; see adapters/qwen/README.md. The locally installed Qwen CLI in this environment was too old to expose documented MCP/extension subcommands, so client smoke is not claimed.
CodeBuddy / WorkBuddy
Exact packaging is deferred until an official, locally testable CodeBuddy / WorkBuddy client contract is available; see adapters/codebuddy/README.md. No Expert persona or vendor-specific risk logic is included.
TRAE
TRAE MCP and Skill docs exist, but exact project packaging is deferred until a TRAE client is locally available for validation; see adapters/trae/README.md.
Safety Boundary
MCP transport is local stdio only.
core_status.server.modeisnon-destructive-diagnostic: the server exposes no destructive action, butscan_summarycan cause Core-owned snapshot persistence.The server starts only the configured
aidiskexecutable with fixed allowlisted argv.aidisk_capabilitiesaccepts no model-facing input and invokes only the fixedaidisk capabilities --jsonargv.Model-facing inputs are limited to
aidisk_workspace_explain.category,scan_summary.category, andai_model_inventory.tool.aidisk_workspace_explainfirst checksaidisk capabilities --json, then invokes onlyaidisk explain --json --snapshot skipwith an optional validated--category. It rejects missing/unsupported contracts, malformed response envelopes, and snapshot-writing behavior.No model-facing rules, policy, root, reports directory, executable, shell, cleanup, quarantine, restore, or delete parameter exists.
scan_summaryis non-destructive butreadOnlyHint: falsebecause current Core CLI scan persists a Core-owned snapshot. It isdestructiveHint: falseand does not modify user/workspace files.Output is bounded: scan findings, model assets, diff changes, Core stdout/stderr capture, error evidence, and MCP text content all have hard limits.
Model inventory is metadata-only according to the Core contract; this integration does not read prompt, transcript, source, document, token, cookie, credential, or model binary contents.
aidisk_capabilitiesdoes not parse human help text or infer support from version numbers. Missing, malformed, or unsupported capability contracts fail closed.
Agents must never bypass these rules by deleting paths with shell commands. If a future mutation flow is approved, it must use a separate Desktop-mediated authorization surface.
Development
npm install
npm run check
npm test
npm audit --audit-level=moderate
git diff --check
cargo fmt --manifest-path spikes/rust-direct-core/Cargo.toml -- --check
cargo run --manifest-path spikes/rust-direct-core/Cargo.tomlFor a real Core smoke, use the official Core v1.8.0 release or build release baseline 3e3f38535af74dcb168c7c1f01773a1b80fee052, set AIDISK_EXE to that binary, and run npm test. CI includes a current-release AIDISK_EXE smoke in addition to protocol-only Node tests and the Rust direct-Core spike.
License
The integration source is dual-licensed under MIT or Apache-2.0. See LICENSE-MIT and LICENSE-APACHE. Core licensing remains governed by the public Core repository.
Status
I3 Self-Service Safe Alpha. This repository is not the commercial Desktop and contains no accounts, billing, entitlements, telemetry, cloud synchronization, or proprietary Desktop code.
Available Tools
4 toolsai_model_inventoryAI Model And Cache InventoryARead-onlyIdempotent
Use AI Disk Doctor's existing metadata-only model inventory with Core defaults and return a bounded asset projection. It does not read model, prompt, source, token, or credential contents and does not mutate files.
Inputs: tool. Returns: ok, tool, roots, assets, +8 more
core_statusAI Disk Doctor Core StatusARead-onlyIdempotent
Check local AI Disk Doctor Core availability, required command surface, semantic version, and compatibility provenance without scanning or modifying files.
Inputs: no named parameters. Returns: ok, core, server
latest_diffAI Disk Doctor Latest DiffARead-onlyIdempotent
Use Core-owned latest snapshot discovery and diff semantics through aidisk diff --latest --json. No reports directory or paths are accepted from the model.
Inputs: no named parameters. Returns: ok, tool, after, before, +7 more
scan_summaryAI Disk Doctor Scan SummaryA
Run AI Disk Doctor's existing non-destructive scan and return a bounded projection of Core JSON evidence. The current Core CLI may persist an AI Disk Doctor-owned snapshot under .aidisk/reports; it does not mutate user files.
Inputs: category. Returns: ok, tool, policy, summary, +7 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: scan_summary runs a scan, core_status checks the Core installation, ai_model_inventory lists models, and latest_diff computes diffs. No overlap or ambiguity in their responsibilities.
All names are lowercase snake_case, but they do not follow a consistent verb_noun pattern. scan_summary starts with a verb, while core_status, ai_model_inventory, and latest_diff are noun-led or adjective-noun, creating slight inconsistency.
With 4 tools, the set is small but well-focused on the disk doctor integration's core needs: scanning, status, inventory, and diffing. It is neither bloated nor insufficient for the stated purpose.
The tools cover primary operations (scan, check status, list models, diff latest snapshots), but lack explicit snapshot management or detailed per-file reporting. Minor gaps that an agent could potentially work around.
Related MCP Connectors
Read-only MCP server exposing a user ORANO library to their own AI agent.
Read-only MCP server for the OPERANT AI operating-agent calibration benchmark.
Read-only, no-auth MCP server over Human x AI's Content Hub and confirmed 2027 facts.
Ovanek MCP: Model Context Protocol server for Ovanek platform tools; writes are dry-run by default.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- FlicenseAqualityDmaintenanceA read-only MCP server that enables AI assistants to search files, list directories, retrieve system info, and get file metadata on the local file system.4-
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server that exposes Autopsy digital forensics case data as tools, enabling LLM clients like Cline to browse filesystems, query artifacts, and search keywords without modifying the case.1MIT
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server for Markdown, MDX, and OpenAPI docs, exposing list, search, fetch, and OpenAPI spec tools over stdio.1MIT