Nextcloud MCP Server

Nextcloud MCP Server

nextcloud-mcp-server•bycbcoutinho

A standalone MCP server that lets external MCP clients like Claude Code and IDEs interact with a Nextcloud instance to create notes, manage calendars, organize contacts and work with files through natural language.

License: AGPL-3.0•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Exposes 110+ MCP tools with broad API coverage across roughly 10 Nextcloud apps, plus MCP resources for browsing Nextcloud data.
  • •Provides CRUD operations for Notes, Calendar events and tasks, Contacts, Files via WebDAV, Deck boards and cards, and Mail, among other apps.
  • •Offers document processing with OCR and text extraction from PDFs, DOCX and images, with progress notifications.
  • •Includes an experimental, opt-in semantic (RAG) search pipeline for finding Nextcloud content by meaning rather than keywords.

BEST FOR

  • •Users who want to drive their Nextcloud notes, calendars, contacts and files from an external AI assistant like Claude Code or an IDE.
  • •Teams needing multi-user or hosted deployments, where clients authenticate via OAuth and the server manages Nextcloud app passwords transparently.

ABOUT NEXTCLOUD-MCP-SERVER

Nextcloud MCP Server is cataloged as an MCP server attributed to cbcoutinho. A standalone MCP server that lets external MCP clients like Claude Code and IDEs interact with a Nextcloud instance to create notes, manage calendars, organize contacts and work with files through natural language. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: AGPL-3.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Nextcloud MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server authenticate to Nextcloud?

It uses app-specific passwords with Basic Auth, and supports single-user, multi-user pass-through, and multi-user Login Flow v2 modes.

Can I hide sensitive files from the MCP file tools?

Yes; tagging files or folders with a configured Nextcloud system tag excludes them from MCP file tools.

What transports does the server support?

It supports streamable-http, which is the default, and stdio.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c844b8d45aad · 采集于 2026-11-13 09:35:51 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Nextcloud MCP Server

Nextcloud MCP Server

Docker Image

A production-ready MCP server that connects AI assistants to your Nextcloud instance.

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.

This is a dedicated standalone MCP server designed for external MCP clients like Claude Code and IDEs. It runs independently of Nextcloud (Docker, VM, Kubernetes, or local) and provides deep CRUD operations across Nextcloud apps.

[!NOTE] Want AI features inside Nextcloud instead? You can point Nextcloud's own Assistant at this server — see AI inside Nextcloud below.

[!TIP] Don't want to self-host? Astrolabe Cloud is a managed hosting service for this MCP server, aimed at users and teams who want advanced features like background sync and semantic search without operating the infrastructure themselves. The service is currently under development — sign up on the landing page to join the early-adopter list.

Quick Start

Run the server locally with uvx (no installation required):

NEXTCLOUD_HOST=https://your.nextcloud.instance.com \
NEXTCLOUD_USERNAME=your_username \
NEXTCLOUD_PASSWORD=your_app_password \
  uvx nextcloud-mcp-server run --transport stdio

Or add it directly to your MCP client configuration (e.g. claude_desktop_config.json or .claude/settings.json):

{
  "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"
      }
    }
  }
}

[!TIP] Generate an app password in Nextcloud under Settings > Security > Devices & sessions instead of using your login password.

Docker

For full features including semantic search, run with Docker:

docker run -p 127.0.0.1:8000:8000 --rm \
  -e NEXTCLOUD_HOST=https://your.nextcloud.instance.com \
  -e NEXTCLOUD_USERNAME=your_username \
  -e NEXTCLOUD_PASSWORD=your_app_password \
  ghcr.io/cbcoutinho/nextcloud-mcp-server:latest

Then connect your MCP client (Claude Desktop, IDEs, mcp dev, etc.) to http://127.0.0.1:8000/mcp.

For Kubernetes, see cbcoutinho/helm-charts. For other deployment options and Compose profiles, see docs/installation.md.

Key Features

  • 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
  • Tag-Based 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
  • Multiple Transports - streamable-http (default) and stdio

Supported Apps

