Skip to main content
Resources expose read-only data to MCP clients. Unlike tools (which perform actions), resources provide context:database schemas, config files, documentation, or any data the LLM needs to make better decisions.

Defining Resources

The resource URI (resource://app/settings) is how clients reference this resource. For ChatGPT widget apps, use the ui:// scheme (e.g. ui://widget/my-widget).

Resource Templates

Use URI templates for dynamic resources:

When to Use Resources vs Tools

Resources are fetched once at the start of a conversation and cached. Use them for stable context that doesn’t change per-request.

Resources with Stages

Resources can be scoped to stages, just like tools. This means the LLM only sees resources relevant to the current workflow step.