# MCP resource: definition and example

URL: https://mcpservercybersecurity.com/glossary/mcp-resource/
Updated: 2026-11-16

An MCP resource is a piece of data that a server shares with a client, identified by a URI, such as a file, a database schema or application-specific information. Resources are application-driven: the host decides how to bring them into the model's context. Access control on resources must be enforced by the server, since the protocol does not do it.

## Example

A FastMCP advisory from 23 Oct 2026 says a denied concrete resource now shadows a matching resource template at its URI, so proxy templates cannot retrieve the same protected resource upstream.

## Sources

- [GHSA-7xgj-8392-5q4r: FastMCP post-transform authorization](https://github.com/advisories/GHSA-7xgj-8392-5q4r) (github.com), read 2026-11-16

## Related pages

- [Tool schema](/glossary/tool-schema/)
- [MCP authorization](/glossary/mcp-authorization/)
- [Path traversal](/glossary/path-traversal/)
- [All glossary terms](/glossary/)
- [MCP Registry](/glossary/mcp-registry/)
- [MCP roots](/glossary/mcp-roots/)
- [Guides](/guides/)
