Resource URI

A Resource URI is a unique address used to identify and fetch a specific piece of data (resource) from an MCP server. It follows the standard URI syntax (e.g., file:///path/to/doc.md or mcp://server-id/logs).

How it works

  1. Discovery: The server provides a list of URIs to the client.
  2. Request: The client requests the content of a specific URI.
  3. Response: The server returns the raw content or a structured representation of that resource.

Resource URIs allow models to reference specific documents or data objects with high precision.

Questions & Answers

What is an "MCP Resource URI"?

A resource URI is a unique identifier used to address and fetch a specific piece of data from an MCP server. it follows the standard URI syntax, such as file:///path/to/doc.md or mcp://server-id/logs.

What are the steps involved in a client requesting data via a URI?

First, the client discovers available URIs from the server. Then, the client sends a request for a specific URI, and finally, the server responds with the raw or structured content associated with that unique address.

Why are unique URIs important for AI models using MCP?

URIs provide the high precision required for models to reference specific information within a vast context. By using a standard identifier, the AI can reliably pinpoint and retrieve the exact document or data object needed for its current task.

Back to Glossary