nextcloud-mcp
Provides tools for Nextcloud administration including occ commands (version check, maintenance mode, app management, config read/write, file scan, database maintenance, background jobs, FTS indexing, security advisory check, log tail, system health), OCS provisioning (user and group management, app password generation), and WebDAV file operations (list, get, put, move, delete files; create/list/delete shares).
Allows fetching credentials from HashiCorp Vault instead of environment variables for configuration, enabling secure credential management.
Click on "Install 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-mcplist all Nextcloud users"
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-mcp
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-mcpNEXTCLOUD_URL=https://your-nextcloud.example.com
NEXTCLOUD_CONTAINER=nextcloud
NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD=<app-password>
nextcloud-mcpConfiguration
Variable | Default | Description |
|
| Nextcloud base URL |
|
| Docker container name |
|
| Admin username |
| (required) | Admin app password |
| (off) | OTLP trace endpoint |
|
| 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
Maintenance
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