nextcloud-mcp-connector
Provides tools for interacting with Nextcloud files, calendar, notes, Deck, and contacts, including searching, reading, listing, and creating (create-only, never overwrite) resources, as well as unified search across providers.
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-connectorSearch my files for the quarterly report"
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.
MCP Connector for Nextcloud
A curated MCP server that connects your Nextcloud (files, calendar, notes, deck, contacts) to AI assistants such as Claude, Cursor, ChatGPT or your own agents.
This server can never delete, overwrite or re-share anything.
That sentence is the design constraint, not a promise of good behaviour. The server does not implement a single destructive call: no DELETE, no MOVE, no overwrite, no share modification. Write tools are create-only, and a name collision is answered with a clear refusal instead of a silent overwrite.
Two more properties follow from the same idea:
The assistant never sees more than you do. Every request runs with your own Nextcloud credentials, so Nextcloud permissions apply unchanged.
15 tools, not 150. The tool set is curated so that this server fits next to your other MCP servers, even in clients with a hard tool limit.
License: AGPL-3.0-or-later. App id, package names and repository name are frozen, see docs/app-id-freeze.md.
Status
Version 0.1.0, phase 1 (server core) in progress. The tool table below is the v1 tool set. Tools land one plan at a time and the table is verified against the live tool registry before release.
Related MCP server: Nextcloud CalDAV MCP Server
Quickstart (stdio)
You need a Nextcloud app password, not your login password. Create one in Nextcloud under Settings, Security, Devices and sessions.
uv tool install nextcloud-mcp-connector # or: uv run nc-mcp inside a checkout
export NC_MCP_URL=https://cloud.example.com
export NC_MCP_USER=alice
export NC_MCP_APP_PASSWORD=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
nc-mcpClient configuration, for example for Claude Desktop or Cursor:
{
"mcpServers": {
"nextcloud": {
"command": "nc-mcp",
"env": {
"NC_MCP_URL": "https://cloud.example.com",
"NC_MCP_USER": "alice",
"NC_MCP_APP_PASSWORD": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
}
}
}
}HTTP mode
The same server also speaks Streamable HTTP for remote clients. In this mode credentials are not
read from the environment, they travel per request in the Authorization header (Basic, user and
app password), so one deployment can serve several users without a credential store.
For single user deployments a static bearer token is available as a convenience.
Environment variables
Variable | Mode | Required | Purpose |
| stdio | yes | Base URL of your Nextcloud, including a subpath if you use one |
| stdio | yes | Nextcloud user id |
| stdio | yes | App password from Settings, Security, Devices and sessions |
| HTTP | yes | Comma separated allow list of Nextcloud hosts the server may talk to |
| HTTP | no | Static bearer token for single user deployments; without it, clients authenticate per request |
No credential is ever logged, in any mode.
Tools
Permission levels: read means the tool only reads, create-only means the tool can create new objects but can never modify or remove existing ones.
Tool | Permission | What it does |
| read | Search files by name and metadata via WebDAV search |
| read | List a directory with names, sizes and modification times |
| read | Read the content of a single file |
| create-only | Upload a new file; an existing path is refused, never overwritten |
| read | List events in an explicit time range, with an explicit time zone |
| create-only | Create a new event; existing events are never changed |
| read | Find notes by title and category |
| read | Read a single note |
| create-only | Create a new note; existing notes are never changed |
| read | Browse Deck boards, stacks and cards |
| create-only | Create a new card in a stack; existing cards are never changed |
| read | Search address book contacts |
| read | Query the Nextcloud unified search across providers, permission aware |
| read | OpenAI compatible search entry point, delegates to unified search |
| read | OpenAI compatible fetch entry point, resolves an id to a file, note, card or event |
search and fetch exist because the ChatGPT connector profile requires exactly these two names
and schemas. They are thin wrappers over the tools above, not a second implementation.
What this server cannot do
No deleting. No tool issues a DELETE against files, events, notes, cards or contacts.
No overwriting. Writes are create-only.
files_uploadrefuses an existing target path with a clear error instead of replacing it, and the create tools never touch an existing object.No moving or renaming. MOVE and COPY are not implemented.
No share changes. The server neither creates, modifies nor removes shares, and it never changes permissions.
No admin access. The server acts as one user with an app password and inherits exactly that user's permissions.
No full text search inside file contents unless the Nextcloud Full text search app is installed and configured. Without it, file search matches names and metadata.
No background jobs, no sync, no local copy of your data. Every call goes to your Nextcloud and returns.
Development
uv sync
uv run pytest
uv run ruff check .
uv run ruff format --check .Integration tests need a local test Nextcloud and are opt-in via uv run pytest -m integration.
License
AGPL-3.0-or-later, see LICENSE.
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
- Alicense-qualityDmaintenanceAn MCP server with real AI capabilities (OpenAI/Anthropic) for natural language understanding, multi-step planning, and autonomous task execution, enabling intelligent file analysis, weather-based planning, and more.270ISC
- Flicense-qualityDmaintenanceAn MCP server that lets Claude create calendar events and tasks in Nextcloud via CalDAV.
- Flicense-qualityDmaintenanceExposes a live Nextcloud instance as an MCP server by dynamically creating tools from OpenAPI definitions of installed apps. Enables natural language interaction with Nextcloud apps like files sharing, provisioning, and calendar management.6
- FlicenseBqualityDmaintenanceMCP server integrating Nextcloud services (tasks, calendar, notes, email, files, Deck) for AI assistant interaction.201
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for AI dialogue using various LLM models via AceDataCloud
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/street1983nk/nextcloud-mcp-connector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server