Expand description
MCP server provisioning — runtime availability checks and package pre-installation.
Called immediately after a server is added via the registry browser so that the required runtime (Node/npx or uv/uvx) is verified and the package is pre-fetched before the first connection attempt.
§Transport handling
| Transport | Strategy |
|---|---|
Stdio — npx | Verify npx is on PATH; pre-warm npx cache with 60 s timeout |
Stdio — uvx | Verify uv is on PATH; run uv tool install (idempotent, 120 s) |
| Stdio — other | Verify the command binary is on PATH; no install step |
| HTTP / SSE | Skip — remote server, nothing to install |
Structs§
- Provision
Result - Result returned to the frontend after a provisioning attempt.
Enums§
- Provision
Status - Outcome of a provisioning attempt.
Functions§
- provision_
mcp_ server - Check runtime availability and pre-install/fetch the package for
entry.