WebDAV MCP Server
Model Context Protocol (MCP) server that enables CRUD operations on a WebDAV endpoint with basic authentication.
Overview
WebDAV MCP Server is a Model Context Protocol (MCP) server that allows users to perform CRUD operations on a WebDAV endpoint with basic authentication, enabling natural language commands for file system interactions.
To use the WebDAV MCP Server, you can install it via npm, clone the repository, or run it using Docker. After installation, configure the server with your WebDAV settings and run it to start processing commands.
- Connects to any WebDAV server with optional authentication. - Supports CRUD operations on files and directories. - Exposes file operations as MCP resources and tools. - Offers secure access with basic authentication and bcrypt-encrypted passwords. - Provides connection pooling for performance and structured logging for troubleshooting.
- Integrating with Claude Desktop for natural language file operations.
- Managing files on a remote WebDAV server through simple commands.
- Automating file management tasks in applications that support MCP.
Add to your AI client
Use these steps to connect WebDAV MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-webdav-server-laubplusco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-webdav-server-laubplusco"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-webdav-server-laubplusco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-webdav-server-laubplusco"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-webdav-server-laubplusco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-webdav-server-laubplusco"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-webdav-server-laubplusco": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-webdav-server-laubplusco"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-webdav-server-laubplusco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-webdav-server-laubplusco"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-webdav-server-laubplusco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-webdav-server-laubplusco"
]
}
}
}FAQ
Can I use WebDAV MCP Server with any WebDAV server?
Yes, it can connect to any WebDAV server that supports basic authentication.
Is there a way to secure my passwords?
Yes, you can use bcrypt-encrypted passwords for MCP server authentication, while WebDAV passwords must be plain text due to protocol limitations.
How do I run the server?
You can run the server using stdio transport for direct integration or HTTP/SSE transport for web access.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3471,"uuid":"ccab138e-dd83-462b-8b7a-5ef521534eb0","name":"mcp-webdav-server","title":"WebDAV MCP Server","description":"Model Context Protocol (MCP) server that enables CRUD operations on a WebDAV endpoint with basic authentication.","avatar_url":"https://avatars.githubusercontent.com/u/25053493?v=4","created_at":"$D2025-03-19T17:23:01.943Z","updated_at":"$D2025-03-19T18:43:03.628Z","status":"created","author_name":"LaubPlusCo","author_avatar_url":"https://avatars.githubusercontent.com/u/25053493?v=4","tags":"webdav,mcp,server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/LaubPlusCo/mcp-webdav-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-19 18:16:01\"}","user_uuid":"c47f5624-9be2-4e23-8951-6c7c7db69c1d","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]