How to Use the Nextcloud MCP in Claude Code
Run terminal commands to manage Nextcloud files, shares, and user profiles with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Nextcloud MCP to Claude Code
Create your Vinkius account to connect Nextcloud to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Pipe and manage Nextcloud files from your shell
The `list_files` tool dumps directory structures from your remote WebDAV storage directly inside your terminal session using this MCP Server. Claude Code inspects directories, checks file sizes, and pipes the output to other shell utilities. To automate storage maintenance, the agent fires `create_folder` and `delete_file` commands directly. Run these inside a terminal script or a cron job to handle cleanups.
Automate Nextcloud sharing via Claude Code CLI
The `create_share` tool lets you generate public links, group permissions, and email shares using simple terminal prompts. Claude Code executes these commands programmatically, making it easy to share build logs or database dumps. To maintain security from the command line, the agent uses `list_shares` to audit your active shares. It can run `update_share` and `delete_share` to revoke access or change permissions without requiring a web browser.
Query Nextcloud server capabilities and user statuses
The `get_capabilities` tool retrieves a JSON payload detailing your server limits, installed apps, and API versions. Claude Code inspects this data to ensure your automation scripts stay within server constraints. The agent also calls `list_activities` to pipe the latest server events to your terminal. It can update your chat availability using `set_user_status` and `set_user_status_message` based on your current terminal session activity.
Set up Nextcloud MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seenextcloud-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Nextcloud transactions." It will automatically discover and invoke the available Nextcloud tools.
claude mcp add --transport http nextcloud-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Nextcloud MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Nextcloud MCP today
We host it, we monitor it, we maintain it. You just paste one token.