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 "Install 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-mcp
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that lets Claude create calendar events and tasks in Nextcloud via CalDAV.
- AlicenseBqualityBmaintenanceMCP server for Nextcloud that exposes occ admin commands, OCS provisioning, and WebDAV file operations as tools.31MIT
- Flicense-qualityDmaintenanceExposes 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
Related MCP Connectors
An MCP server for deep research or task groups
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Remote MCP server for XDaLa workflow preparation on XGR.Network.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/raychao-oao/nextcloud-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server