The Nextcloud MCP Server is a standalone MCP server that enables LLMs like Claude, GPT, and Gemini to interact with your Nextcloud data through a secure API. It provides over 110 MCP tools covering more than 10 Nextcloud apps, including Notes, Calendar, Contacts, Files (WebDAV), Deck, Cookbook, Tables, Sharing, News, Mail, Collectives, and Talk. The server supports multiple authentication modes (single-user BasicAuth, multi-user BasicAuth pass-through, and Login Flow v2) and flexible deployment options (Docker, Kubernetes, VM, or local). It also offers experimental semantic search (RAG-based) for vector search across Notes, Files, News items, Deck cards, and Mail messages.
Setup
- Install via uvx or Docker. 2. Set environment variables NEXTCLOUD_HOST, NEXTCLOUD_USERNAME, and NEXTCLOUD_PASSWORD (use an app password). 3. Run with
uvx nextcloud-mcp-server run --transport stdio or the Docker image. 4. Add the command or HTTP endpoint to your MCP client configuration.
{
"mcpServers": {
"nextcloud": {
"command": "uvx",
"args": [
"nextcloud-mcp-server",
"run",
"--transport",
"stdio"
],
"env": {
"NEXTCLOUD_HOST": "https://your.nextcloud.instance.com",
"NEXTCLOUD_USERNAME": "your_username",
"NEXTCLOUD_PASSWORD": "your_app_password"
}
}
}
}
Use cases
Create and manage notes, calendar events, and contacts via natural language.
Search and process files, including OCR and document extraction.
Manage Deck boards, Cookbook recipes, and Tables.
Collaborate with your team via Talk and share files.
Perform semantic search across your Nextcloud content (experimental).