Nextcloud Notes MCP Server
# Nextcloud Notes MCP Server
This is an unofficial **Nextcloud Notes MCP Server** for the Nextcloud Notes app that lets a **Large Language Model (LLM)** do the heavy lifting for your notes.
Simply tell the LLM what to do with your notes β organize, summarize, rewrite, or perform any custom task β and it will execute your instructions automatically.
## Features
* π» **Fully Local Possible** β Run the MCP Server and LLM models entirely on your own PC; no cloud needed.
* π€ **LLM-Powered Note Management** β Automate tasks like summarization, categorization, rewriting, or translations.
* π **Nextcloud Integration via WebDAV** β Access your notes directly through Nextcloud using the WebDAV protocol.
* β‘ **Boost Productivity** β Save time by letting the LLM handle repetitive or complex note tasks.
Sure! Here is an updated version of the **Installation** section that clearly separates **macOS/Linux** and **Windows** steps.
You can copy-paste this into your README:
## Installation
### π§ macOS / Linux
1. **Download the repository**:
```bash
git clone https://github.com/rncz/nextcloud-notes-mcp-server.git
```
2. **Configure environment**:
```bash
cd nextcloud-notes-mcp-server
cp env_sample .env
```
*Open `.env` and enter your Nextcloud WebDAV URL, username, and password.*
3. **Set up the Python environment and install the package**:
```bash
uv venv
uv tool install -e .
```
4. **Add MCP server to your LLM software** (example for LM Studio):
```json
{
"mcpServers": {
"nextcloud-notes-mcp": {
"command": "uvx",
"args": ["nextcloud-notes-mcp"]
}
}
}
```
5. **Test your setup** β Use a model with tool calling enabled and ask it to access your notes.
### πͺ Windows (PowerShell)
1. **Download the repository**:
```powershell
git clone https://github.com/rncz/nextcloud-notes-mcp-server.git
```
2. **Configure environment**:
```powershell
cd nextcloud-notes-mcp-server
copy env_sample .env
```
*Edit `.env` in your text editor and enter your WebDAV URL, username, and password.*
3. **Set up the Python environment and install the package**:
```powershell
uv venv
uv tool install -e .
```
4. **Add MCP server to your LLM software** (example for LM Studio):
```json
{
"mcpServers": {
"nextcloud-notes-mcp": {
"command": "uvx",
"args": ["nextcloud-notes-mcp"]
}
}
}
```
5. **Test your setup** β Ask the LLM to check WebDAV login.
### ποΈ Nextcloud WebDAV Notes Tools (12 tools)
| Tool | Description |
| ---------------------------- | ------------------------------------------------------------------------------------------ |
| `check_webdav_login` | Check if WebDAV authentication works and return a success/failure message |
| `ensure_notes_folder_exists` | Ensure the `/Notes` folder exists; create it if missing |
| `list_uncategorized_notes` | List `.md` notes directly inside `/Notes`, excluding subfolders |
| `list_categories` | List all category folders inside `/Notes` (directories only) |
| `list_notes_of_a_category` | List `.md` notes inside a given category folder |
| `read_note` | Read the full content of a note from `/Notes` or a category folder |
| `edit_note` | Replace an existing noteβs full content with new text |
| `create_note` | Create a new Markdown note in `/Notes` or a category folder (auto-create folder if needed) |
| `delete_note` | Delete a note from `/Notes` or a category folder |
| `rename_note` | Rename a note within `/Notes` or inside a category |
| `create_category` | Create a new category folder inside `/Notes` |
| `edit_category` | Rename an existing category inside `/Notes` |
| `delete_category` | Delete a category and all notes inside it |
TDQS
Scored across 13 tools
Each tool has a distinct purpose with clear boundaries: login check, folder management, note CRUD operations, and listing functions are well-separated. No overlapping functionality exists, making tool selection straightforward for an agent.
All tools follow a consistent verb_noun pattern (e.g., create_note, delete_category, list_notes_of_a_category). The naming is uniform and predictable throughout the set, enhancing readability and usability.
With 13 tools, the server is well-scoped for managing notes and categories in Nextcloud. Each tool serves a specific role in the domain, covering essential operations without bloat or redundancy.
The toolset provides complete coverage for note and category management, including CRUD operations for both, folder setup, login verification, and listing functions. No gaps are apparent, supporting full agent workflows without dead ends.