nextcloud-mcp
Provides tools for interacting with a Nextcloud instance: file operations (list, read, write, delete, move, copy via WebDAV), calendar management (list calendars, events CRUD via CalDAV), share administration (create, update, delete shares via OCS Share API), and Talk chat features (conversations, messages, send via proxy-read).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nextcloud-mcpList the files in my Documents folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nextcloud-mcp
A remote MCP server that exposes a Nextcloud account as MCP tools: files (WebDAV), calendars (CalDAV), share links (OCS Share API), and Talk chat (proxy-read).
Need admin operations (create/disable users, quotas, groups) instead? See the sibling package, admin/ — it's a separate server with its own tiered authorization model, not part of this one.
Scope
User-level only: every tool call acts with the permissions of one Nextcloud account (an App Password, never the main account password), scoped exactly like that account logging into the Nextcloud web UI. There is no authorization model here beyond "whatever this account can already do" — for anything that needs per-caller permission tiers or targets other people's accounts, use nextcloud-admin-mcp.
Related MCP server: nextcloud-dynamic-mcp-server
Design
Remote, not local. One deployment, always current with the MCP spec, no per-user install to keep updated.
Stateless. No MCP protocol-level session — every request is self-contained, matching the 2026-07-28 MCP spec and Nextcloud's own stateless WebDAV/CalDAV/OCS APIs.
Multi-tenant. One deployment serves any Nextcloud instance — the instance URL and credentials are per-request, not baked into the server.
Auth via connection-layer headers, not tool arguments. The Nextcloud App Password never enters the LLM's context — the MCP client attaches it when it opens the connection, exactly like a local MCP server reading credentials from an env var.
For AI agents / MCP clients: connecting
Every request to POST /mcp must carry:
Authorization: Basic <base64(username:app-password)>— standard HTTP Basic Auth.username/app-passwordare the Nextcloud account this request acts as (generate the App Password under the account's own Nextcloud Settings → Security → "Create new app password").X-Nextcloud-Url: https://your-nextcloud-instance.example— the base URL of the caller's Nextcloud instance.
No initialize handshake is required — tools/list and tools/call work directly per-request.
Example mcpServers entry (Claude Code / any HTTP-transport MCP client):
{
"mcpServers": {
"nextcloud-mcp": {
"type": "http",
"url": "https://your-deployment.example/mcp",
"headers": {
"Authorization": "Basic <base64(username:app-password)>",
"X-Nextcloud-Url": "https://your-nextcloud-instance.example"
}
}
}
}Tools
Category | Tool | Description |
Files (WebDAV) |
| List files/folders at a path |
| Read a text file's content | |
| Create or overwrite a file ( | |
| Delete a file or folder | |
| Create a folder | |
| Move/rename a file or folder | |
| Copy a file or folder | |
Calendar (CalDAV) |
| List the account's calendars |
| List events in a date range | |
| Get a single event | |
| Create an event | |
| Update an event (only the fields given; others are preserved) | |
| Delete an event | |
Shares (OCS Share API) |
| List a file/folder's shares |
| Create a share (public link or user share) | |
| Update a share's password/expiration/permissions | |
| Delete a share | |
Talk (proxy-read) |
| List the account's Talk conversations |
| List messages ( | |
| Get a single message | |
| Send a message (text, mentions, replies) |
Development
npm install
npm run build
npm test
PORT=3939 node dist/index.jsLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Remote MCP server to read and manage your Atako AI agents, messages, files, and integrations.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server for Nextcloud that exposes occ admin commands, OCS provisioning, and WebDAV file operations as tools.31MIT
- FlicenseNot gradedqualityDmaintenanceExposes a live Nextcloud instance as an MCP server by dynamically creating tools from OpenAPI definitions of installed apps. Enables natural language interaction with Nextcloud apps like files sharing, provisioning, and calendar management.6-
- FlicenseBqualityDmaintenanceMCP server integrating Nextcloud services (tasks, calendar, notes, email, files, Deck) for AI assistant interaction.201-
- AlicenseAqualityAmaintenanceAn MCP server that exposes Nextcloud APIs as tools for AI assistants, enabling management of files, calendar, contacts, conversations, and more.1611MIT