WebDAV MCP Server

Model Context Protocol (MCP) server that enables CRUD operations on a WebDAV endpoint with basic authentication.

Local serverstdioGo

What is the WebDAV MCP Server?

Model Context Protocol (MCP) server that enables CRUD operations on a WebDAV endpoint with basic authentication.

What the server does

  • Connect to any WebDAV server with optional authentication
  • Perform CRUD operations on files and directories
  • Expose file operations as MCP resources and tools
  • Run via stdio transport (for Claude Desktop integration) or HTTP/SSE transport
  • Secure access with optional basic authentication
  • Support for bcrypt-encrypted passwords for MCP server authentication (WebDAV passwords must be plain text due to protocol limitations)

Credentials and setup notes

  • Node.js 18 or later - npm or yarn - WebDAV server (for actual file operations)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
webdav_create_remote_fileCreate a new file on a remote WebDAV server
webdav_get_remote_fileRetrieve content from a file stored on a remote WebDAV server
webdav_update_remote_fileUpdate an existing file on a remote WebDAV server
webdav_delete_remote_itemDelete a file or directory from a remote WebDAV server
webdav_create_remote_directoryCreate a new directory on a remote WebDAV server
webdav_move_remote_itemMove or rename a file/directory on a remote WebDAV server
webdav_copy_remote_itemCopy a file/directory to a new location on a remote WebDAV server
webdav_list_remote_directoryList files and directories on a remote WebDAV server

How to install the WebDAV MCP Server

{
  "mcpServers": {
    "mpc-webdav-server": {
      "command": "npx",
      "args": ["-y", "npx"],
      "env": {
        "WEBDAV_ROOT_URL": "your-value",
        "WEBDAV_ROOT_PATH": "your-value",
        "WEBDAV_USERNAME": "your-value",
        "WEBDAV_PASSWORD": "your-value",
        "WEBDAV_AUTH_ENABLED": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 18 or later - npm or yarn - WebDAV server (for actual file operations)
VariableDescriptionRequired
WEBDAV_ROOT_URLEndpoint or connection string the server talks to.Yes
WEBDAV_ROOT_PATHFilesystem location the server is allowed to use.Optional
WEBDAV_USERNAMEConfiguration value read at startup.Optional
WEBDAV_PASSWORDConfiguration value read at startup.Optional
WEBDAV_AUTH_ENABLEDConfiguration value read at startup.Optional

Example prompts to try

  • “Use WebDAV to webdav create remote file.”
  • “Use WebDAV to webdav get remote file.”
  • “Use WebDAV to webdav update remote file.”

Frequently asked questions

WebDAV passwords must be plain text because the WebDAV protocol requires sending the actual password to the server. MCP server passwords can be stored as bcrypt-encrypted hashes with a `{bcrypt}` prefix for enhanced security.