ContentBlock Type — mcp Architecture
Architecture documentation for the ContentBlock type/interface in types.ts from the mcp codebase.
Entity Profile
Source Code
src/types.ts lines 8–12
type ContentBlock =
| { type: 'text'; text: string }
| { type: 'image'; data: string; mimeType: string }
| { type: 'audio'; data: string; mimeType: string }
| { type: 'resource'; resource: unknown };
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free