Test a read-only Dosya MCP operation

Run list_workspaces and list_folder against the pinned workspace, inspect structured paging fields, and confirm that no stored content changes.

Last reviewed

Use a listing call for the first MCP test. It proves authentication, workspace confinement, structured output, and read-only behavior without downloading file bytes or spending the daily content-read allowance.

Four panels show calling list_workspaces, listing the selected workspace root, reading the structured paging fields, and confirming that stored files remain unchanged.
Four panels show calling list_workspaces, listing the selected workspace root, reading the structured paging fields, and confirming that stored files remain unchanged. Open full-size screenshot.

Steps

  1. In the connected MCP client, call list_workspaces with no arguments. Record the returned workspace_id; a valid grant lists only the workspace chosen on the OAuth consent screen.
  2. Call list_folder with that workspace_id and omit folder_id to request the accessible root. For a folder-confined member this is the permitted anchor, not the whole workspace root. Also omit paging values for the default page 1 and 25-entry window.
  3. Inspect structuredContent.entries. Folder rows and file rows include kind, id, name, folder_id, and an app URL; files also report byte size, MIME type, and modification time when available.
  4. Read page and next_page. If next_page is a number, call the same tool with that page; stop when it is null. A client may request 1 through 100 entries per page.
  5. Open Dosya separately with the same account and compare the returned names with its accessible root in the selected workspace. For a folder-confined member, compare the permitted anchor. Hidden and deleted content is excluded, and the connection must not reveal another workspace or an end-to-end encrypted Space.
  6. Refresh the web listing and confirm no file, folder, share, or version changed. The MCP server exposes no mutation tool, and every registered operation declares itself read-only and non-destructive.

list_folder uses API request capacity but does not count as a content read. If you later test read_file, the current defaults are a 100,000-character window, a 25 MiB conversion ceiling, and a 45-second conversion deadline. The Free plan defaults to 100 file reads and 25 image conversions per UTC day; paid plan defaults are unlimited.

Reference for “Test a read-only Dosya MCP operation”: Dosya REST API overview page with Get API Key and View SDKs links.
Reference for “Test a read-only Dosya MCP operation”: Dosya REST API overview page with Get API Key and View SDKs links. Open full-size screenshot.

Expected result

list_workspaces returns the pinned workspace and list_folder returns a structured, paginated snapshot of the member’s accessible root, including the permitted anchor for a folder-confined member. Rechecking Dosya shows that the operation created, changed, shared, and deleted nothing.

The result says Not visible to this connection. Confirm the identifier belongs to the workspace selected during OAuth consent and that the signed-in member still has access.

The service says it is unavailable. Retry shortly without reconnecting; temporary gateway failures deliberately produce dosya could not be reached just now rather than invalidating the credential.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.