nextcloud-note-mcp
Integrates with the Nextcloud Notes app via the Notes API, enabling reading, searching, creating, updating, editing, and deleting notes. Supports safe string-replacement edits and etag-based conflict detection when replacing note bodies.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
nextcloud-note-mcp
Nextcloud の Notes アプリのノートを、Claude などの MCP クライアントから読み書きする stdio MCP サーバー。 検索はマッチした行と前後の数行だけを返す。本文の編集は、置き換える文字列だけを送れる。
依存
Node.js 20 以上
Notes アプリを入れた Nextcloud(Notes API 1.2 以上。Notes アプリ 4.1 以上)
Related MCP server: mcp-snippetbox
セットアップ
git clone https://github.com/nattoujam/nextcloud-note-mcp.gitcd nextcloud-note-mcp && npm ci && npm run buildサーバーは次の環境変数で Nextcloud に接続する。
変数 | 値 |
| Nextcloud の URL(例: |
| ユーザー名 |
| パスワード。アプリパスワードを推奨 |
Claude Code
claude mcp add --scope user nc-notes -e NC_NOTES_URL=https://cloud.example.com -e NC_NOTES_USER=your-user -e NC_NOTES_PASSWORD=your-app-password -- node /path/to/nextcloud-note-mcp/dist/index.jsClaude Desktop
claude_desktop_config.json に追加する。ファイルの場所と開き方は公式ドキュメントを参照。
{
"mcpServers": {
"nc-notes": {
"command": "node",
"args": ["/path/to/nextcloud-note-mcp/dist/index.js"],
"env": {
"NC_NOTES_URL": "https://cloud.example.com",
"NC_NOTES_USER": "your-user",
"NC_NOTES_PASSWORD": "your-app-password"
}
}
}
}パスワードをクライアントの設定に書かない場合
3 つの変数をファイルにまとめ、起動時に読み込ませる。NC_NOTES_URL=... の形で 1 行に 1 つ書き、chmod 600 にしておく。
"command": "bash",
"args": ["-c", "set -a; . /path/to/nc-notes.env; exec node /path/to/nextcloud-note-mcp/dist/index.js"]Claude Code では claude mcp add の -- 以降に同じコマンドを渡す。
使い方
クライアントに頼むと、Claude が tool を選んで呼ぶ。
「Notes から〇〇について書いたメモを探して」
「この調査結果をノートとして保存して」
「さっきのノートの結論の段落を書き直して」
書き込みは次のように振る舞う。
edit_noteは指定した文字列を置き換える。文字列が見つからないとき、複数見つかるときは書き込まない。update_noteで本文をまるごと置き換えるときは、get_noteで読んだ etag が要る。そのあと別の端末で編集されていたら、上書きせずにエラーを返す。create_noteのタイトルとカテゴリは、Nextcloud が記号を取り除いたり、同名のときに番号を付けたりする。返ってきた値が保存された名前になる。
制限
Notes API にはサーバー側の全文検索が無い。
search_notesは呼ぶたびに全ノートの本文を取得するので、ノートが多いと遅くなる。添付ファイル(画像など)は扱わない。
stdio で動くので、同じマシンで動く MCP クライアントからしか使えない。claude.ai の web 版やモバイルアプリからは使えない。
delete_noteで消したノートは、Nextcloud の Deleted files アプリが有効ならゴミ箱から戻せる。
ライセンス
MIT。LICENSE を参照。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
1Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Read and write your Caliu notes from any MCP client: search, create, tag, remind, attach files.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables LLMs to manage and manipulate notes in Nextcloud Notes via WebDAV, supporting tasks like organizing, summarizing, rewriting, and translating notes through natural language commands.132MIT
- AlicenseNot gradedqualityCmaintenanceEnables managing notes through a simple MCP server, providing tools to add, retrieve, update, delete, and list notes for use with Claude Desktop.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to create, list, search, and delete notes, read all notes as markdown, and use prompts to summarize or clean up notes.MIT
- AlicenseAqualityBmaintenanceEnables MCP-compatible clients such as Claude to list, retrieve, create, update, append to, and delete Nextcloud Notes, manage categories, and read or update app settings.12MIT