MCP resource
Definition
Data that an MCP server makes available by URI, such as a file, a database record or an API response, for the host to read into context.
In more detail
Tools are actions the model chooses to call; resources are data the application or user chooses to attach. A file browser server might expose each file as a resource while also offering a search tool.
Each resource has a URI, such as file:///project/README.md or a custom scheme like db://customers/schema, a name and a MIME type. Servers can list fixed resources or offer URI templates for families of them, and can notify clients when a resource changes.
Client support for resources varies more than support for tools. If your server must work in many clients, expose important data through a tool as well, and test with the MCP Inspector to see exactly what a client receives.
Related terms
MCP client
The component inside a host application that holds a connection to a single MCP server and relays messages to and from that server.
MCP prompt
A reusable prompt template offered by an MCP server, which users usually pick explicitly, for example as a slash command in chat.
MCP server
A program that exposes tools, resources or prompts to MCP clients, running locally over stdio or remotely over HTTP, so any MCP host can use them.
Tool calling
A model emitting a structured request to call a defined function, which your code runs and whose result is then fed back to the model.
MCP Apps
An official MCP extension that lets a tool return an interactive interface, such as a form or chart, shown in a sandboxed frame in the chat.
MCP tool
A function that a Model Context Protocol server exposes for a model to call, described by a name, a description and a JSON Schema for its input.
Read more about MCP resource
- Model Context Protocol
Connecting AI applications to tools and data through MCP servers and clients.
- MCP explained: hosts, clients, servers and transports
What MCP is and how the Model Context Protocol connects AI apps to tools and data: hosts, clients, servers, transports and what the 2026-07-28 spec changed.
- MCP Inspector
Browser-based tester that connects to an MCP server and calls its tools by hand.