Skip to main content

nextcloud-mcp-lite

Minimal, high-performance Model Context Protocol (MCP) server for Nextcloud file sync, search, and PIM (Calendar & Tasks).

Designed for seamless execution via uv tool run or uvx, with zero heavy dependencies, instant startup (<0.3s), and low memory footprint (<30 MB).

Tool Suite (11 Tools)

📁 Files & Search (WebDAV)

  • list_files: List directory contents (Depth: 1) with clean paths, file sizes, MIME types, modification dates, and file_id.
  • read_file: Read file contents with socket-level streaming up to max_bytes (returns UTF-8 text or Base64).
  • write_file: Create or overwrite files with auto-parent folder creation (mkdir -p) and optional ETag concurrency guard.
  • file_action: Consolidated file manager for simple actions:
    • action="create_dir": Create directory with parent creation.
    • action="delete": Delete file or directory permanently.
    • action="move": Move file or directory to destination.
    • action="copy": Copy file or directory to destination.
    • action="rename": Rename file or directory in place.
  • search_files: Fast server-side indexed search using RFC 5323 WebDAV SEARCH (DASL). Searches across the entire storage tree by name pattern (wildcards supported), MIME type, or favorites without recursion limits.
  • file_comment: Read and manage file comments (list, create, update, delete).

📅 Calendar & Tasks (CalDAV)

  • list_calendars: List all user calendars and task lists with display names, colors, and CalDAV paths.
  • list_events: Dedicated read-only agenda/event query. Filter by start_date, end_date, calendar_path, and limit.
  • manage_event: Event lifecycle management (create, get, update, delete). Supports recurrence rules (rrule), status, location, and description.
  • list_todos: Dedicated read-only task query. Filter by status (pending, completed, all) and calendar_path.
  • manage_todo: Task lifecycle management (create, get, update, complete, delete). Supports priorities (0-9), due dates, and notes.

Installation & Running

No manual installation required:

uvx nextcloud-mcp-lite
# or
uv tool run nextcloud-mcp-lite

Using pip

pip install nextcloud-mcp-lite
nextcloud-mcp-lite

Configuration

Set the following environment variables:

Variable Description Default
NEXTCLOUD_HOST URL of your Nextcloud instance (e.g. https://cloud.example.com) Required
NEXTCLOUD_USERNAME Your Nextcloud username Required
NEXTCLOUD_PASSWORD App password from Nextcloud Settings > Security > Devices & sessions Required
NEXTCLOUD_VERIFY_SSL Verify SSL certificates (true/false) true

MCP Client Setup

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "nextcloud": {
      "command": "uvx",
      "args": ["nextcloud-mcp-lite"],
      "env": {
        "NEXTCLOUD_HOST": "https://cloud.example.com",
        "NEXTCLOUD_USERNAME": "your_username",
        "NEXTCLOUD_PASSWORD": "your_app_password"
      }
    }
  }
}

Claude Code / Gemini CLI / Terminal

NEXTCLOUD_HOST="https://cloud.example.com" \
NEXTCLOUD_USERNAME="your_username" \
NEXTCLOUD_PASSWORD="your_app_password" \
uvx nextcloud-mcp-lite

HTTP / SSE Transport

For remote MCP clients:

nextcloud-mcp-lite --transport streamable-http --host 0.0.0.0 --port 8000

License

MIT

Metadata

Release files for nextcloud-mcp-lite 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextcloud-mcp-lite 0.4.0
File Size Uploaded Provenance Actions
nextcloud_mcp_lite-0.4.0.tar.gz 18.5 kB Without provenance Details for nextcloud_mcp_lite-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nextcloud-mcp-lite 0.4.0
File Interpreter ABI Platform Actions
nextcloud_mcp_lite-0.4.0-py3-none-any.whl Python 3 none any Details for nextcloud_mcp_lite-0.4.0-py3-none-any.whl

Total release size: 41.1 kB

Release files / nextcloud_mcp_lite-0.4.0.tar.gz

Download URL nextcloud_mcp_lite-0.4.0.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a32144d9bfbdcbb7038bc33af7d1b1069dc6ec3ba595917297f23e9ecfba75df
BLAKE2b-256 checksum
How to use checksums
54c0324c07ca7db00cb6be99cee6fdd864c127914015a67c842806e341a7d1d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / nextcloud_mcp_lite-0.4.0-py3-none-any.whl

Download URL nextcloud_mcp_lite-0.4.0-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e52f2982b07d6949804e38fcd9a1d53a8f9852a055098489b54ae5af17f70849
BLAKE2b-256 checksum
How to use checksums
7ba6ce794938b72d2f1dd5e83e20e1c6d2eac23be091362a6455ac00285b871d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for nextcloud-mcp-lite 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page