> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whilst.io/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Resources

> Browsable resources exposed by the MCP server

MCP Resources allow AI assistants to browse and read Whilst data without explicitly calling tools.

## Available Resources

### Documents

| URI                       | Description                               |
| ------------------------- | ----------------------------------------- |
| `whilst://documents`      | List all documents in the workspace       |
| `whilst://documents/{id}` | Get a specific document with full content |

### Folders

| URI                     | Description                        |
| ----------------------- | ---------------------------------- |
| `whilst://folders`      | List all folders in the workspace  |
| `whilst://folders/{id}` | Get a folder and its document list |

### Special Views

| URI               | Description                           |
| ----------------- | ------------------------------------- |
| `whilst://recent` | Recently created or updated documents |
| `whilst://pinned` | Pinned/starred documents              |

## How Resources Work

Resources are read-only views that AI assistants can browse. They complement tools by providing discovery:

1. **Browse** — AI reads `whilst://folders` to see the workspace structure
2. **Explore** — AI reads `whilst://folders/{id}` to see folder contents
3. **Act** — AI uses tools like `update_document` to make changes

This browse-then-act pattern gives AI assistants context before taking action.
