{"_id":"@aixstore/aix-doctor","name":"@aixstore/aix-doctor","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@aixstore/aix-doctor","version":"0.1.0","description":"Pre-submit MCP server for AiX marketplace sellers. Run the same review checks AiX runs server-side, locally, before you submit. Consent-gated mutations — every fix shows a diff and asks before writing.","type":"module","bin":{"aix-doctor":"src/cli.mjs"},"main":"./src/index.mjs","exports":{".":"./src/index.mjs"},"engines":{"node":">=18"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","yaml":"^2.5.1","zod":"^3.23.8"},"scripts":{"start":"node src/index.mjs","prepublishOnly":"node scripts/sync-vendor.mjs"},"keywords":["aix","mcp","marketplace","review","claude"],"license":"MIT","_id":"@aixstore/aix-doctor@0.1.0","gitHead":"2e97503fbd37220828af9542701475b9e46292e2","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-orAXHo3uyusyaBLER66cmXCU+xp1TnqHzH4pHm6VTdsGcg4GcV0gqfVpzm0Yc5KqLOUAzIPnvlxqa8xwnDJlcA==","shasum":"264435a7f9544e1bd72669d84c2f8257de1872db","tarball":"https://registry.npmjs.org/@aixstore/aix-doctor/-/aix-doctor-0.1.0.tgz","fileCount":10,"unpackedSize":45042,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDmvtmDo0XBYEdMBzTQw+hXX9/c+Xs2+6HOU7cE0DYkqAIhAOCKa+sA0g9Wna46vg2ZiLdq57IHc8MIuODZn8gJ2fet"}]},"_npmUser":{"name":"balrog_eg","email":"wael.jar@gmail.com"},"directories":{},"maintainers":[{"name":"balrog_eg","email":"wael.jar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aix-doctor_0.1.0_1778254897835_0.22134716917175457"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-08T15:41:37.727Z","0.1.0":"2026-05-08T15:41:38.062Z","modified":"2026-05-08T15:41:38.318Z"},"maintainers":[{"name":"balrog_eg","email":"wael.jar@gmail.com"}],"description":"Pre-submit MCP server for AiX marketplace sellers. Run the same review checks AiX runs server-side, locally, before you submit. Consent-gated mutations — every fix shows a diff and asks before writing.","keywords":["aix","mcp","marketplace","review","claude"],"license":"MIT","readme":"# aix-doctor\n\nPre-submit review for the AiX marketplace. Run the **exact same checks**\nAiX runs server-side, locally, before you submit.\n\n## Why\n\nIf `aix-doctor` says you're green, the post-submit pipeline says the same.\nSame code path (`@aix/review-core`), same verdicts. Stop flying blind into\nreview.\n\n## Install\n\n```bash\nnpm i -g @aixstore/aix-doctor\n# or one-off:\nnpx @aixstore/aix-doctor simulate\n```\n\n## Two ways to use\n\n### 1. CLI (fastest)\n\n```bash\ncd /path/to/your/repo\naix-doctor simulate         # runs every check, prints a report\n```\n\nExit code 0 = green or amber, 1 = red.\n\n### 2. MCP server (in Claude Code / Cursor / any MCP client)\n\n```bash\naix-doctor                  # starts the MCP server on stdio\n```\n\nAdd to your client's MCP config (Claude Code: `~/.claude/mcp_settings.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"aix-doctor\": { \"command\": \"aix-doctor\" }\n  }\n}\n```\n\nTools exposed:\n\n| Tool | What |\n|---|---|\n| `aix.check_structure` | README / spec / manifest / icon / screenshots present? |\n| `aix.validate_spec` | Same Zod validator AiX uses on `aix.deploy.yaml` |\n| `aix.review_security` | Secret leaks, raw pg, hand-rolled auth, SDK pinning |\n| `aix.review_db_migration` | Migration plan to `@aix/db-adapter` |\n| `aix.review_sso` | Migration plan to `@aix/auth-sdk` |\n| `aix.review_yaml_pipeline` | Build/runtime/aix_auth block sanity |\n| `aix.simulate_review` | All of the above, end-to-end. Returns `green | amber | red` |\n| `aix.scaffold_plan` | Plan files to create — **returns diff only, no writes** |\n| `aix.scaffold_apply` | Apply a confirmed scaffold plan |\n\n## Consent model\n\n**Mutations always require consent.** `aix.scaffold_plan` returns the file\nlist and bodies it would write; the client (Claude Code, Cursor, etc) is\nexpected to show this to you and only call `aix.scaffold_apply` after you\nsay yes. The default behavior of every MCP-aware coding agent is to do\nexactly that.\n\nBy contrast, the post-submit AiX pipeline auto-merges fixes — but those\nland in our **mirror** of your repo, not your source. Two different copies,\ntwo different policies.\n\n## License\n\nMIT.\n","readmeFilename":"README.md","_rev":"1-4627e9de03f2bc4c5188b0dcf5df0eb6"}