Connect an AI app to Dosya
Connect an AI client to one readable workspace, inspect its verified destination and scopes, then confirm the saved grant before using private files.
Last reviewed
An AI client connects to Dosya through OAuth at https://mcp.dosya.dev/mcp. The approval grants read access to one workspace; it does not give the app your password or an API key.

Before you connect
- Start from the client you intend to use and enter the Dosya MCP server URL there. A bare browser visit is not a connection request.
- Sign in to the Dosya account that belongs to the target workspace. The consent transaction lasts 10 minutes; an expired request must be started again from the AI client.
- Issued access tokens last 1 hour. Refresh use keeps a connection alive only while it is used at least once every 30 days, and every grant reaches an absolute 180-day reconnect ceiling.
- Use a harmless file for the first read. Once an external app reads content, disconnecting cannot delete copies already held by that app.
- A regular workspace can be offered when you are a member. End-to-end encrypted Spaces are excluded because the server cannot read their files. Approval has no paid-plan gate and cannot bypass workspace membership.
- The source catalog gives each Free-plan connection 100 text file reads and 25 image conversions per UTC day. The current paid-plan defaults are unlimited for those two counters; a plan change is read on the next call.
Steps
- In Claude, ChatGPT or another MCP client, add
https://mcp.dosya.dev/mcpas the server and begin its connect flow. - Complete Dosya sign-in if prompted. If the page says That link is not valid, return to the client and start again; do not reuse or edit the URL.
- Read the identity badge. Claude and ChatGPT are shown as verified only when the authorization code will return to a recognized Claude or ChatGPT hostname. A different remote client shows Not verified · sends to host. A loopback callback warns, This sends access to an app on your computer.
- Under Workspace it can read, select the intended workspace. With one eligible workspace, Dosya selects it automatically; with several, Allow stays disabled until you choose one. If none qualify, the page says You have no workspace this app can read. End-to-end encrypted Spaces cannot be connected.
- Review the scope list. Find and read files in workspace is required and cannot be unchecked. If the client asked for
account.read, See your plan and storage appears as an optional checked permission that you may clear. - Confirm the exclusions shown on the page: the grant cannot change, share or delete anything, and cannot open other workspaces or your Vault.
- Select Allow app name. To abandon the request without creating a grant, select Deny instead. Dosya then returns the authorization result to the callback host displayed on the page.

Expected result
The client resumes after authorization and can find and read files only in the selected workspace. Open the account menu, choose Profile, then Connected AI apps. Its row shows the client name, workspace, connection time and permission chips such as Read files and, when granted, Plan and storage.
Try one read of a non-confidential item. A file from another workspace, an E2EE Space or the Vault must remain unavailable, and the connector has no write, share or delete permission.
If the connection fails
- This request expired. Go back to your AI app and connect again. means the ten-minute consent handle is no longer usable.
- Could not connect the app. Please try again. covers an unexpected client or network failure. Restart at the client if a retry does not resume the same request.
- The server returned an unexpected destination means the returned host differed from the one shown before approval. Stop and initiate a new connection; do not follow a replacement address manually.
- A
401during the flow sends you through Dosya sign-in. The approval still has to belong to the same signed-in user who opened the consent request. - If the row cannot be inspected, Connected apps could not be loaded. Try again in a moment. reports a listing failure; it does not prove that no grant exists.
Related guides
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.