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

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.2
File Size Uploaded Provenance Actions
nextcloud_mcp_lite-0.4.2.tar.gz 19.1 kB Without provenance Details for nextcloud_mcp_lite-0.4.2.tar.gz

Built distribution (wheel)

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

Total release size: 42.3 kB

Release files / nextcloud_mcp_lite-0.4.2.tar.gz

Download URL nextcloud_mcp_lite-0.4.2.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0d566df9ffc2023382008e5a85543efcacdd999d2ee0da822e29902f251f1e5a
BLAKE2b-256 checksum
How to use checksums
115e54a0d4c9c240bd63a35e3aa41d74e7796596006259c473642fc3ec6e426e
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.2-py3-none-any.whl

Download URL nextcloud_mcp_lite-0.4.2-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60712aff5508d4eb149e5eeb534631063c404607a8e98384c655d8ba5a7cc265
BLAKE2b-256 checksum
How to use checksums
9791a8468e6cb6b9f263ef3d18abe08cd96738bfe09f5f8c7df24350bb59cf98
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.2

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