Nextcloud MCP Server

Model Context Protocol (MCP) server for Nextcloud integration - enables AI assistants to interact with Nextcloud data

Remote serverstreamable-httpPython

What is the Nextcloud MCP server?

Model Context Protocol (MCP) server for Nextcloud integration - enables AI assistants to interact with Nextcloud data. That is what the nextcloud mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

Enable Large Language Models like Claude, GPT, and Gemini to interact with your Nextcloud data through a secure API. Create notes, manage calendars, organize contacts, work with files, and more - all through natural language conversations.

  • 110+ MCP Tools — - Comprehensive API coverage across 10 Nextcloud apps
  • MCP Resources — - Structured data URIs for browsing Nextcloud data
  • Semantic Search (Experimental) — - Optional vector-powered search for Notes, Files, News items, Deck cards, and Mail messages (requires Qdrant + Ollama)
  • Document Processing — - OCR and text extraction from PDFs, DOCX, images with progress notifications
  • Flexible Deployment — - Docker, Kubernetes (Helm chart), VM, or local installation
  • Production-Ready Auth — - Basic Auth with app passwords; multi-user via Login Flow v2 — MCP clients authenticate via OAuth, the server handles Nextcloud app passwords transparently

The tools it exposes

The server publishes 14 tools. What each one is for:

  • Production — Ready Auth** - Basic Auth with app passwords; multi-user via Login Flow v2 — MCP clients authenticate via OAuth, the server handles Nextcloud app
  • Tag — Based File Exclusion** - Hide sensitive files/folders from MCP file tools by tagging them with a configured Nextcloud system tag (EXCLUDED_TAGS). See
  • App — Tools
  • Notes — 7
  • Calendar — 20+
  • Contacts — 8
  • Deck — 15
  • Cookbook — 13
  • Tables — 5
  • Sharing — 10+
  • News — 8
  • Mail — 13

What it needs from you

Configuration is passed through the environment: NEXTCLOUD_HOST, NEXTCLOUD_USERNAME, NEXTCLOUD_PASSWORD. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

How it compares

This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Nextcloud's toolset — Production, Tag, App and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Chris Coutinho; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Nextcloud.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ProductionReady Auth** - Basic Auth with app passwords; multi-user via Login Flow v2 — MCP clients authenticate via OAuth, the server handles Nextcloud app passwords transparently
TagBased File Exclusion** - Hide sensitive files/folders from MCP file tools by tagging them with a configured Nextcloud system tag (EXCLUDED_TAGS). See [docs/configuration.md](docs/configuration.md#tag-based-file-exclusion
AppTools
Notes7
Calendar20+
Contacts8
Deck15
Cookbook13
Tables5
Sharing10+
News8
Mail13
Collectives16
ModeBest for

How to install the Nextcloud MCP server

{
  "mcpServers": {
    "nextcloud": {
      "command": "uvx",
      "args": ["nextcloud-mcp-server"],
      "env": {
        "NEXTCLOUD_HOST": "your-value",
        "NEXTCLOUD_USERNAME": "your-value",
        "NEXTCLOUD_PASSWORD": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
NEXTCLOUD_HOSTEndpoint or connection string the server talks to.Optional
NEXTCLOUD_USERNAMEConfiguration value read at startup.Optional
NEXTCLOUD_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • Use Nextcloud to Production.
  • Use Nextcloud to Tag.
  • Use Nextcloud to App.

Frequently asked questions

It connects Nextcloud to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Production, Tag, App, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Nextcloud directly.