nextcloud-mcp-gateway
Provides tools for reading, writing, organizing, and managing files and folders in a Nextcloud instance via WebDAV, plus user information and health diagnostics through the OCS API.
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-mcp-gatewaylist all files in my 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-mcp-gateway ☁️
[
]
About
High-performance Model Context Protocol (MCP) Data Plane server for Nextcloud integration (TheNovaNodes/nextcloud-mcp-gateway). Enables AI agents to read, write, organize, and manage user files, documentation, reports, and CRM assets over WebDAV and Nextcloud OCS REST API.
Related MCP server: mcp-dev-tools
Exposed MCP Tools
Tool | Parameters | Description |
|
| Lists files and directories with timestamps, sizes, and MIME types via WebDAV |
|
| Reads textual or markdown document content directly from Nextcloud storage. |
|
| Creates or updates user files in Nextcloud storage via WebDAV |
|
| Deletes files or folders from storage via WebDAV |
|
| Creates new directory structures in Nextcloud storage via WebDAV |
| None | Retrieves user storage quota, display name, and details via OCS API. |
| None | Runs diagnostic health checks on |
Installation & Setup
# Clone repository
git clone https://github.com/TheNovaNodes/nextcloud-mcp-gateway.git
cd nextcloud-mcp-gateway
# Install in editable mode
pip install -e .Configuration
Copy .env.example to .env and fill in credentials:
cp .env.example .envVariable | Description | Default |
| Local Nextcloud instance endpoint |
|
| Public HTTPS domain endpoint |
|
| Nextcloud username |
|
| Nextcloud App Password or WebDAV token | Required |
| Request timeout in seconds |
|
MCP Client Integration
Add to your MCP configuration (mcp_config.json or claude_desktop_config.json):
{
"mcpServers": {
"nextcloud-gateway": {
"command": "python3",
"args": ["-m", "nextcloud_mcp_gateway.server"],
"cwd": "/home/ddoctorm/projects/TheNovaNodes/nextcloud-mcp-gateway",
"env": {
"NC_URL": "http://127.0.0.1:8080",
"NC_PUBLIC_URL": "https://nc.shtab-ai.ru",
"NC_USER": "zavlab",
"NC_APP_PASSWORD": "your_app_password"
}
}
}
}Running Unit Tests
python3 -m pytest -vLicense
MIT — See LICENSE file.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Nextcloud Collectives that exposes collectives, pages, tags, attachments, page history, and trash to Claude and MCP-compatible clients via OCS API and WebDAV.Last updated41MIT
- Flicense-qualityDmaintenanceMCP server for file and directory operations with enterprise-grade security, enabling autonomous AI development workflows.Last updated
- Alicense-qualityAmaintenanceEnables to manage Nextcloud files, user info, sharing, calendar, and contacts through optimized MCP tools with dynamic tool selection and enterprise-grade security.Last updatedMIT
- FlicenseBqualityDmaintenanceMCP server integrating Nextcloud services (tasks, calendar, notes, email, files, Deck) for AI assistant interaction.Last updated201
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Cloud-hosted MCP server for durable AI memory
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/TheNovaNodes/nextcloud-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server