Back to Glossary Index
Core ConceptData / Content Layer

MCP Resource Contents

Industry Definition Set • Entity Resolution Path: /glossary/mcp-resource-contents

Quick Answer / TL;DR

The actual data payload returned when a client reads an MCP resource, which can be text, binary, or structured data.

Key Takeaways

  • Actual data payload of an MCP resource.
  • Can be text (UTF-8) or binary (base64-encoded blob).
  • Includes MIME type for client rendering.
  • A single resource can have multiple content items.
Definitive Statement: The actual data payload returned when a client reads an MCP resource, which can be text, binary, or structured data.

Technical Context & Protocol Usage

Detailed Explanation
When a client reads a resource, the server returns a `contents` array containing one or more content items. Each item has a URI, MIME type, and either a `text` or `blob` field. Text content is UTF-8 encoded; binary content is base64-encoded. The MIME type tells the client how to render or process the content.

Format & Payload Metadata

Format: UTF-8 text or base64-encoded binary blob

Latency: Depends on resource size and transport

Real-World Implementation Use Case

Reading a `file:///config.json` resource returns a JSON text content item with MIME type `application/json`.

M
MCPserver.in Engineering

Platform Team

Published: 2026-07-20
Updated: 2026-07-20

Cite This Page

MLA Style:

MCPserver.in Engineering. "MCP Resource Contents." MCPserver.in Knowledge Hub, 20 July 2026, mcpserver.in/glossary/mcp-resource-contents.