Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Nextcloud Gateway

БесплатноНе проверен

High-performance MCP data plane server for Nextcloud integration, enabling AI agents to read, write, organize, and manage files and CRM assets over WebDAV and O

GitHubEmbed

Описание

High-performance MCP data plane server for Nextcloud integration, enabling AI agents to read, write, organize, and manage files and CRM assets over WebDAV and OCS APIs.

README

module_type: mcp_server
status: active
protocol: mcp
primary_capability: nextcloud_webdav_caldav_deck
requires: nextcloud
works_with: claude_desktop, ai_agents, mcp_router
last_verified: 2026-09-10

nextcloud-mcp-gateway

CI Go Version Protocol License

Nextcloud Data Plane MCP Server for AI Agents to read, write, and manage files, CalDAV calendars, and Deck boards via WebDAV and OCS API (Go 1.22+).

Status and Last Verified Date

  • Status: Active (v2.0.0 Go rewrite)
  • Last Verified Date: 2026-09-10

What it does / does not do

  • What it does:
    Exposes Nextcloud file operations (WebDAV), user information (OCS API), Kanban tasks (Nextcloud Deck), and calendar events (CalDAV) to AI agents via the Model Context Protocol (MCP). It allows listing, reading, creating, and deleting files and folders, checking instance health and user quotas, and organizing Deck cards and CalDAV events.
  • What it does not do:
    It does not administer the Nextcloud instance (e.g., creating users, configuring server settings), nor does it provide a full web GUI. It handles data-plane operations scoped to the authenticated user.

Why an agent would use it

An AI agent can use this gateway to interact with Nextcloud storage, read documents, write reports, organize files into folders, manage Deck Kanban tasks, and schedule events via CalDAV.

Architecture and Dependencies

  • Language: Go 1.22+
  • Framework: github.com/mark3labs/mcp-go
  • APIs Used: Nextcloud WebDAV (/remote.php/dav/files/{user}), CalDAV (/remote.php/dav/calendars/{user}/{calendar}), Deck REST API v1.0, and OCS REST API (/ocs/v1.php/cloud).
  • Execution: Runs as a standard stdio MCP server compiled as a single static binary.

Quick Start and Health Check

# Clone the repository
git clone https://github.com/TheNovaNodes/nextcloud-mcp-gateway.git
cd nextcloud-mcp-gateway

# Build binary
make build

# Run unit tests
make test

# Start server
./bin/nextcloud-mcp-gateway

Health Check: Agents can call the nextcloud_health tool which checks the /status.php endpoint of the configured Nextcloud instance.

Configuration and Environment Variables

Copy .env.example to .env and fill in credentials.

  • NC_URL: Local or private Nextcloud instance endpoint (default: http://localhost:8080)
  • NC_PUBLIC_URL: Public HTTPS domain endpoint (default: https://nextcloud.example.com)
  • NC_USER: Nextcloud username
  • NC_APP_PASSWORD: Nextcloud App Password or WebDAV token
  • NC_TIMEOUT: Request timeout in seconds (default: 30.0)

MCP Tools Reference

Files & Storage (WebDAV)

  • list_files(path, offset, limit): Lists files and folders in a Nextcloud directory via WebDAV PROPFIND (Depth: 1) with pagination.
  • read_file(path): Reads textual content of a file from Nextcloud storage (enforces 10MB limit to prevent OOM).
  • write_file(path, content): [HITL protected] Stages file creation or overwrite. Requires user approval.
  • delete_file(path): [HITL protected] Stages deletion of a file or folder. Requires user approval.
  • create_folder(path): [HITL protected] Stages folder creation via WebDAV MKCOL. Requires user approval.

Security & Approvals (HITL)

  • execute_pending_action(token): Approves and executes an action guarded by HITL (valid for 5 minutes).

Calendar (CalDAV)

  • list_calendar_events(calendar_name): Lists events from a Nextcloud CalDAV calendar via REPORT.
  • create_calendar_event(event_uid, summary, dtstart, dtend, calendar_name): Creates a new event using iCalendar (.ics).
  • delete_calendar_event(event_uid, calendar_name): Deletes an event by UID.

Kanban (Nextcloud Deck)

  • list_deck_boards(): Lists all Kanban boards available to the user.
  • list_deck_stacks(board_id): Lists all columns (stacks) on a Deck board.
  • create_deck_card(board_id, stack_id, title, description): Creates a new card in a stack.
  • update_deck_card(board_id, stack_id, card_id, title, description, order): Updates or moves a Kanban card.
  • delete_deck_card(board_id, stack_id, card_id): Deletes a card.

System & Diagnostics

  • nextcloud_health(): Checks Nextcloud instance health and status.
  • get_user_info(): Retrieves user quota and profile via OCS API.

Tests

Run tests with race detection and coverage:

make test
make coverage

License

MIT License. See LICENSE for details.

from github.com/TheNovaNodes/nextcloud-mcp-gateway

Установка Nextcloud Gateway

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/TheNovaNodes/nextcloud-mcp-gateway

FAQ

Nextcloud Gateway MCP бесплатный?

Да, Nextcloud Gateway MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Nextcloud Gateway?

Нет, Nextcloud Gateway работает без API-ключей и переменных окружения.

Nextcloud Gateway — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Nextcloud Gateway в Claude Desktop, Claude Code или Cursor?

Открой Nextcloud Gateway на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Fetch

Web content fetching and conversion for efficient LLM usage.

автор: Community

Roblox Studio

Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce

paralovавтор: paralov

Opencode Omniroute Plugin

OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc

GitHub Actionsавтор: GitHub Actions

AWS KB Retrieval

Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.

modelcontextprotocolавтор: modelcontextprotocol

Spring AI MCP Server

Provides auto-configuration for setting up an MCP server in Spring Boot applications.

автор: Community

llm-analysis-assistant

A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also

xuzexin-hzавтор: xuzexin-hz

MCP-Agent

A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)

lastmile-aiавтор: lastmile-ai

Spring AI MCP Client

Provides auto-configuration for MCP client functionality in Spring Boot applications.

автор: Community

mcp.natoma.ai

A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)

автор: Community

MCPHub

Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.

автор: Community

Compare Nextcloud Gateway with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai