# MCP resources

> Canonical: https://skillalmanac.com/glossary/mcp-resources | Last verified: 2026-11-25 | Index status: index-eligible

MCP resources are data that a Model Context Protocol server shares as context for a language model, such as files or database schemas. Each is identified by a URI, and the host application decides how to use it.

Also called: MCP resource, model context protocol resources.

## In plain language

When an AI app connects to an MCP server (a small program that gives the app access to something such as your files or a database), the server can offer more than actions. It can also offer things to read: a document, a table layout, a log. These are called resources. Each has an address, like a file path, so the app can ask for exactly that item and put its contents in front of the model. The host controls how resources are incorporated and may use explicit user selection, heuristics or model-assisted selection; the protocol does not prescribe one interface. A resource can hold private data, so connect servers only when you trust what they expose.

## Technical definition

The MCP specification (revision 2025-06-18) says servers that support resources must declare the resources capability, with optional subscribe and listChanged features. Clients discover items with resources/list, which supports pagination, read them with resources/read by URI, and list parameterised ones with resources/templates/list, which uses URI templates. Contents are text or base64 binary, with an optional MIME type. With subscribe, a client can be notified through notifications/resources/updated. The spec calls resources application-driven and requires servers to validate all resource URIs. A later specification revision, dated 2026-07-28 in the docs, changes the subscription mechanism to a subscriptions/listen request, so check the current revision. The operations above belong to the cited revisions. Use the resource operations of the revision your client and server support; do not combine method names across revisions.

## How it shows up when you use agents

In an MCP host such as Claude Code, a server can expose tools and resources. Tools are what the model can ask the host to run. Resources are readable context, identified by URIs such as a file path, and the specification says they are application-driven: the host decides how to include them. Some hosts show a picker for the user, and others include context automatically. The specification does not mandate one interface.

What breaks when this is misunderstood: people put a read-only reference, such as a schema, behind a tool and then wonder why the model sometimes does not call it. Or they assume a resource is visible to the model, when the host may not surface it at all. Check what your host supports.

Resource content consumes [context-window](/glossary/context-window) capacity only when a host includes it. Any usage charge then depends on the product, plan and accounting rules. Resources can contain sensitive data: the 2025-06-18 specification requires URI validation and proper binary encoding, and recommends access controls and permission checks for sensitive operations; the 2026-07-28 revision additionally requires path sanitization when serving `file://` resources. Next step: read the [tools, resources and prompts guide](/learn/mcp-tools-resources-prompts), then run `claude mcp list` to see which servers you have. See also [Model Context Protocol](/glossary/model-context-protocol) and [MCP server](/glossary/mcp-server).

## Common confusions

- **Resource versus tool.** A tool is a function the model can ask to run, and it can act on a system. A resource is data identified by a URI that the host reads and supplies as context.
- **Resource versus prompt.** A prompt is a templated message. A resource is content to read.
- **Application-driven versus model-driven.** The host controls incorporation, but it may use user choice, heuristics or AI-model selection. Do not assume either that the model chooses every resource or that model-assisted selection is forbidden.
- **Myth: a resource has to be a file.** The file:// scheme is common, but the specification says the resources do not need to map to a physical filesystem, and custom URI schemes are allowed.

## Worked examples in this catalogue

### [MCP Tools, Resources, and Prompts: Which to Use](https://skillalmanac.com/learn/mcp-tools-resources-prompts)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A guide that compares MCP tools, resources and prompts by who triggers each one, what it returns, and whether the model or the user decides when it runs.

Why it exercises the concept: It puts resources next to the other two server features, which is where most confusion about them starts.

### [What Is an MCP Server? Tools, Resources and Prompts](https://skillalmanac.com/learn/what-is-an-mcp-server)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A walk-through of one request to a weather server, and the three server primitives: tools, resources and prompts.

Why it exercises the concept: Shows where resources sit among the things a server exposes.

### [mcp-server-builder](https://skillalmanac.com/skills/skill-almanac/mcp-server-builder)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A design review of an MCP server that validates its tool manifest.

Why it exercises the concept: Deciding whether something should be a resource is a design choice this skill checks.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
claude mcp list
```

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Claude Code prints the MCP servers configured for it, with a status next to each one.

Why it exercises the concept: Claude Code connects to MCP servers, and this command lists configured servers and their status. It does not prove that a server exposes resources; in Claude Code, supported resources can instead be listed or referenced through its resource interfaces.

## Related terms

- [Model Context Protocol (MCP)](https://skillalmanac.com/glossary/model-context-protocol.md)
- [MCP server](https://skillalmanac.com/glossary/mcp-server.md)
- [MCP client](https://skillalmanac.com/glossary/mcp-client.md)
- [Tool calling (function calling)](https://skillalmanac.com/glossary/tool-calling.md)
- [Context window](https://skillalmanac.com/glossary/context-window.md)
- [Agent skill](https://skillalmanac.com/glossary/agent-skill.md)

## Sources

- [Resources (specification 2025-06-18)](https://modelcontextprotocol.io/specification/2025-06-18/server/resources), Model Context Protocol (accessed 2026-11-25)
- [Resources (current specification page; redirected to specification 2026-07-28 when retrieved)](https://modelcontextprotocol.io/docs/concepts/resources), Model Context Protocol (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
