Spec0docsCLI 0.7.0
CLICommands

spec0 mcp install

Install the Spec0 MCP server into Cursor and/or Claude

Auto-generated from spec0 commands --output=json. Do not edit by hand — changes are overwritten by npm run sync:cli-docs.

Usage

spec0 mcp install [options]

Flags

flagdescriptiondefault
--client <client>Target client: cursor, claude, or allall

Exit codes

Stable contract — branch on these from CI and agents.

codemeaning
0success
1generic / unclassified failure
2usage error (bad flags, missing args)
3not authenticated (no token / token expired)
4permission denied (403)
5resource not found (404)
6conflict (409 — e.g. name already taken)
7validation failed (422 — e.g. spec below min score)
8rate limited (429)
9upstream server error (5xx)
10network error (unreachable, timeout)

See also

Was this helpful?

On this page