Skip to main content
Glama

nextcloud-mcp

CI PyPI Built with Claude Code

FastMCP server for Nextcloud — exposes occ admin commands, OCS provisioning, and WebDAV file operations as MCP tools.

Features

  • 17 occ admin tools — version check, maintenance mode, app management, config read/write, file scan, database maintenance, background jobs, FTS indexing, security advisory check, log tail, and system health

  • 6 OCS provisioning tools — user and group management, app password generation

  • 7 WebDAV + share tools — list, get, put, move, delete files; create/list/delete shares

Related MCP server: emcp

Quick start

pip install nextcloud-mcp
NEXTCLOUD_URL=https://your-nextcloud.example.com
NEXTCLOUD_CONTAINER=nextcloud
NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD=<app-password>
nextcloud-mcp

Configuration

Variable

Default

Description

NEXTCLOUD_URL

https://nextcloud.helmforge.me

Nextcloud base URL

NEXTCLOUD_CONTAINER

nextcloud

Docker container name

NEXTCLOUD_ADMIN_USER

admin

Admin username

NEXTCLOUD_ADMIN_PASSWORD

(required)

Admin app password

OTEL_EXPORTER_OTLP_ENDPOINT

(off)

OTLP trace endpoint

LOG_LEVEL

INFO

Log verbosity

Optional Vault integration: set NEXTCLOUD_VAULT_ADDR + NEXTCLOUD_VAULT_TOKEN to fetch credentials from HashiCorp Vault instead of env vars.

Forge deployment

See docs/forge.md for PM2, scoped-mcp, and Vault setup.

License

MIT

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TadMSTR/nextcloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server