MCP Academy · Lesson

Resource URIs Explained

How resources are addressed with scheme and path.

What a Resource Is

An MCP resource is read-only context your server hands the model, like a file, config, or record. The AI reads it, but never changes it.

Why an Address

Each resource needs a stable name so a client can ask for it by reference. That name is its URI, just like a web page has a URL. 🔗

All lessons in this course

  1. Resource URIs Explained
  2. Serve a Static Text Resource
  3. Read a File from Disk
  4. Set the Right MIME Type
← Back to MCP Academy