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.1

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.1
File Size Uploaded Provenance Actions
nextcloud_mcp_lite-0.4.1.tar.gz 18.6 kB Without provenance Details for nextcloud_mcp_lite-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 41.4 kB

Release files / nextcloud_mcp_lite-0.4.1.tar.gz

Download URL nextcloud_mcp_lite-0.4.1.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
08d1ebb5bde230785d035aebd475cd6780db7c43b8c9d839aa6b810968ed937a
BLAKE2b-256 checksum
How to use checksums
4241b1faa9773ea343c75f29c79a6800070687a04526622dc974d9c794ee7126
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.1-py3-none-any.whl

Download URL nextcloud_mcp_lite-0.4.1-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9babfeb593d316f319c51a2de637d8ac3028d2d74e12af0ea2c0a94d426438a
BLAKE2b-256 checksum
How to use checksums
423cef7931c2e06020458788d92e9ca172ad7e6e7cf2fcf16afea791f14d4181
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.1

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