Skip to content

Reference ​

Playbook docs as resources ​

The server exposes playbook reference pages as MCP resources (fetched from https://docs-v2.satori.ci, override with SATORI_DOCS_URL):

Resource URIContent
satori-docs://playbooks/languagePlaybook language
satori-docs://playbooks/assertsAsserts
satori-docs://playbooks/inputsInputs
satori-docs://playbooks/settingsSettings
satori-docs://playbooks/executionExecution
satori-docs://playbooks/tool-outputPrefer JSON tool stdout for TOOL findings

Agents should read satori-docs://playbooks/language before writing or running a playbook. When the playbook runs a security/analysis tool, also read satori-docs://playbooks/tool-output and prefer that tool’s JSON flags.

Prompt ​

write_and_run_playbook guides the agent to read the language docs (and tool-output when using scan tools), write YAML with preferred JSON tool flags, call run_playbook, then summarize with get_execution / get_execution_output / list_findings and include the report_url.

Errors ​

Auth and API failures return small error objects instead of crashing the protocol. If you are not logged in, the response points you to npx -y github:satorici/satori-mcp login; alternatively set SATORI_TOKEN in the server's environment. A 401 means the token is invalid, expired or revoked, and the response points you to login again. A 403 includes a hint: the action may need a PRO or ENTERPRISE plan, or the token is not allowed to do it. When the token lacks a scope, run login again. A token cannot create or revoke API tokens, which you do in the dashboard.


If you need any help, please reach out to us on Discord or via Email