0Pricing
MCP Academy · Lesson

Set the Right MIME Type

Tell clients whether content is text, JSON, or more.

What a MIME Type Is

A MIME type is a short label that tells a client what kind of content a resource holds, such as plain text, JSON, or an image.

Why It Matters

The label lets the client render and parse content correctly. Without it, a client might show raw JSON as text or mishandle a binary blob. 🏷️

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