Nextcloud MCP Server

Nextcloud MCP Server

nextcloudmcp•bybizneto

An MCP server that gives AI agents secure access to Nextcloud file management, sharing, user administration, and system monitoring through a set of 37 tools.

License: MIT License•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Manages Nextcloud files and folders via WebDAV, including listing, uploading, downloading, deleting, moving, copying, and creating directories.
  • •Handles Nextcloud sharing with creation, configuration, monitoring, updating, and deletion of user, group, public, and email shares.
  • •Administers Nextcloud users and groups, including create, read, update, delete, enable/disable accounts, and manage group memberships.
  • •Provides system monitoring and activity tracking for Nextcloud, including server status, capabilities, connection testing, and recent activity listings.

BEST FOR

  • •AI agents needing direct file backup, organization, and transfer workflows with a Nextcloud instance.
  • •Administrators automating user and group lifecycle management on Nextcloud, including bulk operations and temporary account suspension.
  • •Security auditing of Nextcloud shares, permissions, and file access via automated prompts and activity monitoring.

ABOUT NEXTCLOUDMCP

Nextcloud MCP Server is cataloged as an MCP server attributed to bizneto. An MCP server that gives AI agents secure access to Nextcloud file management, sharing, user administration, and system monitoring through a set of 37 tools. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Nextcloud MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What Nextcloud API versions does this MCP server support?

It supports Nextcloud API versions 28.0+ and is compatible with WebDAV, OCS API v1/v2, Status API, and Comments API.

How does the local file management system improve handling large files?

Files are downloaded to a local folder for direct access by Claude, avoiding base64 encoding and reducing memory use for large files.

Upstream README

View this exact version on GitHub

README.md · c261f4bccea9 · Fetched 2026-11-13 12:32:36 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Nextcloud MCP Server

npm version License: MIT Node.js Version MCP Compatible

A comprehensive Model Context Protocol (MCP) server for Nextcloud integration, providing AI agents with secure access to Nextcloud's file management, sharing, user administration, and system monitoring capabilities.

Features

🗂️ File Management

  • WebDAV Operations: List, upload, download, delete, move, copy files and folders
  • Directory Navigation: Browse directory structures with configurable depth
  • Binary File Support: Handle both text and binary files with base64 encoding
  • Folder Creation: Create new directories in your Nextcloud instance

🔗 Sharing Management

  • Share Creation: Create user, group, public, and email shares
  • Share Configuration: Set permissions, passwords, expiration dates, and notes
  • Share Monitoring: List and monitor all existing shares
  • Share Updates: Modify existing share settings
  • Share Deletion: Remove shares when no longer needed

👥 User Administration

  • User Management: Create, read, update, and delete users (admin privileges required)
  • Group Management: Create groups and manage group memberships
  • User Details: Access comprehensive user information including quotas and preferences
  • Bulk Operations: Efficient handling of multiple users and groups

🔧 System Monitoring

  • Server Status: Monitor Nextcloud server health and version information
  • Capabilities: Access server capabilities and configuration details
  • Security Auditing: Built-in security audit workflows

📋 Workflow Prompts

  • Backup Workflows: Automated file backup procedures
  • Share Management: Comprehensive sharing workflows
  • User Administration: Step-by-step user management processes
  • File Organization: Smart file categorization and organization
  • Security Audits: Automated security assessment procedures

Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Nextcloud server with API access
  • Valid Nextcloud user credentials

Setup

  1. Clone and install dependencies:
git clone https://github.com/mirekdlugosz/nextcloud-mcp-server.git
cd nextcloud-mcp-server
npm install
  1. Configure environment variables: Create a .env file in the root directory:
NEXTCLOUD_URL=https://your-nextcloud-server.com
NEXTCLOUD_USERNAME=your-username
NEXTCLOUD_PASSWORD=your-password-or-app-password

Security Note: It's recommended to use App Passwords instead of your main password. Generate one in Nextcloud Settings → Security → Devices & sessions.

  1. Build the project:
npm run build
  1. Test the server:
npm start

Usage with Claude Desktop

Add the following configuration to your Claude Desktop config file:

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "nextcloud": {
      "command": "node",
      "args": ["/path/to/nextcloud-mcp-server/dist/index.js"],
      "env": {
        "NEXTCLOUD_URL": "https://your-nextcloud-server.com",
        "NEXTCLOUD_USERNAME": "your-username",
        "NEXTCLOUD_PASSWORD": "your-password-or-app-password"
      }
    }
  }
}

Available Tools (37 total)

File Operations (7)

  • nextcloud_list_files - List files and folders
  • nextcloud_upload_file - Upload files to Nextcloud
  • nextcloud_download_file - Download files from Nextcloud
  • nextcloud_delete_file - Delete files or folders
  • nextcloud_move_file - Move or rename files/folders
  • nextcloud_copy_file - Copy files or folders
  • nextcloud_create_folder - Create new folders

Share Management (4)

  • nextcloud_list_shares - List all shares
  • nextcloud_create_share - Create new shares
  • nextcloud_update_share - Update existing shares
  • nextcloud_delete_share - Delete shares

