Skip to content

How do I read a complete record from MCP?

Use describe_library to find accessible collections and supported filters. Select a collection and call list_library_records. The page contains previews. Continue with its cursor until completion if the task depends on the whole set.

For a selected URI, call fetch. A history record with content_format: "json" can be split across calls. Concatenate content chunks in order until the next offset is null before parsing the JSON. Keep transcript continuation separate from article text. A read-time budget error means the operation was incomplete.

The reader uses typed user operations. MCP exposes scoped operations with ownership checks and allowlisted results. The app’s server-side code resolves the user from authentication. Read scopes · History recipe

Implementation src/lib/http.ts, api/src/lib/mcpLibraryResources.ts, api/src/lib/mcpReadTools.ts.