AppToolsCapabilities
Notes7Full CRUD, keyword search, semantic search
Calendar20+Events, todos (tasks), recurring events, attendees, availability
Contacts8Full CardDAV support, address books
Files (WebDAV)23Filesystem access, in-place text edits, OCR/document processing, file comments
Deck15Boards, stacks, cards, labels, assignments
Cookbook13Recipe management, URL import (schema.org)
Tables5Row operations on Nextcloud Tables
Sharing10+Create and manage shares
News8Feeds, folders, items, feed health monitoring
Mail14Accounts, mailboxes, messages, attachments, send, drafts (saved without sending); flags (read/unread, star), tags, move, delete
Collectives16Full CRUD on collectives, pages, and tags
Talk (spreed)6List conversations, read/post messages, mark as read, list participants
Shopping List12Lists and items — add a whole recipe's ingredients in one call, tick items off, clear checked
Semantic Search2+Vector search for Notes, Files, News items, Deck cards, and Mail messages (experimental, opt-in, requires infrastructure)

Want to see another Nextcloud app supported? Open an issue or contribute a pull request!

Authentication

The MCP server authenticates to Nextcloud using app-specific passwords (Basic Auth). Three deployment modes are supported:

ModeBest for
Single-User (BasicAuth)Personal use, development, single-user deployments
Multi-User (BasicAuth pass-through)Multi-user setups where clients send credentials via Authorization header
Multi-User (Login Flow v2)Multi-user / hosted deployments — clients authenticate to the MCP server via OAuth, and the server obtains a per-user app password from Nextcloud and uses it transparently

OAuth-direct-to-Nextcloud is no longer supported (it required upstream patches to user_oidc that were never merged). Login Flow v2 replaces it for multi-user deployments and works with stock Nextcloud.

See docs/authentication.md for setup instructions.

AI inside Nextcloud

This server was built for AI assistants that live outside Nextcloud — Claude Code, an IDE, a desktop client. But Nextcloud has its own chat, the Assistant app, and there are two ways to give it access to your content.

Answering the Assistant's "Chat with AI"What it needsWhat it does
Context Agent (by Nextcloud)AppAPI and a separate container to run the ExAppActs on your Nextcloud — sends Talk messages, creates events, and other write actions, with a confirmation step
Astrolabe + this serverThe Astrolabe app, and this server reachable from itAnswers from your own documents and cites them: every claim links to the file, note or card it came from. Read-only

Astrolabe is a Nextcloud app that registers itself as the Assistant's agent provider, so no AppAPI and no extra container are involved — the Assistant talks to it, and it searches your content through this server. Each user's questions run under their own identity, so nobody sees anything they couldn't already open.

You can install both and pick per instance, or neither: none of this is required to use this server from an external MCP client.

To set it up, see the Astrolabe setup guide. For the architectural detail behind the comparison, see docs/comparison-context-agent.md.

An experimental RAG pipeline that lets MCP clients find Nextcloud content by meaning rather than keywords — a query for "car" also surfaces notes about "vehicle" or "transportation". Disabled by default (ENABLE_SEMANTIC_SEARCH=false); requires the semantic extra (pip install 'nextcloud-mcp-server[semantic]', included in the Docker image), a vector database and an embedding service. See docs/semantic-search-architecture.md and docs/configuration.md.

For result ordering — turning the fused rank score into a calibrated relevance score with a cross-encoder, self-hosted via Infinity/vLLM or hosted via Cohere, with or without an embedding gateway — see docs/reranking.md.

[!TIP] Don't want to run Qdrant and an embedding service? Astrolabe Cloud (under development) provides semantic search and background sync as a managed service.

Documentation

Contributing

Contributions are welcome!

Security

MseeP.ai Security Assessment

Found a security issue? Do not open a public GitHub issue. Use GitHub's private vulnerability reporting, or email security@astrolabecloud.com if you can't use GitHub. See SECURITY.md for details.

License

This project is licensed under the AGPL-3.0 License. See LICENSE for details.

Star History

Star History Chart

References

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Nextcloud MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/nextcloud-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops