Use this file to discover all available pages before exploring further.
The WebDAV app provides read/write access to any WebDAV-compatible file server — Nextcloud, ownCloud, a generic Apache mod_dav instance or any vendor-specific WebDAV endpoint. It can be used either as a Builder app (automations call WebDAV instructions directly) or as a remote MCP server consumed by an AI agent. Authentication supports HTTP Basic (username + password) and Bearer token. An optional allowedPath restricts every operation to a subtree of the server. The connector exposes a single files tool that dispatches across 10 file/directory operations: listing, reading, writing, copying, moving, deleting, recursive search, full directory trees and directory creation.
Browse
List directories, fetch metadata, walk full nested trees, search by name and modification date
Read & Write
Download file content, upload or overwrite files with a custom MIME type, create directories
Organize
Move, rename, copy or delete files and directories — with optional overwrite-on-target
Vendor-specific — refer to the provider’s documentation for the WebDAV endpoint
Credentials matching the chosen authentication mode:
Basic — a username + password (often an app password if the provider supports 2FA, e.g. Nextcloud)
Token — a Bearer token issued by the provider
(Optional) An allowed path to restrict every operation to a single subtree — useful when the WebDAV user has access to more than you want to expose.
When using basic auth against a Nextcloud or ownCloud instance with two-factor authentication enabled, create a dedicated app password in the user settings (Security → Devices & sessions → Create new app password) and use it as the password. The main account password will be rejected.
Every instruction resolves credentials from the workspace configuration. All paths are interpreted relative to the baseUrl; leading / is allowed but optional.
- WebDAV.files: action: getTree path: '/Projects/Acme' output: tree
The WebDAV app ships with a built-in MCP server. Each app instance gets its own signed mcp-api-key that encodes the workspace ID and a credentials lookup URL — the WebDAV credentials themselves are never passed through headers and are resolved server-side from the app configuration.
Agents consume MCP servers directly through Agent Creator capabilities. This is the preferred way to expose WebDAV to an agent.
1
Create or open a workspace
From the Prisme.ai console, create a new workspace (or open the one that will host the connector).
2
Install the WebDAV app
Open the workspace Imports panel, search for WebDAV and install it.
3
Configure the credentials
Open the freshly installed app instance settings and fill in the base URL, authentication type and Basic / Bearer credentials (see the Usage as App tab for the field-by-field reference).
4
Copy the MCP endpoint and API key
Still on the app instance configuration page, copy the values of MCP Endpoint and MCP API Key — both are generated automatically on install.
5
Open Agent Creator
Switch to Agent Creator and open the agent you want to extend.
6
Add a capability
Add a new capability to the agent:
If a dedicated WebDAV capability exists — select it and paste the MCP API Key into the mcp-api-key field. The server URL is already wired.
Otherwise — select the generic custom_mcp capability, paste the MCP Endpoint into the Server URL field, then open the Headers field and add an mcp-api-key entry whose value is the MCP API Key copied earlier:
{ "mcp-api-key": "your-mcp-api-key"}
7
Save
The agent now has access to every WebDAV tool exposed by the MCP server.
8
Brief the agent in its system prompt
Wiring the capability is not enough — the agent also needs to know the MCP exists and when to reach for it. Add a short paragraph to the agent’s system prompt. Copy-pasteable starter:
You have access to the WebDAV MCP server (mapped to <provider, e.g. Nextcloud, ownCloud, a corporate file server>). Use it whenever the user asks to browse files, read a document, write or overwrite a file, move/copy/rename files, walk a directory tree, search by name or by modification date. Prefer `list` for one level of children and `getTree` only when the user explicitly asks for a recursive view (it can be expensive). Always confirm with the user before destructive actions (`delete`, `move` with `overwrite: true`, `upload` overwriting an existing file).
Refine the trigger keywords (resource names, business domains, typical user phrasings) so the agent reliably picks up the right intent in your context.
Use this flow to plug the WebDAV MCP into an AI Knowledge agent that does not yet support the native MCP picker.
1
Install the WebDAV app
Install and configure the app in the same workspace as your agent (see the Usage as App tab). Once configured, mcpEndpoint and mcpApiKey are auto-populated.
2
Copy the MCP credentials
Open the app instance config and copy the values of MCP Endpoint and MCP API Key.
3
Open your AI Knowledge project
Navigate to Advanced > Tools.
4
Add an MCP tool
Click Add and select the MCP tab.
5
Fill in the endpoint
Paste the MCP Endpoint URL copied from the app instance.
6
Add the auth header
In the Headers field, add the signed API key:
{ "mcp-api-key": "your-mcp-api-key"}
7
Save
The agent can now list and call WebDAV tools through the MCP endpoint.
The signed mcp-api-key encodes the workspace ID and the getConfig webhook URL. The MCP server validates the signature using the central app secret and transparently fetches the WebDAV base URL plus Basic / Bearer credentials from the installed app. Credentials are cached per tenant for 10 minutes.
getTree can return very large responses on deep directories. When the tree is large, prefer list with depth: 1 and recurse client-side, or call search with a path filter.
“Not configured” — The app instance is missing either baseUrl or the credentials for the chosen type (Basic or token). Fill in the configuration.“Invalid API key” (MCP) — The mcp-api-key header does not match the central app secret. Reinstall the app instance to regenerate a signed key.“Credentials lookup failed” — The MCP endpoint could not reach the getConfig webhook of the installed app. Verify that the app instance is still installed in the expected workspace.Nextcloud / ownCloud 401 with the right password — Two-factor authentication on the account requires an app password. Create one in Security → Devices & sessions and use it as the password.“Path outside allowed subtree” (403) — The resolved path is not under the configured allowedPath. Either widen the allow-list or rewrite the call to a path within it.getTree times out on a large folder — Prefer list with depth: 1 and recurse from the client, or use search with dateFrom/dateTo to scope the request.upload with binary content fails — The content parameter is a string. For binary payloads, stage the file elsewhere (a previously uploaded file in WebDAV, a public URL, etc.) and use copy or an out-of-band upload. The MCP server does not currently accept base64-encoded content.Trailing slashes — Some WebDAV servers are strict about trailing slashes on directories. If a directory listing returns 404, retry with a trailing /.