## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# MCP Resources

The MCP server exposes read-only resources across three URI schemes: `analysis://`, `status://`, and `workflow://`.

## Available Resources

Resource URI | Description
--- | ---
`analysis://schema` | JSON schema for compliance artifacts
`analysis://guide/{framework_id}` | Analysis guide for a specific framework
`analysis://control/{framework_id}/{control_id}` | Analysis guidance for a specific control within one framework scope
`status://cli` | Current CLI version, update availability, and upgrade guidance
`workflow://recipe/{recipe_id}` | Step-by-step workflow recipe for common compliance tasks

## Usage

Access these resources via `ReadMcpResourceTool` with `server: "pretorin"` in your MCP client.

### Analysis Schema

`analysis://schema`

Returns the JSON schema for structured compliance artifacts. Use this when generating artifact JSON to ensure correct structure. See Artifact Schema for documentation.

### Framework Analysis Guide

`analysis://guide/{framework_id}`

Available framework guides:

- `analysis://guide/fedramp-moderate`
- `analysis://guide/nist-800-53-r5`
- `analysis://guide/nist-800-171-r3`

Returns framework-specific analysis guidance including purpose, target audience, scope, and assessment methodology.

### Control Analysis Guidance

`analysis://control/{framework_id}/{control_id}`

Example: `analysis://control/fedramp-moderate/ac-02`

Returns control-specific analysis guidance including search patterns, evidence examples, and assessment criteria for one framework scope.

### CLI Status

`status://cli`

Returns the current CLI version, latest available version, whether an update is available, passive notification status, check state (verified/unverified), and the upgrade command. MCP hosts can inspect this resource to surface update guidance.

### Workflow Recipes

`workflow://recipe/{recipe_id}`

Returns a step-by-step workflow recipe for common compliance tasks. Available recipes are listed dynamically via the MCP `list_resources` method.