Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Collectives

БесплатноНе проверен

MCP server for Nextcloud Collectives that exposes collectives, pages, tags, attachments, page history, and trash to Claude and MCP-compatible clients via OCS AP

GitHubEmbed

Описание

MCP server for Nextcloud Collectives that exposes collectives, pages, tags, attachments, page history, and trash to Claude and MCP-compatible clients via OCS API and WebDAV.

README

A Model Context Protocol server for Nextcloud Collectives — exposes collectives, pages, tags, attachments, page history, and trash to Claude and any MCP-compatible client.

How it works

The server uses two Nextcloud APIs, verified against the Collectives OpenAPI spec:

Layer Used for
OCS API (/ocs/v2.php/apps/collectives/api/v1.0/...) All CRUD operations: collectives, pages, tags, attachments, trash, templates, search, favorites
WebDAV (/remote.php/dav/files/{user}/...) Page body read/write (no OCS equivalent), attachment upload, file version history

The OCS API handles structured operations and returns typed JSON. WebDAV is used only where OCS has no equivalent — primarily reading and writing page markdown content.

Tools exposed (41)

  • Collectives: list_collectives, create_collective, update_collective, delete_collective
  • Collective trash: list_trashed_collectives, restore_trashed_collective, permanently_delete_collective
  • Pages: list_pages, get_page, create_page, update_page, delete_page, rename_page, move_page, copy_page, set_page_emoji, set_page_tags, favorite_page, unfavorite_page
  • Tags: list_tags, create_tag, update_tag, delete_tag
  • Trash & history: list_trashed_pages, restore_page, purge_page, list_page_versions, restore_page_version, list_recent_pages
  • Templates: list_templates, create_template, update_template, set_template_emoji, delete_template
  • Search: search, search_in_collective
  • Attachments: list_attachments, upload_attachment, delete_attachment
  • Other: ping, get_backlinks

Install

Download collectives-mcp-0.2.1.tgz from the latest release, then:

npm install -g ./collectives-mcp-0.2.1.tgz

This installs the collectives-mcp command globally.

Configuration

Add to your MCP client config (Claude Code shown):

{
  "mcpServers": {
    "collectives": {
      "command": "collectives-mcp",
      "args": [],
      "env": {
        "NEXTCLOUD_URL": "https://your-nextcloud.example.com",
        "NEXTCLOUD_USER": "your-username",
        "NEXTCLOUD_APP_PASSWORD": "xxxx-xxxx-xxxx-xxxx-xxxx"
      }
    }
  }
}

Generate the app-password in Nextcloud under Settings > Security > Devices & sessions > "Create new app password". The MCP server only needs an app-password, never your real account password — and you can revoke it without affecting your main login.

Development

pnpm install
pnpm dev      # stdio MCP server, point mcp inspector at it
pnpm test     # integration tests against MCP_TEST_COLLECTIVE
pnpm build    # tsc -> dist/

Required env vars: NEXTCLOUD_URL, NEXTCLOUD_USER, NEXTCLOUD_APP_PASSWORD. Tests additionally need MCP_TEST_COLLECTIVE pointing at a throwaway collective.

Disclosure

This project was 100% written by AI (Claude), including all source code, tests, CI configuration, and documentation.

License

MIT — see LICENSE.

Related

from github.com/megamaced/nc_collectives-mcp

Установка Collectives

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/megamaced/nc_collectives-mcp

FAQ

Collectives MCP бесплатный?

Да, Collectives MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Collectives?

Нет, Collectives работает без API-ключей и переменных окружения.

Collectives — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Collectives в Claude Desktop, Claude Code или Cursor?

Открой Collectives на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Collectives with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai