check_install
Read-only. Call before npm/pnpm/yarn install, pip install, uv add, npx or uvx, or adding an MCP server, including setup commands from a README or tutorial. Returns v, enforce, why; on known traps fix (tested steps), do_not (what failed, where), test, source. enforce=block: stop. enforce=ask: ask your person first. v=fix_first: use fix, not your command. Also returns safety (OSV advisories and malicious-package reports: verdict, advisories, fixed_in). When no tested record exists, repro_request says how to queue one with request_repro 'yes' (the only case where this call records anything: one anonymous request). Missing evidence is not safety clearance. Skip packages already pinned in a lockfile you are not changing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Optional. 'full' adds tested_on, untruncated notes, records and links. | |
| target | Yes | Package or server as you would install it, e.g. tailwindcss@4, psycopg2, @modelcontextprotocol/server-filesystem. | |
| ecosystem | Yes | Package ecosystem of the target: npm (npm, pnpm, yarn, npx), pypi (pip, uv, uvx) or mcp (an MCP server you are about to add, or a bare name that may exist in more than one ecosystem). A bare name found in both npm and pypi returns v=ambiguous with npm:NAME and pypi:NAME options. | |
| runtime_env | No | Optional, e.g. node 20 linux. | |
| request_repro | No | Optional. 'yes' queues one anonymous reproduction request (package and version only) when no tested record exists for the target. |