Skip to content

Server lifecycle

The local capa server (default around localhost:5912) handles credentials, MCP proxying, and capa sh tool execution. capa install usually starts it for you; use these commands to manage it explicitly.

Terminal window
capa start [-f|--foreground]
capa stop
capa restart
capa status
CommandFlagsDescription
start-f, --foregroundStart the server in the background, or in the foreground for debugging
stopStop the capa server and any active capa wrap sessions
restartRestart the capa server
statusCheck server health and uptime
Terminal window
capa start
capa start -f
capa status
capa restart
capa stop

After changing server commands, env vars, or options.toolExposure, restart so the proxy picks up the new config:

Terminal window
capa install
capa restart