Whatever message this page gives is out now! Go check it out!
file:///var/log/app.log, reports://sales/2025-02-01, etc.).urimimeTyperesources/read on a URI, and the server’s handler does the rest. text/plain – plain text logs, notes, or configsapplication/json – JSON objects, reports, or structured datasetstext/markdown – markdown documentstext/html – HTML pages or fragmentsapplication/pdf – PDF documents (if supported by your tools)application/jsontext/plainresources/read result might look like:
{
"contents": [
{
"uri": "logs://app/today",
"mimeType": "text/plain",
"text": "2026-03-01 10:00:01 ERROR ...\n2026-03-01 10:03:15 WARN ...\n..."
}
]
}
{
"contents": [
{
"uri": "reports://sales/2025-02-01",
"mimeType": "application/json",
"text": "{ \"date\": \"2025-02-01\", \"total\": 123456, \"regions\": [...] }"
}
]
}
json field instead of raw text when convenient, but the MIME type remains your primary hint about how the contents should be interpreted. resources/list.resources/read, then:mimeType.