mcp-nextcloud mcp

v1.0.0 · MCP Tool · productivity · registry.pascalai.org

Interact with Nextcloud: file operations, calendar, contacts, tasks and sharing.

nextcloudcloudfilescalendarselfhosted

Input Parameters

ParameterTypeDescription
urlrequired string Nextcloud instance URL.
usernamerequired string
passwordrequired string
operationrequired string One of: list_files, upload, download, delete, move, copy, create_folder, share, list_shares, list_calendars, list_events, create_event, list_contacts.
pathoptional string Remote file path.
local_pathoptional string
destinationoptional string
share_typeoptional integer 0=user, 3=public, 4=email.
share_withoptional string
calendar_idoptional string
event_dataoptional object
limitoptional integer Default: 50.

Output Fields

FieldTypeDescription
operation string
files array[object]
share_url string
events array[object]
contacts array[object]
success boolean

Examples

List files in directory

// Input
{
  "url": "https://cloud.example.com",
  "username": "admin",
  "password": "secret",
  "operation": "list_files",
  "path": "/Documents/Reports"
}

// Output
{
  "operation": "list_files",
  "files": [
    {
      "name": "Q1_Report.pdf",
      "size": 102400,
      "type": "file"
    }
  ]
}

Install & Discovery

Install

ppm install mcp-nextcloud

Get JSON Schema

GET /v1/packages/mcp-nextcloud/1.0.0/schema

Discover by keyword

GET /v1/mcp/discover?q=nextcloud
Discovery hint: Install with ppm install mcp-nextcloud or invoke remotely via POST /v1/invoke/mcp-nextcloud on the MCP Service.

PascalAI Usage

uses toolslib;
var Tool := LoadTool('mcp-nextcloud');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);