• ACCESS
  • CONTROL
  • SECURITY
  • HUMAN

How to create secure file shares with your AI

Connect Nextcloud to your AI client to manage document access. Once connected, you can handle permissions and links without leaving your chat interface.

Ask AI about this page

Short answer

How can I use my AI to share Nextcloud files?

You can tell your AI to generate new sharing links, change existing permissions, or delete old links for any file in your Nextcloud instance. You'll see how the specific permissions and workflows map out below.

Sharing outcomes

Access management

What happens when you give your AI a sharing command.

ACCESS

New share links

The AI creates a specific URL for a file or folder. You get a direct link to hand off to others immediately.

CONTROL

Updated permissions

You can change who can see a file or whether they can edit it. The AI modifies the existing link settings for you.

SECURITY

Revoked access

When a project ends, tell your AI to kill the link. The access is removed instantly from your Nextcloud instance.

HUMAN

Manual review

You decide which files are sensitive enough to require manual oversight. The AI follows your instructions but you hold the final say on what gets shared.

The workflow

What your AI does when the command arrives.

Your agent acts as the bridge between your chat and your Nextcloud storage.

  1. Identify the file

    The AI looks through your Nextcloud directory to find the exact document or folder you mentioned.

    list_shares
  2. Generate the link

    Once the file is found, the AI creates a new sharing link based on your specific requirements.

    create_share
  3. Modify settings

    If you need to change a password or add an expiration date, the AI adjusts the current link.

    update_share
  4. Remove access

    The AI deletes the link entirely to ensure the file is no longer accessible via that URL.

    delete_share

Try it

Copy these to start.

Use these prompts to trigger the Nextcloud tools.

Starting points

These are basic requests. Swap out the file names and folder paths with your actual Nextcloud data.

Nextcloud Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Jkq8tANCmVo8yxKCd86qZgIi0uT7TVYlyKHTE2P4/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Nextcloud capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "nextcloud-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Jkq8tANCmVo8yxKCd86qZgIi0uT7TVYlyKHTE2P4/mcp"
    }
  }
}
Copy into chat04
  • Create a public share link for the 'Project_Alpha_Report.pdf' file.

  • Show me all the active shares I currently have in my Nextcloud.

  • Update the share for 'Budget_2024' so that it is read-only.

  • Delete the sharing link for the 'Old_Photos' folder.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Nextcloud once, then ask.

You only need to link your account once. Your credentials stay encrypted, and you can immediately start managing files through your preferred AI client.

Connect Nextcloud to your AI

FAQ

How this task behaves

  • 01

    Can the AI create new files in Nextcloud?

    No. This specific set of tools is strictly for managing and creating sharing links for existing files.

  • 02

    Will the AI delete my actual files?

    No. The tools only allow the AI to delete sharing links, not the files or folders themselves.

  • 03

    Can I set passwords on shares using the AI?

    Yes, you can instruct the AI to update a share with specific permission settings if the tool supports it.

  • 04

    Does the AI see all my files?

    The AI only accesses the files you explicitly ask it to interact with or list.

  • 05

    Can the AI manage user accounts?

    No. This connector is limited to managing shares and does not have tools to create or modify Nextcloud user accounts.

  • More questions about Nextcloud? See everything the Nextcloud Connector can do

Connect Nextcloud to Claude, Cursor, ChatGPT & more