On this page

Connect an MCP client

The Dryv Platform has an MCP server. An AI assistant that supports MCP can use it to search the Dryv docs and to read, validate, plan and generate your Playground projects.

The server is at:

text
https://api.dryvcode.com/mcp

It uses Streamable HTTP. You need a Dryv account. There are no tokens to copy: your client signs you in with OAuth in the browser.

Connect

  1. Add a remote MCP server in your client with the address above. Most clients call this a "remote", "HTTP" or "Streamable HTTP" server.
  2. Connect. The client opens your browser.
  3. Sign in to Dryv if you are not signed in. Your email must be verified.
  4. The consent page shows the app's name, where the answer goes and what each permission allows. Choose Approve or Decline.

The client can now use the tools you approved.

Permissions

ScopeWhat the client can do
mcp:readSearch the docs, list your organizations and projects, read snapshots, files and activity, and start validate and plan runs.
mcp:writeAlso start generate runs and restore snapshots.

A client with read access only does not see the write tools.

Tools

ToolScopeWhat it does
documentation_searchreadSearch the public Dryv docs. Returns titles, links and short excerpts.
organizations_listreadList your organizations and your role in each.
projects_listreadList the projects in an organization you can read.
project_snapshots_listreadList a project's saved snapshots.
project_snapshot_files_listreadList the paths in a snapshot. No file contents.
project_snapshot_text_file_readreadRead one UTF-8 text file of up to 64 KiB from a snapshot.
project_activity_listreadList recent project activity.
project_validatereadValidate a snapshot in a hosted run. Never changes files.
project_planreadPlan generation for a snapshot. Never writes files.
project_run_getreadRead a run's status, report and output paths.
project_generatewriteGenerate from a snapshot. The output stays a private run output; it is never written into the project.
project_snapshot_restore_proposewritePrepare a snapshot restore. Changes nothing until confirmed.
project_snapshot_restore_confirmwriteConfirm a proposed restore within 10 minutes.

Run tools use the latest snapshot when you do not name one. They wait up to 30 seconds by default for the result; use project_run_get to keep waiting.

Disconnect a client

Open Settings → Connected apps in app.dryvcode.com and disconnect the app. Its access ends at once.

Access tokens last one hour. The client refreshes them for up to 30 days while you stay connected.

Use Dryv on your machine instead

The MCP server works on your Playground projects. To let an assistant work on a project on your own machine, it can run the dryv CLI with --json --no-input. See Agents and CI. That needs no account.

Troubleshooting

The client gets "401 Unauthorized". It has not signed in yet, or its access was revoked. Reconnect it.

The browser shows an error before the consent page. The client sent an address Dryv does not accept. Check the client's MCP setup, then try again.

A write tool is missing. You approved read access only. Disconnect the app and connect again, approving write access.

Search in