Nextcloud MCP Server
Nextcloud MCP-Server
Ein produktionsreifer MCP-Server, der KI-Assistenten mit Ihrer Nextcloud-Instanz verbindet.
Ermöglichen Sie Large Language Models wie Claude, GPT und Gemini die Interaktion mit Ihren Nextcloud-Daten über eine sichere API. Erstellen Sie Notizen, verwalten Sie Kalender, organisieren Sie Kontakte, arbeiten Sie mit Dateien und mehr – alles durch Konversationen in natürlicher Sprache.
Dies ist ein dedizierter, eigenständiger MCP-Server, der für externe MCP-Clients wie Claude Code und IDEs entwickelt wurde. Er läuft unabhängig von Nextcloud (Docker, VM, Kubernetes oder lokal) und bietet umfassende CRUD-Operationen für Nextcloud-Apps.
[!NOTE] Suchen Sie nach KI-Funktionen innerhalb von Nextcloud? Nextcloud bietet auch den Context Agent, der die Assistant-App antreibt und als ExApp innerhalb von Nextcloud läuft. Siehe docs/comparison-context-agent.md für einen detaillierten Vergleich der Anwendungsfälle.
Schnellstart (Docker)
Für den vollen Funktionsumfang inklusive semantischer Suche, führen Sie es mit Docker aus:
# 1. Create a minimal configuration
cat > .env << EOF
NEXTCLOUD_HOST=https://your.nextcloud.instance.com
NEXTCLOUD_USERNAME=your_username
NEXTCLOUD_PASSWORD=your_app_password
EOF
# 2. Start the server
docker run -p 127.0.0.1:8000:8000 --env-file .env --rm \
ghcr.io/cbcoutinho/nextcloud-mcp-server:latest
# 3. Test the connection
curl http://127.0.0.1:8000/health/ready
# 4. Connect to the endpoint
http://127.0.0.1:8000/sse
# Or with --transport streamable-http
http://127.0.0.1:8000/mcpDocker Compose Profile (für Entwicklung/Tests):
docker compose --profile single-user up -d # Port 8000
docker compose --profile multi-user-basic up -d # Port 8003
docker compose --profile oauth up -d # Port 8001
docker compose --profile login-flow up -d # Port 8004Nächste Schritte:
Verbinden Sie Ihren MCP-Client (Claude Desktop, IDEs,
mcp dev, etc.)Siehe docs/installation.md für weitere Bereitstellungsoptionen (lokal, Kubernetes)
Related MCP server: Nextcloud MCP Server
Hauptfunktionen
90+ MCP-Tools - Umfassende API-Abdeckung für 8 Nextcloud-Apps
MCP-Ressourcen - Strukturierte Daten-URIs zum Durchsuchen von Nextcloud-Daten
Semantische Suche (Experimentell) - Optionale vektorbasierte Suche für Notizen, Dateien, News-Artikel und Deck-Karten (erfordert Qdrant + Ollama)
Dokumentenverarbeitung - OCR und Textextraktion aus PDFs, DOCX, Bildern mit Fortschrittsbenachrichtigungen
Flexible Bereitstellung - Docker, Kubernetes (Helm), VM oder lokale Installation
Produktionsreife Authentifizierung - Basic Auth mit App-Passwörtern (empfohlen) oder OAuth2/OIDC (experimentell)
Mehrere Transporte - Unterstützung für SSE, HTTP und streamable-http
Unterstützte Apps
App | Tools | Funktionen |
Notizen | 7 | Vollständiges CRUD, Stichwortsuche, semantische Suche |
Kalender | 20+ | Termine, Aufgaben (To-dos), wiederkehrende Ereignisse, Teilnehmer, Verfügbarkeit |
Kontakte | 8 | Volle CardDAV-Unterstützung, Adressbücher |
Dateien (WebDAV) | 12 | Dateisystemzugriff, OCR/Dokumentenverarbeitung |
Deck | 15 | Boards, Stapel, Karten, Labels, Zuweisungen |
Cookbook | 13 | Rezeptverwaltung, URL-Import (schema.org) |
Tabellen | 5 | Zeilenoperationen auf Nextcloud-Tabellen |
Teilen | 10+ | Freigaben erstellen und verwalten |
Semantische Suche | 2+ | Vektorsuche für Notizen, Dateien, News-Artikel und Deck-Karten (experimentell, optional, erfordert Infrastruktur) |
Möchten Sie eine weitere Nextcloud-App unterstützt sehen? Erstellen Sie ein Issue oder reichen Sie einen Pull Request ein!
Authentifizierung
[!IMPORTANT] OAuth2/OIDC ist experimentell und erfordert einen manuellen Patch für die
user_oidc-App:
Erforderlicher Patch: Bearer-Token-Unterstützung (Issue #1221)
Auswirkung: Ohne den Patch schlagen die meisten app-spezifischen APIs mit 401-Fehlern fehl
Empfehlung: Verwenden Sie Basic Auth für die Produktion, bis Upstream-Patches zusammengeführt wurden
Siehe docs/oauth-upstream-status.md für den Patch-Status und Workarounds.
Empfohlen: Basic Auth mit app-spezifischen Passwörtern bietet eine sichere, produktions
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect Apple iCloud and Microsoft 365 mail, calendars, contacts and tasks to AI.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Connect any AI assistant to Odoo 16–19 via OAuth 2.0 + PKCE. 400 free calls, no local install.
- WorkwaeOAuthcom.workwae
Email, calendar and contacts for AI agents: Gmail, Microsoft 365 and IMAP accounts behind one API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with Nextcloud instances through 30 tools across Notes, Calendar, Contacts, Tables, and WebDAV file operations, featuring a powerful unified search system for finding files without exact paths.17 npm38AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceConnects AI assistants to Nextcloud instances with 90+ tools for managing notes, calendars, contacts, files, recipes, and more through natural language conversations. Supports semantic search and multiple deployment options.5,353 PyPI395AGPL 3.0
- AlicenseAqualityDmaintenanceEnables LLMs to manage and manipulate notes in Nextcloud Notes via WebDAV, supporting tasks like organizing, summarizing, rewriting, and translating notes through natural language commands.132MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to securely read and write files, notes, tasks, bookmarks, projects, and recipes in a self-hosted Nextcloud instance.39MIT