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

# MCP Resources

> Import read-only MCP resources for deterministic workflow reads or agent context.

Resources are read-only MCP capabilities. Use them for stable external context such as policies, templates, docs, or product metadata.

A resource import exposes an MCP resource to a workflow.

```wire theme={"languages":{"custom":["/languages/wire.tmLanguage.json"]}}
resource project_readme from mcp.tasks.resource.project_readme
```

Read a resource in a dynamic block:

```wire theme={"languages":{"custom":["/languages/wire.tmLanguage.json"]}}
dynamic {
    readme: read resource.project_readme
}
```

Resources can also be provided to agents through `uses`.

```wire theme={"languages":{"custom":["/languages/wire.tmLanguage.json"]}}
agent writer {
    model: model.fast
    uses: [resource.project_readme]
    instruction: "Use the project README to write a short overview."

    output {
        overview: string
    }
}
```

Use `dynamic { read resource.* }` when the workflow must always load the resource.

Use `uses: [resource.*]` when the model should decide whether to read it during that step.

## See also

* [MCP and Tools Overview](/mcp/overview)
* [MCP Servers](/mcp/mcp-servers)
* [MCP Prompts](/mcp/prompts)
* [MCP Tools, Prompts, and Resources example](/examples/mcp-tools)