User Management (7)

  • nextcloud_list_users - List all users
  • nextcloud_get_user - Get user details
  • nextcloud_create_user - Create new users
  • nextcloud_update_user - Update user information
  • nextcloud_delete_user - Delete users
  • nextcloud_enable_user - Enable disabled user accounts ⭐ NEW
  • nextcloud_disable_user - Disable user accounts (preserves data) ⭐ NEW

Group Management (6)

  • nextcloud_list_groups - List all groups
  • nextcloud_create_group - Create new groups
  • nextcloud_delete_group - Delete groups ⭐ NEW
  • nextcloud_add_user_to_group - Add users to groups
  • nextcloud_remove_user_from_group - Remove users from groups
  • nextcloud_get_group_users - Get all users in a group ⭐ NEW

System Information (3)

  • nextcloud_get_server_status - Get server status
  • nextcloud_get_capabilities - Get server capabilities
  • nextcloud_test_connection - Test connection and verify credentials

Comments (3)

  • nextcloud_list_comments - List comments for a file
  • nextcloud_add_comment - Add comment to a file
  • nextcloud_delete_comment - Delete a comment from a file

Local File Management (5)

  • nextcloud_download_to_local - Download files to local folder for direct Claude access
  • nextcloud_list_local_files - List files in local downloads folder
  • nextcloud_delete_local_file - Delete files from local folder
  • nextcloud_upload_from_local - Upload files from local folder to Nextcloud
  • nextcloud_get_downloads_path - Get path to downloads folder

Activity Monitoring (2) ⭐ NEW CATEGORY

  • nextcloud_list_activities - List recent activities (uploads, shares, downloads, etc.)
  • nextcloud_get_activity_types - Get available activity types and filters

🆕 Recent Updates (2025-08-06)

New Tools Added:

  1. nextcloud_get_group_users - Get all users in a specific group
  2. nextcloud_delete_group - Delete groups from Nextcloud
  3. nextcloud_list_activities - Monitor Nextcloud activities (NEW CATEGORY)
  4. nextcloud_get_activity_types - Get available activity filters
  5. nextcloud_enable_user - Enable disabled user accounts ⭐ LATEST
  6. nextcloud_disable_user - Disable user accounts (preserves data) ⭐ LATEST

New Capabilities:

  • Complete User Management: Full lifecycle including enable/disable operations
  • Complete Group Management: Now includes listing group members and deleting groups
  • Activity Monitoring: Track file uploads, downloads, shares, user actions, security events
  • Enhanced Security: Temporary account suspension without data loss
  • Enhanced User Experience: Better organization with 37 total tools across 7 categories

Available Resources

  • nextcloud://files - Root directory file listing
  • nextcloud://shares - All shares overview
  • nextcloud://users - All users listing
  • nextcloud://groups - All groups listing
  • nextcloud://status - Server status information
  • nextcloud://capabilities - Server capabilities

Available Prompts

  • backup_files - Create comprehensive backup workflows
  • share_management - Manage file sharing with detailed options
  • user_administration - Complete user management workflows
  • file_organization - Organize files with smart categorization
  • security_audit - Perform security audits of shares and permissions

Local File Management System

The server includes an efficient local file management system that allows Claude to work with files directly:

How it works:

  1. Download to Local: Files are downloaded from Nextcloud to a local downloads/ folder
  2. Direct Access: Claude can access these files directly using standard file operations
  3. Efficient Processing: No need for base64 encoding/decoding for large files
  4. Upload Back: Modified files can be uploaded back to Nextcloud

Benefits:

  • Performance: Much faster than base64 encoding for large files
  • Memory Efficient: No need to load entire files into memory as base64
  • Claude Integration: Claude can use standard file tools to read, edit, and process documents
  • Workflow Flexibility: Download → Process → Upload workflow

Example Workflow:

1. Download PDF from Nextcloud to local folder
2. Claude reads and analyzes the PDF directly
3. Claude creates a summary or modified version
4. Upload the new file back to Nextcloud

API Compatibility

This MCP server supports Nextcloud API versions 28.0+ and is compatible with:

  • WebDAV API - For file operations
  • OCS API v1/v2 - For sharing and user management
  • Status API - For server monitoring
  • Comments API - For file comments

Security Considerations

  • App Passwords: Always use App Passwords instead of main account passwords
  • Permissions: Some operations require admin privileges
  • Network Security: Ensure HTTPS is used for Nextcloud connections
  • Access Control: The server respects Nextcloud's built-in access controls
  • Audit Trails: All operations are logged by Nextcloud

Error Handling

The server provides comprehensive error handling for:

  • Network connectivity issues
  • Authentication failures
  • Permission denied errors
  • File not found errors
  • Invalid parameters
  • Nextcloud API errors

Development

Building

npm run build

Development Mode

npm run dev

Linting

npm run lint
npm run lint:fix

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Support

For issues and questions:

  1. Check the Nextcloud API documentation
  2. Review the error messages in the MCP server logs
  3. Ensure your Nextcloud instance is accessible and credentials are correct
  4. Verify that your user has the necessary permissions for the operations you're trying to perform

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Nextcloud MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/nextcloudmcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation