Compatible with every major AI agent and IDE
What is the Nextcloud MCP Server?
Connect your Nextcloud instance to any AI agent and take full control of your self-hosted productivity suite through natural conversation.
What you can do
- File & Folder Management — List, create, and delete files or folders within your Nextcloud storage directly from the chat.
- Advanced Sharing — Create and manage shares for users, groups, or public links with custom permissions and passwords.
- User & Admin Tools — List users (admin only), fetch detailed user profiles, and inspect server capabilities and enabled apps.
- Presence & Status — Get or set your online status and custom status messages with emojis to keep your team informed.
- Activity Tracking — Monitor recent activities and changes within your Nextcloud environment.
How it works
- Subscribe to this server
- Enter your Nextcloud URL, Username, and App Password
- Start managing your cloud storage and collaboration tools from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Self-Hosters — Manage your personal cloud infrastructure without leaving your AI workspace.
- Teams & Organizations — Quickly share documents and update statuses during collaborative sessions.
- Developers — Inspect server capabilities and manage app passwords directly from your coding environment.
Built-in capabilities (16)
Create a new folder in Nextcloud (WebDAV)
Share Types: 0=User, 1=Group, 3=Public Link, 4=Email, 6=Federated, 7=Circle, 10=Talk. Create a new Nextcloud share
Delete the current app password
Delete a file or folder in Nextcloud (WebDAV)
Delete a Nextcloud share
Requires authenticating with the real user password. Generate a new app password
Get Nextcloud server capabilities
Get details for a specific Nextcloud user
Get current user status
List Nextcloud activity stream
Path is relative to the user root. List files in a Nextcloud directory (WebDAV)
List all Nextcloud shares
Requires admin privileges. List Nextcloud users (Admin only)
Set user online status
Set custom user status message
Update an existing Nextcloud share
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Nextcloud tool infrastructure. Connect 16 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Nextcloud without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Nextcloud tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Nextcloud in Mastra AI
Nextcloud and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Nextcloud to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Nextcloud in Mastra AI
The Nextcloud MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 16 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Nextcloud for Mastra AI
Every tool call from Mastra AI to the Nextcloud MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I create a public share link for a specific folder?
Use the create_share tool. Provide the path to your folder and set shareType to 3 (Public Link). You can also optionally set a password for added security.
Can I change my online status message using the AI?
Yes! You can use set_user_status to change your availability (e.g., 'dnd', 'away') and set_user_status_message to set a custom text and emoji icon.
Is it possible to see which apps are enabled on my Nextcloud server?
Absolutely. Use the get_capabilities tool to retrieve a full list of server features, version information, and all currently enabled applications.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Harvard ClinicalTrials
16 toolsSearch and analyze clinical trial data from Harvard and ClinicalTrials.gov for research, drug development, and healthcare innovation.

Worksuite
9 toolsFreelancer management and global contractor onboarding via Worksuite directly through AI.

Databricks
8 toolsManage lakehouse via Databricks — monitor compute clusters, track job executions, audit SQL warehouses, and explore Unity Catalog directly from any AI agent.

n8n (AI Workflow Automation)
7 toolsManage workflow automation via n8n — audit active workflows, track execution logs, and monitor credentials.
