Install
Caplets is pre-1.0. Use the latest CLI and latest docs together.
Requirements
Section titled “Requirements”- Node.js 24 or newer for published packages.
- An agent that can use MCP, such as Codex or Claude, or a native integration such as OpenCode or Pi.
One-off setup
Section titled “One-off setup”Use npx if you do not want a global install:
npx caplets setupnpx caplets install spiritledsoftware/caplets osvUse the global CLI if you want caplets on your PATH:
npm install -g capletscaplets setupcaplets install spiritledsoftware/caplets osvcaplets setup configures supported agent harnesses. The OSV Caplet is the recommended
first install because it is public and does not require credentials.
Manual MCP setup
Section titled “Manual MCP setup”If your client does not support caplets setup, add Caplets as a stdio MCP server:
{ "mcpServers": { "caplets": { "command": "caplets", "args": ["serve"] } }}Use npx in the command if you did not install globally:
{ "mcpServers": { "caplets": { "command": "npx", "args": ["--yes", "caplets", "serve"] } }}Check the install
Section titled “Check the install”Run:
caplets doctorIf you use npx, run:
npx caplets doctor