nextcloud-agent
Nextcloud Agent exposes Nextcloud through MCP, API, CLI, and agent interfaces so you can manage files, collaboration, administration, and communication data.
Files: list, search, read/download, write/upload, create folders, copy, move, delete, restore trash, list/restore versions, and check quota.
Sharing: create, list, read, update, and revoke file/folder shares, including public links, permissions, passwords, labels, notes, and expiry.
Calendar: create/list/delete calendars; create/list/update/delete events and tasks; manage attendees, invitations, due dates, priorities, and completion.
Contacts: list address books; create, read, update, and delete contacts with emails, phones, organization, title, and notes.
Notes: create, list, read, update, and delete notes, including categories and favorites.
Deck: create/list/read/delete boards, stacks, and cards; move cards; assign users; update titles, descriptions, and due dates.
Talk: create/list/rename/delete conversations; add/remove participants; send, list, and delete chat messages.
Admin: create/update/delete users and groups; manage group membership; enable/disable users; list/get/enable/disable apps.
Office: list document templates; create documents (
.docx,.xlsx,.pptx,.odg,.md); open one-time editor URLs.Activity: list activities and notifications; dismiss notifications.
Runtime features: dynamic tool filtering, tool toggles, policy/security support, OpenTelemetry tracing, and MCP transports (stdio, streamable-http, SSE).
Provides tools for managing Nextcloud operations, including calendar, contacts, files, sharing, and user management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nextcloud-agent list files in the Documents folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nextcloud Agent
CLI or API | MCP | Agent
Documentation — Installation, deployment, usage across the API, CLI, and MCP interfaces, and guidance for provisioning the backing Nextcloud instance are maintained in the official documentation.
Related MCP server: nc-mcp-server
Overview
Nextcloud Agent is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Nextcloud MCP Server for Agentic AI!.
Key Features
Consolidated Action-Routed MCP Tools: Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
Enterprise-Grade Security: Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
Integrated Graph Agent: Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).
Native Telemetry & Tracing: Out-of-the-box OpenTelemetry exports and native Langfuse tracing.
CLI or API
This agent wraps the Nextcloud MCP Server for Agentic AI! API. The operator can interact with it programmatically or via its integrated execution entrypoints.
Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md.
MCP
This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.
Available MCP Tools
One typed tool per operation (89 tools), grouped by domain. Each domain is enabled unless its toggle is set false. Destructive tools ask for confirmation.
activity (toggle ACTIVITYTOOL)
MCP Tool | Description |
| Dismiss one notification. |
| Read the activity stream, newest first; narrow to one object ( |
| List the account's current notifications. |
admin (toggle ADMINTOOL)
MCP Tool | Description |
| Add one account to a group. |
| Create one group. |
| Create one account. Give a password, or an email for a set-password invite. |
| Delete one group (its members keep their accounts). |
| Delete one account and its files. |
| Disable one app. |
| Disable one account (it can no longer log in; data is kept). |
| Enable one installed app. |
| Enable one disabled account. |
| Read one installed app's metadata (name, version, dependencies). |
| Read one account's details. |
| Read the connected account: id, display name, email, quota, groups. |
| List installed app ids that are enabled, disabled, or all of them. |
| List the account ids in one group. |
| List group ids, optionally matching a search string. |
| List account ids, optionally matching a search string. |
| Remove one account from a group. |
| Change one field of an account. |
calendar (toggle CALENDARTOOL)
MCP Tool | Description |
| Create one calendar that holds events and, by default, tasks. |
| Create one event. Attendees get a draft invitation unless |
| Create one task (VTODO) in a task-capable calendar (the Tasks app shows it). |
| Delete one calendar and everything in it (it moves to the calendar trash). |
| Delete one event or task. |
| Read one event or task: its parsed fields, etag and raw iCalendar text. |
| List the account's calendars and the components (VEVENT, VTODO) each holds. |
| List the events of one calendar, optionally within an ISO time range. |
| List the tasks (VTODO) of one task-capable calendar. |
| Change one event's fields; the write is guarded by the event's etag. |
| Change one task, or mark it complete or open again; guarded by its etag. |
contacts (toggle CONTACTSTOOL)
MCP Tool | Description |
| Create one contact in an address book. |
| Delete one contact. |
| Read one contact: parsed fields, etag and the raw vCard. |
| List the account's address books. |
| List the contacts of one address book with name, emails, phones and organization. |
| Change one contact; omitted fields keep their value. Guarded by the etag. |
deck (toggle DECKTOOL)
MCP Tool | Description |
| Assign one user to a card. |
| Create one board; |
| Create one card in a stack; |
| Create one stack (column) on a board. |
| Delete one board (Deck keeps it restorable for a while). |
| Delete one card. |
| Delete one stack and its cards. |
| Read one board with its labels and members. |
| Read one card. |
| List the Deck boards the account can see. |
| List the stacks (columns) of one board, each with its cards. |
| Move one card to a stack (column) of the board, at position |
| Change one card's title, description or due date. |
files (toggle FILESTOOL)
MCP Tool | Description |
| Copy one file or folder. |
| Create one folder. |
| Delete one file or folder (it moves to the trash bin). |
| Read the properties of one file or folder (size, type, etag, file id). |
| Read the storage quota of the connected account. |
| List the files and folders in one folder (PROPFIND, depth 1). |
| List the items in the trash bin of the connected account. |
| List the stored versions of one file, newest first. |
| Move or rename one file or folder. |
| Download one file; the bytes come back base64-encoded. |
| Restore one trash-bin item to its original location. |
| Restore one stored version of a file; the current content becomes a version. |
| Search files by name (case-insensitive substring) under one folder. |
| Upload one file, creating missing parent folders. |
notes (toggle NOTESTOOL)
MCP Tool | Description |
| Create one note. |
| Delete one note. |
| Read one note with its content. |
| List the account's notes, optionally of one category. |
| Change one note's title, content, category or favorite flag. |
office (toggle OFFICETOOL)
MCP Tool | Description |
| Create one new document at |
| List the document types the server can create (document, spreadsheet, presentation, diagram, markdown) with their extensions and templates. |
| Open one document for editing and return a one-time editor |
shares (toggle SHARESTOOL)
MCP Tool | Description |
| Share one file or folder and return the share (a public link carries its |
| Revoke one share. |
| Read one share by id. |
| List shares: all of the account's shares, the shares on one path, or the shares other people gave the account. |
| Change one share's permissions, password, expiry, label or note. |
talk (toggle TALKTOOL)
MCP Tool | Description |
| Add a user, group, email guest or team to one conversation. |
| Create one conversation and return it with its |
| Delete one conversation for everyone (moderators only). |
| Delete one chat message. |
| Read one conversation by its token. |
| List the conversations the account takes part in. |
| Read the chat history of one conversation, newest first. |
| List the participants of one conversation. |
| Remove one attendee (by attendee id from list_participants) from a conversation. |
| Rename one conversation. |
| Post one chat message to a conversation. |
Detailed tool schemas, parameter shapes, and validation constraints are preserved in docs/usage.md.
Dynamic Tool Selection & Visibility
This MCP server supports dynamic toolset selection and visibility filtering at runtime. This allows the operator to restrict the set of exposed tools to prevent blowing up the LLM's context window.
The operator can configure tool filtering via multiple input channels:
CLI Arguments: Pass
--toolsor--toolsets(or their disabled counterparts--disabled-toolsand--disabled-toolsets) during startup.Environment Variables: Define standard environment variables:
MCP_ENABLED_TOOLS/MCP_DISABLED_TOOLSMCP_ENABLED_TAGS/MCP_DISABLED_TAGS
HTTP SSE Request Headers: Pass custom headers during transport initialization:
x-mcp-enabled-tools/x-mcp-disabled-toolsx-mcp-enabled-tags/x-mcp-disabled-tags
HTTP SSE Request Query Parameters: Append query parameters directly to the operator's transport connection URL:
?tools=tool1,tool2?tags=tag1
When query strings or parameters are supplied, an LLM-free Knowledge Graph resolution layer (using DynamicToolOrchestrator) matches query intents against known tool tags, names, or descriptions, with safe fallback and automated 24-hour background cache refreshing.
MCP Configuration Examples
Install the connector-focused
[mcp]extra. Examples usenextcloud-agent[mcp]to add FastMCP / FastAPI throughscion-sdk[mcp]; the required Meristem core still carriesmedulla[full]. The[agent-runtime]extra additionally enables model orchestration.
stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
{
"mcpServers": {
"nextcloud-mcp": {
"command": "uvx",
"args": [
"--from",
"nextcloud-agent[mcp]",
"nextcloud-mcp"
],
"env": {
"CALENDARTOOL": "True",
"CONTACTSTOOL": "True",
"FILESTOOL": "True",
"NEXTCLOUD_PASSWORD": "your_password",
"NEXTCLOUD_URL": "https://nextcloud.example.com",
"NEXTCLOUD_USERNAME": "your_username",
"SHARESTOOL": "True",
"ADMINTOOL": "True"
}
}
}
}Runtime references require an alias-aware launcher such as Arbora. Other launchers must omit those entries and inject the resolved values through their own runtime secret boundary.
Streamable-HTTP Transport (networked / production)
{
"mcpServers": {
"nextcloud-mcp": {
"command": "uvx",
"args": [
"--from",
"nextcloud-agent[mcp]",
"nextcloud-mcp",
"--transport",
"streamable-http",
"--port",
"8000"
],
"env": {
"TRANSPORT": "streamable-http",
"HOST": "127.0.0.1",
"PORT": "8000",
"CALENDARTOOL": "True",
"CONTACTSTOOL": "True",
"FILESTOOL": "True",
"NEXTCLOUD_PASSWORD": "your_password",
"NEXTCLOUD_URL": "https://nextcloud.example.com",
"NEXTCLOUD_USERNAME": "your_username",
"SHARESTOOL": "True",
"ADMINTOOL": "True"
}
}
}
}Alternatively, connect to a pre-deployed Streamable-HTTP instance by url:
{
"mcpServers": {
"nextcloud-mcp": {
"url": "http://localhost:8000/nextcloud-mcp/mcp"
}
}
}Run a reviewed container image as a least-privilege stdio child (no listener or published port):
docker run -i --rm \
--read-only \
--cap-drop=ALL \
--security-opt=no-new-privileges \
--pids-limit=256 \
--tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
-e TRANSPORT=stdio \
-e MCP_TOOL_MODE=intent \
-e CALENDARTOOL=True \
-e CONTACTSTOOL=True \
-e FILESTOOL=True \
-e INGESTTOOL=True \
-e NEXTCLOUD_PASSWORD=your_password \
-e NEXTCLOUD_URL=https://nextcloud.example.com \
-e NEXTCLOUD_USERNAME=your_username \
-e SHARESTOOL=True \
-e ADMINTOOL=True \
registry.example.invalid/nextcloud-agent@sha256:<digest> nextcloud-mcpFor containerized network HTTP, supply an authenticated TLS ingress (or
direct server TLS), exact MCP_ALLOWED_HOSTS, and an exact trusted-proxy
CIDR policy through the operator-owned deployment profile. The generator
does not emit an unauthenticated non-loopback listener.
Auto-generated from the code-read env surface (MCP_TOOL_MODE + package vars) — do not edit.
Additional Deployment Options
nextcloud-agent can also run as a local container (Docker / Podman / uv) or be
consumed from a remote deployment. The
Deployment guide has full, copy-paste
mcp_config.json for all four transports — stdio, streamable-http,
local container / uv, and remote URL:
Local container / uv — launch the server from
mcp_config.jsonviauvx,docker run, orpodman run, or point at a local streamable-http container byurl. The published container runs as a reviewed, least-privilege stdio child with no listener or published port by default (see the hardeneddocker runexample above).Remote URL — connect to a server deployed behind Caddy at
https://nextcloud-mcp.example.invalid/mcpusing the"url"key, or through any operator-supplied authenticated HTTPS ingress. Keep its URL, outbound identity references, trust profile, and exactMCP_ALLOWED_HOSTSinAgentConfig.
Agent
This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the Agent Control Protocol (ACP) and interacts smoothly with the Agent Web UI (AG-UI) and Terminal interface.
Running the Agent CLI
To start the interactive command-line agent:
# Set credentials
export NEXTCLOUD_URL="your_value"
export NEXTCLOUD_USERNAME="your_value"
export NEXTCLOUD_PASSWORD="your_value"
# Run the agent server
nextcloud-agent --provider openai --model-id gpt-4oDocker Compose Orchestration
The following docker/agent.compose.yml configures the Agent, Web UI, and Terminal Interface together:
version: '3.8'
services:
nextcloud-agent-mcp:
image: knucklessg1/nextcloud-agent:mcp
container_name: nextcloud-agent-mcp
hostname: nextcloud-agent-mcp
restart: always
env_file:
- ../.env
environment:
- PYTHONUNBUFFERED=1
- HOST=0.0.0.0
- PORT=8000
- TRANSPORT=streamable-http
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
nextcloud-agent-agent:
image: knucklessg1/nextcloud-agent:2.3.3
container_name: nextcloud-agent-agent
hostname: nextcloud-agent-agent
restart: always
depends_on:
- nextcloud-agent-mcp
env_file:
- ../.env
command: [ "nextcloud-agent" ]
environment:
- PYTHONUNBUFFERED=1
- HOST=0.0.0.0
- PORT=9016
- MCP_URL=http://nextcloud-agent-mcp:8000/mcp
- ENABLE_OTEL=True
ports:
- "9016:9016"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9016/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in docs/deployment.md.
Security & Governance
Built directly upon the enterprise-ready scion-sdk core, standard security parameters are fully supported:
Access Control & Policy Enforcement
Eunomia Policies: Fine-grained, policy-driven tool authorization. Supports
none, localembedded(mcp_policies.json), or centralizedremotemodes.OIDC Token Delegation: Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
Scoped Credentials: Execution context runs restricted to the specific caller identity.
Runtime Security Grid
Feature | Feature | Enablement |
Tool Guard | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
Prompt Injection Defense | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
Context Safety Guard | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
Environment Variables
Package environment variables
Variable | Example | Description |
|
| |
|
| |
|
| options: stdio, streamable-http, sse |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| options: none, embedded, remote |
|
| |
|
| |
|
| |
|
| |
| secret-injected | |
|
| AgentConfig named transport profile |
|
| Direct runtime profile reference |
|
| Named runtime profile catalog |
|
| |
|
| |
|
| |
|
| |
|
|
Inherited scion-sdk variables (apply to every connector)
Variable | Example | Description |
| — | Comma-separated tool allow-list |
| — | Comma-separated tool deny-list |
| — | Comma-separated tag allow-list |
| — | Comma-separated tag deny-list |
| — | Outbound MCP child auth: |
| — | OIDC client id (service-account auth) |
|
| Runtime secret reference for the OIDC service account |
| — | HTTP Basic username ( |
|
| Runtime secret reference for HTTP Basic auth ( |
|
| Verbose logging |
|
| Unbuffered stdout (recommended in containers) |
|
| URL of the MCP server the agent connects to |
23 package + 16 inherited variable(s). Auto-generated from .env.example + the shared scion-sdk set — do not edit.
Every variable the server reads, grouped by purpose. See .env.example
for a copy-paste starting point.
Connection & Credentials
Variable | Description | Default |
| Base URL of the Nextcloud instance |
|
| Username (basic auth) | — |
| Password / app password (basic auth) | — |
| AgentConfig transport profile selector; peer verification is mandatory | — |
MCP server / transport
Variable | Description | Default |
|
|
|
| Bind host (HTTP transports) |
|
| Bind port (HTTP transports) |
|
| Comma-separated tool allow/deny list | — |
| Comma-separated tag allow/deny list | — |
Tool toggles
Each tool domain can be disabled via its toggle env var (set to false):
FILESTOOL, SHARESTOOL, CALENDARTOOL, CONTACTSTOOL, TALKTOOL, DECKTOOL, NOTESTOOL, OFFICETOOL, ACTIVITYTOOL, ADMINTOOL. See the
Available MCP Tools table above.
Telemetry & governance
Variable | Description | Default |
| Enable OpenTelemetry export |
|
| OTLP collector endpoint | — |
| OTLP auth keys | — |
| OTLP protocol (e.g. | — |
| Authorization mode: |
|
| Embedded policy file |
|
| Remote Eunomia server URL | — |
Installation
Pick the extra that matches what the operator want to run:
Extra | Installs | Use when |
| Connector-focused MCP server ( | The operator only run the MCP server (smallest install / image) |
| Agent runtime ( | The operator run the integrated agent |
| Everything ( | Development / both surfaces |
# Connector-focused MCP server (includes the shared graph engine)
uv pip install "nextcloud-agent[mcp]"
# Agent runtime (adds model orchestration to the shared graph engine)
uv pip install "nextcloud-agent[agent]"
# Everything (development)
uv pip install "nextcloud-agent[all]" # or: python -m pip install "nextcloud-agent[all]"Container images (:mcp vs :agent)
One multi-stage docker/Dockerfile builds two right-sized images, selected by --target:
Image tag | Build target | Contents | Entrypoint |
|
|
|
|
|
|
|
|
docker build --target mcp -t knucklessg1/nextcloud-agent:mcp docker/ # connector-focused MCP server
docker build --target agent -t knucklessg1/nextcloud-agent:2.3.3 docker/ # agent runtimedocker/mcp.compose.yml runs the connector-focused :mcp server; docker/agent.compose.yml runs the
agent (:2.3.3) with a co-located :mcp sidecar.
Knowledge-graph database (medulla)
Both [mcp] and [agent] carry the medulla engine through the required
Meristem core dependency (medulla[full]). The [mcp] extra keeps
the server connector-focused; [agent] also enables model orchestration. Local
deployments can use the bundled engine. For production — or to share one knowledge graph
across multiple agents — run medulla as its own database container and point the
agent at it instead of embedding it. Deployment recipes (single-node + Raft HA), connection
config, and the full database architecture (with diagrams) are documented in the
medulla deployment guide.
Documentation
The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.
Page | Contents |
pip, source, uv, prebuilt Docker image | |
run the MCP server and the agent, Compose, Caddy + Technitium, env config | |
the MCP tools, the | |
deploy Nextcloud with Docker | |
the per-operation tool surface and ecosystem role | |
concept registry ( |
Repository Owners
Contribute
Contributions are welcome! Please ensure code quality by running local checks before submitting pull requests:
Format code using
ruff format .Lint code using
ruff check .Validate type-safety with
mypy .Ran test suites using
pytest
Deploy with agent-os-genesis
This package can be provisioned for you — skill-guided — by the agent-os-genesis
universal skill (its single-package deploy mode): it picks your install method, seeds
secrets to OpenBao/Vault (or .env), trusts your enterprise CA, registers the MCP
server, and verifies it — the same machinery that stands up the whole Agent OS, narrowed
to just this package. Ask your agent to "deploy nextcloud-agent with agent-os-genesis".
Install mode | Command |
Bare-metal, prod (PyPI) |
|
Bare-metal, dev (editable) |
|
Container, prod | deploy |
Container, dev (editable) | deploy |
Secrets are read-existing + seeded via vault_sync — you are only prompted for what's missing.
Deploy with scion-sdk-deployment
Provision this package with the consolidated scion-sdk-deployment
workflow. It selects an installed-package, editable-source, or immutable-container
path; records only runtime secret and TLS-profile references in AgentConfig; and
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
to "deploy nextcloud-agent with scion-sdk-deployment".
Install mode | Command |
Installed package |
|
Editable source |
|
Immutable container | deploy |
The repository embeds no deployment profile, credential value, certificate path, or
environment-specific endpoint. Supply those at runtime through AgentConfig and the
configured secret provider.
Governed capability contract
This package ships a compact canonical skill surface with specialist procedures
kept as referenced workflows. The current MCP tools, skill metadata,
connector_manifest.yml, ontology, mappings, shapes, fixtures, migrations,
tool-schema fingerprints, and certification metadata form one versioned
capability contract. Validate them together; do not rely on stale tool names or
historical per-task skill wrappers.
Runtime endpoints, credentials, certificate trust, tenant identity, retention, and observability policy are deployment inputs and are never packaged values. See Configuration, trust, and privacy before enabling a network transport, connector ingestion, Arbora delegation, or trace export.
Available Tools
89 toolsnextcloud_add_participantAdd participantB
Add a user, group, email guest or team to one conversation.
POST /ocs/v2.php/apps/spreed/api/v4/room/{token}/participants
Inputs: token (required), participant (required), source.
nextcloud_add_user_to_groupAdd user to groupC
Add one account to a group.
POST /ocs/v2.php/cloud/users/{user_id}/groups
Inputs: user_id (required), group_id (required).
nextcloud_assign_card_userAssign card userCIdempotent
Assign one user to a card.
PUT /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{stack_id}/cards/{card_id}/assignUser
Inputs: card_id (required), user_id (required), board_id (required), stack_id (required).
nextcloud_copy_itemCopy itemC
Copy one file or folder.
COPY /remote.php/dav/files/{user}/{source_path}
Inputs: dest_path (required), source_path (required), overwrite.
nextcloud_create_boardCreate boardB
Create one board; color is a hex RGB value without #.
POST /index.php/apps/deck/api/v1.0/boards
Inputs: title (required), color.
nextcloud_create_calendarCreate calendarB
Create one calendar that holds events and, by default, tasks.
MKCALENDAR /remote.php/dav/calendars/{user}/{slug}
Inputs: display_name (required), slug, with_tasks.
nextcloud_create_cardCreate cardB
Create one card in a stack; duedate is ISO 8601.
POST /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{stack_id}/cards
Inputs: title (required), board_id (required), stack_id (required), order, +2 more.
nextcloud_create_contactCreate contactCIdempotent
Create one contact in an address book.
PUT /remote.php/dav/addressbooks/users/{user}/{book}/{uid}.vcf
Inputs: full_name (required), address_book_url (required), note, title, +3 more.
nextcloud_create_conversationCreate conversationA
Create one conversation and return it with its token.
POST /ocs/v2.php/apps/spreed/api/v4/room
group is private (members only, no link); public can be joined
by link; one_to_one needs invite (a user id).
Inputs: name (required), invite, room_type.
nextcloud_create_documentCreate documentA
Create one new document at path; the extension picks the type
(.docx, .xlsx, .pptx, .odg, .md).
POST /ocs/v2.php/apps/files/api/v1/templates/create
template_path is a template filename from
list_document_templates; omitted, the document starts empty. Everyone
with access to the file edits it together in real time.
Inputs: path (required), template_path.
nextcloud_create_eventCreate eventBIdempotent
Create one event. Attendees get a draft invitation unless send_invitations.
PUT /remote.php/dav/calendars/{user}/{calendar}/{uid}.ics
start/end are ISO 8601 (a naive time is UTC); end
defaults to one hour (one day when all_day) after start.
With send_invitations false the attendees are marked
SCHEDULE-AGENT=CLIENT, so the server sends no invitation email.
Inputs: start (required), summary (required), calendar_url (required), end, +5 more.
nextcloud_create_folderCreate folderB
Create one folder.
MKCOL /remote.php/dav/files/{user}/{path}
Inputs: path (required).
nextcloud_create_groupCreate groupC
Create one group.
POST /ocs/v2.php/cloud/groups
Inputs: group_id (required), display_name.
nextcloud_create_noteCreate noteC
Create one note.
POST /index.php/apps/notes/api/v1/notes
Inputs: title (required), content, category.
nextcloud_create_stackCreate stackC
Create one stack (column) on a board.
POST /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks
Inputs: title (required), board_id (required), order.
nextcloud_create_taskCreate taskAIdempotent
Create one task (VTODO) in a task-capable calendar (the Tasks app shows it).
PUT /remote.php/dav/calendars/{user}/{calendar}/{uid}.ics
priority follows iCalendar: 1 highest, 9 lowest, 0 undefined.
Inputs: summary (required), calendar_url (required), due, priority, +1 more.
nextcloud_create_userCreate userB
Create one account. Give a password, or an email for a set-password invite.
POST /ocs/v2.php/cloud/users
Inputs: user_id (required), email, quota, groups, +2 more.
nextcloud_delete_boardDelete boardBDestructiveIdempotent
Delete one board (Deck keeps it restorable for a while).
DELETE /index.php/apps/deck/api/v1.0/boards/{board_id}
Inputs: board_id (required), confirm.
nextcloud_delete_calendarDelete calendarADestructiveIdempotent
Delete one calendar and everything in it (it moves to the calendar trash).
DELETE /remote.php/dav/calendars/{user}/{slug}
Inputs: calendar_url (required), confirm.
nextcloud_delete_calendar_objectDelete calendar objectCDestructiveIdempotent
Delete one event or task.
DELETE /remote.php/dav/calendars/{user}/{calendar}/{object}.ics
Inputs: object_url (required), confirm.
nextcloud_delete_cardDelete cardCDestructiveIdempotent
Delete one card.
DELETE /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{stack_id}/cards/{card_id}
Inputs: card_id (required), board_id (required), stack_id (required), confirm.
nextcloud_delete_contactDelete contactCDestructiveIdempotent
Delete one contact.
DELETE /remote.php/dav/addressbooks/users/{user}/{book}/{contact}.vcf
Inputs: contact_url (required), confirm.
nextcloud_delete_conversationDelete conversationADestructiveIdempotent
Delete one conversation for everyone (moderators only).
DELETE /ocs/v2.php/apps/spreed/api/v4/room/{token}
Inputs: token (required), confirm.
nextcloud_delete_groupDelete groupADestructiveIdempotent
Delete one group (its members keep their accounts).
DELETE /ocs/v2.php/cloud/groups/{group_id}
Inputs: group_id (required), confirm.
nextcloud_delete_itemDelete itemADestructiveIdempotent
Delete one file or folder (it moves to the trash bin).
DELETE /remote.php/dav/files/{user}/{path}
Inputs: path (required), confirm.
nextcloud_delete_messageDelete messageCDestructiveIdempotent
Delete one chat message.
DELETE /ocs/v2.php/apps/spreed/api/v1/chat/{token}/{message_id}
Inputs: token (required), message_id (required), confirm.
nextcloud_delete_noteDelete noteBDestructiveIdempotent
Delete one note.
DELETE /index.php/apps/notes/api/v1/notes/{note_id}
Inputs: note_id (required), confirm.
nextcloud_delete_stackDelete stackBDestructiveIdempotent
Delete one stack and its cards.
DELETE /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{stack_id}
Inputs: board_id (required), stack_id (required), confirm.
nextcloud_delete_userDelete userBDestructiveIdempotent
Delete one account and its files.
DELETE /ocs/v2.php/cloud/users/{user_id}
Inputs: user_id (required), confirm.
nextcloud_disable_appDisable appCDestructiveIdempotent
Disable one app.
DELETE /ocs/v2.php/cloud/apps/{app_id}
Inputs: app_id (required), confirm.
nextcloud_disable_userDisable userAIdempotent
Disable one account (it can no longer log in; data is kept).
PUT /ocs/v2.php/cloud/users/{user_id}/disable
Inputs: user_id (required).
nextcloud_dismiss_notificationDismiss notificationCDestructiveIdempotent
Dismiss one notification.
DELETE /ocs/v2.php/apps/notifications/api/v2/notifications/{notification_id}
Inputs: notification_id (required), confirm.
nextcloud_enable_appEnable appC
Enable one installed app.
POST /ocs/v2.php/cloud/apps/{app_id}
Inputs: app_id (required).
nextcloud_enable_userEnable userAIdempotent
Enable one disabled account.
PUT /ocs/v2.php/cloud/users/{user_id}/enable
Inputs: user_id (required).
nextcloud_get_appGet appARead-onlyIdempotent
Read one installed app's metadata (name, version, dependencies).
GET /ocs/v2.php/cloud/apps/{app_id}
Inputs: app_id (required).
nextcloud_get_boardGet boardBRead-onlyIdempotent
Read one board with its labels and members.
GET /index.php/apps/deck/api/v1.0/boards/{board_id}
Inputs: board_id (required).
nextcloud_get_calendar_objectGet calendar objectARead-onlyIdempotent
Read one event or task: its parsed fields, etag and raw iCalendar text.
GET /remote.php/dav/calendars/{user}/{calendar}/{object}.ics
Inputs: object_url (required).
nextcloud_get_cardGet cardBRead-onlyIdempotent
Read one card.
GET /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{stack_id}/cards/{card_id}
Inputs: card_id (required), board_id (required), stack_id (required).
nextcloud_get_contactGet contactARead-onlyIdempotent
Read one contact: parsed fields, etag and the raw vCard.
GET /remote.php/dav/addressbooks/users/{user}/{book}/{contact}.vcf
Inputs: contact_url (required).
nextcloud_get_conversationGet conversationARead-onlyIdempotent
Read one conversation by its token.
GET /ocs/v2.php/apps/spreed/api/v4/room/{token}
Inputs: token (required).
nextcloud_get_noteGet noteBRead-onlyIdempotent
Read one note with its content.
GET /index.php/apps/notes/api/v1/notes/{note_id}
Inputs: note_id (required).
nextcloud_get_propertiesGet propertiesARead-onlyIdempotent
Read the properties of one file or folder (size, type, etag, file id).
PROPFIND /remote.php/dav/files/{user}/{path}
Inputs: path (required).
nextcloud_get_userGet userBRead-onlyIdempotent
Read one account's details.
GET /ocs/v2.php/cloud/users/{user_id}
Inputs: user_id (required).
nextcloud_get_user_infoGet user infoARead-onlyIdempotent
Read the connected account: id, display name, email, quota, groups.
GET /ocs/v2.php/cloud/user
Inputs: no named parameters.
nextcloud_get_user_quotaGet user quotaBRead-onlyIdempotent
Read the storage quota of the connected account.
PROPFIND /remote.php/dav/files/{user}
Inputs: no named parameters.
nextcloud_list_activitiesList activitiesBRead-onlyIdempotent
Read the activity stream, newest first; narrow to one object
(object_type="files" with a file id) when given.
GET /ocs/v2.php/apps/activity/api/v2/activity
Inputs: limit, since, object_id, object_type.
nextcloud_list_address_booksList address booksARead-onlyIdempotent
List the account's address books.
PROPFIND /remote.php/dav/addressbooks/users/{user}
Inputs: no named parameters.
nextcloud_list_appsList appsARead-onlyIdempotent
List installed app ids that are enabled, disabled, or all of them.
GET /ocs/v2.php/cloud/apps
Inputs: status. Returns: result
nextcloud_list_boardsList boardsARead-onlyIdempotent
List the Deck boards the account can see.
GET /index.php/apps/deck/api/v1.0/boards
Inputs: no named parameters.
nextcloud_list_calendarsList calendarsBRead-onlyIdempotent
List the account's calendars and the components (VEVENT, VTODO) each holds.
PROPFIND /remote.php/dav/calendars/{user}
Inputs: no named parameters.
nextcloud_list_contactsList contactsBRead-onlyIdempotent
List the contacts of one address book with name, emails, phones and organization.
REPORT /remote.php/dav/addressbooks/users/{user}/{book}
Inputs: address_book_url (required).
nextcloud_list_conversationsList conversationsARead-onlyIdempotent
List the conversations the account takes part in.
GET /ocs/v2.php/apps/spreed/api/v4/room
Inputs: no named parameters.
nextcloud_list_document_templatesList document templatesARead-onlyIdempotent
List the document types the server can create (document, spreadsheet, presentation, diagram, markdown) with their extensions and templates.
GET /ocs/v2.php/apps/files/api/v1/templates
Inputs: no named parameters.
nextcloud_list_eventsList eventsBRead-onlyIdempotent
List the events of one calendar, optionally within an ISO time range.
REPORT /remote.php/dav/calendars/{user}/{calendar}
Inputs: calendar_url (required), end, start.
nextcloud_list_filesList filesARead-onlyIdempotent
List the files and folders in one folder (PROPFIND, depth 1).
PROPFIND /remote.php/dav/files/{user}/{path}
Inputs: path.
nextcloud_list_group_membersList group membersCRead-onlyIdempotent
List the account ids in one group.
GET /ocs/v2.php/cloud/groups/{group_id}/users
Inputs: group_id (required). Returns: result
nextcloud_list_groupsList groupsCRead-onlyIdempotent
List group ids, optionally matching a search string.
GET /ocs/v2.php/cloud/groups
Inputs: limit, search. Returns: result
nextcloud_list_messagesList messagesBRead-onlyIdempotent
Read the chat history of one conversation, newest first.
GET /ocs/v2.php/apps/spreed/api/v1/chat/{token}
Inputs: token (required), limit, last_known_message_id.
nextcloud_list_notesList notesBRead-onlyIdempotent
List the account's notes, optionally of one category.
GET /index.php/apps/notes/api/v1/notes
Inputs: category.
nextcloud_list_notificationsList notificationsBRead-onlyIdempotent
List the account's current notifications.
GET /ocs/v2.php/apps/notifications/api/v2/notifications
Inputs: no named parameters.
nextcloud_list_participantsList participantsBRead-onlyIdempotent
List the participants of one conversation.
GET /ocs/v2.php/apps/spreed/api/v4/room/{token}/participants
Inputs: token (required).
nextcloud_list_stacksList stacksBRead-onlyIdempotent
List the stacks (columns) of one board, each with its cards.
GET /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks
Inputs: board_id (required).
nextcloud_list_tasksList tasksCRead-onlyIdempotent
List the tasks (VTODO) of one task-capable calendar.
REPORT /remote.php/dav/calendars/{user}/{calendar}
Inputs: calendar_url (required), include_completed.
nextcloud_list_trashList trashARead-onlyIdempotent
List the items in the trash bin of the connected account.
PROPFIND /remote.php/dav/trashbin/{user}/trash
Inputs: no named parameters.
nextcloud_list_usersList usersBRead-onlyIdempotent
List account ids, optionally matching a search string.
GET /ocs/v2.php/cloud/users
Inputs: limit, offset, search. Returns: result
nextcloud_list_versionsList versionsBRead-onlyIdempotent
List the stored versions of one file, newest first.
PROPFIND /remote.php/dav/versions/{user}/versions/{fileid}
Inputs: path (required).
nextcloud_move_cardMove cardBIdempotent
Move one card to a stack (column) of the board, at position order.
PUT /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{target_stack_id}/cards/{card_id}/reorder
Inputs: card_id (required), board_id (required), target_stack_id (required), order.
nextcloud_move_itemMove itemC
Move or rename one file or folder.
MOVE /remote.php/dav/files/{user}/{source_path}
Inputs: dest_path (required), source_path (required), overwrite.
nextcloud_open_documentOpen documentA
Open one document for editing and return a one-time editor url
for the connected account (Office for office files, Text for markdown).
POST /ocs/v2.php/apps/richdocuments/api/v1/document
Inputs: path (required).
nextcloud_read_fileRead fileARead-onlyIdempotent
Download one file; the bytes come back base64-encoded.
GET /remote.php/dav/files/{user}/{path}
Inputs: path (required).
nextcloud_remove_participantRemove participantBDestructiveIdempotent
Remove one attendee (by attendee id from list_participants) from a conversation.
DELETE /ocs/v2.php/apps/spreed/api/v4/room/{token}/attendees
Inputs: token (required), attendee_id (required), confirm.
nextcloud_remove_user_from_groupRemove user from groupCDestructiveIdempotent
Remove one account from a group.
DELETE /ocs/v2.php/cloud/users/{user_id}/groups
Inputs: user_id (required), group_id (required), confirm.
nextcloud_rename_conversationRename conversationCIdempotent
Rename one conversation.
PUT /ocs/v2.php/apps/spreed/api/v4/room/{token}
Inputs: name (required), token (required).
nextcloud_restore_trash_itemRestore trash itemA
Restore one trash-bin item to its original location.
MOVE /remote.php/dav/trashbin/{user}/trash/{trash_id}
Inputs: trash_id (required).
nextcloud_restore_versionRestore versionB
Restore one stored version of a file; the current content becomes a version.
MOVE /remote.php/dav/versions/{user}/versions/{fileid}/{version_id}
Inputs: path (required), version_id (required).
nextcloud_search_filesSearch filesBRead-onlyIdempotent
Search files by name (case-insensitive substring) under one folder.
SEARCH /remote.php/dav
mime_prefix narrows to a content type family, for example
image/ or video/. Returns paths relative to the account root.
Inputs: query (required), path, limit, mime_prefix.
nextcloud_send_messageSend messageC
Post one chat message to a conversation.
POST /ocs/v2.php/apps/spreed/api/v1/chat/{token}
Inputs: token (required), message (required), silent, reply_to.
nextcloud_update_cardUpdate cardCIdempotent
Change one card's title, description or due date.
PUT /index.php/apps/deck/api/v1.0/boards/{board_id}/stacks/{stack_id}/cards/{card_id}
Inputs: card_id (required), board_id (required), stack_id (required), title, +2 more.
nextcloud_update_contactUpdate contactBIdempotent
Change one contact; omitted fields keep their value. Guarded by the etag.
PUT /remote.php/dav/addressbooks/users/{user}/{book}/{contact}.vcf
Inputs: contact_url (required), note, title, emails, +3 more.
nextcloud_update_eventUpdate eventBIdempotent
Change one event's fields; the write is guarded by the event's etag.
PUT /remote.php/dav/calendars/{user}/{calendar}/{object}.ics
Inputs: event_url (required), end, start, summary, +4 more.
nextcloud_update_noteUpdate noteBIdempotent
Change one note's title, content, category or favorite flag.
PUT /index.php/apps/notes/api/v1/notes/{note_id}
Inputs: note_id (required), title, content, category, +1 more.
nextcloud_update_taskUpdate taskBIdempotent
Change one task, or mark it complete or open again; guarded by its etag.
PUT /remote.php/dav/calendars/{user}/{calendar}/{object}.ics
Inputs: task_url (required), due, summary, completed, +2 more.
nextcloud_update_userUpdate userCIdempotent
Change one field of an account.
PUT /ocs/v2.php/cloud/users/{user_id}
Inputs: key (required), value (required), user_id (required).
nextcloud_write_fileWrite fileAIdempotent
Upload one file, creating missing parent folders.
PUT /remote.php/dav/files/{user}/{path}
Pass text with encoding="utf-8", or binary content (an image, a
video, an office document) base64-encoded with encoding="base64".
Uploading over an existing file keeps the old content as a version.
Inputs: path (required), content (required), encoding, overwrite.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 89 tools
Most tools map cleanly to a distinct resource and action across files, notes, Deck, Calendar, Contacts, Talk, users, groups, apps, shares, and notifications. A few boundaries are softer, such as generic calendar-object tools versus event/task-specific tools, and get_user_info overlapping with get_user_quota, but descriptions generally make the intended use clear.
Tool names consistently use the nextcloud_ prefix followed by a snake_case verb_noun pattern. Variations like get_user_info or add_user_to_group still fit the same naming convention and remain predictable.
With 89 tools, the surface is far beyond a well-scoped toolset and imposes heavy selection and context overhead on an agent. Even for a broad Nextcloud integration, this is an extreme tool count that should be consolidated into fewer higher-level operations.
Coverage is broad and includes core workflows for files, sharing, versions, trash, contacts, calendars, Deck cards, Talk, notes, users, groups, apps, and notifications. Minor gaps remain, such as no update operations for boards, stacks, calendars, groups, or address books, but most common agent tasks are supported.
Maintenance
Related MCP Connectors
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Hosted MCP catalog with 30 tenant-isolated browser, RAG, AI, mail and media tools.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server for Nextcloud that exposes occ admin commands, OCS provisioning, and WebDAV file operations as tools.31MIT
- AlicenseAqualityBmaintenanceAn MCP server that exposes Nextcloud APIs as tools for AI assistants, enabling management of files, calendar, contacts, conversations, and more.2221MIT
- AlicenseNot gradedqualityBmaintenanceHigh-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.1MIT
- AlicenseNot gradedqualityAmaintenanceA native Nextcloud app that exposes the instance as an MCP server so Claude and other MCP clients can read, search, and (with admin-granted permissions) edit files, notes, calendars, Deck cards, and Talk conversations. It runs inside Nextcloud with OAuth or app-password sign-in, applying each user's own Nextcloud permissions and admin-controlled per-operation grants.19AGPL 3.0