Skip to main content
Glama
megamaced

collectives-mcp

by megamaced

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEXTCLOUD_URLYesThe URL of your Nextcloud instance (e.g., https://your-nextcloud.example.com)
NEXTCLOUD_USERYesYour Nextcloud username
NEXTCLOUD_APP_PASSWORDYesAn app-specific password generated in Nextcloud Settings > Security

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pingA

Verify connectivity to the configured Nextcloud instance and report how many collectives are visible.

list_collectivesA

List all Collectives the authenticated user has access to. Returns id, name, slug, emoji, and permission levels.

create_collectiveA

Create a new Collective. Also creates the underlying Nextcloud Team. Optionally set an emoji icon.

update_collectiveB

Change a Collective's emoji or adjust edit/share permission levels. Provide the id and any fields to change. Note: collective renaming is not supported by the API.

delete_collectiveA

Soft-delete a Collective (moves it to the Collectives trash, recoverable). Use permanently_delete_collective to remove it permanently and optionally delete the underlying Team.

list_trashed_collectivesA

List Collectives that have been soft-deleted. These can be restored or permanently deleted.

restore_trashed_collectiveA

Restore a soft-deleted Collective from the trash.

permanently_delete_collectiveA

Permanently delete a Collective from the trash. THIS IS IRREVERSIBLE. The Collective must already be in the trash (use delete_collective first). Set deleteTeam=true to also remove the underlying Nextcloud Team.

list_pagesA

List all pages in a Collective. Returns flat metadata (id, title, parentId, emoji, tags, timestamps, paths). Use parentId to reconstruct the tree.

get_pageB

Fetch a page as markdown. Returns the metadata block followed by the page body.

searchA

Full-text search across all Collectives pages the user can access. Uses the Nextcloud unified search provider. For searching within a specific Collective, use search_in_collective instead.

search_in_collectiveB

Search for pages by content within a specific Collective. Returns matching page metadata.

create_pageA

Create a new page under a parent. If the parent is a leaf page, it is automatically promoted to a folder. Optionally initialise from a template.

update_pageA

Replace, append to, or prepend to a page's markdown body. Mode defaults to "replace".

delete_pageA

Trash a page (recoverable from the Collectives page trash). Folder pages take their entire subtree with them. The Landing page cannot be deleted — delete the collective itself instead.

rename_pageC

Rename a page within its current parent.

move_pageA

Move a page to a new parent within the same collective. If the new parent is a leaf, it is promoted first.

set_page_emojiC

Set the single-emoji icon on a page. Pass an empty string to clear.

copy_pageB

Duplicate a page under the same parent. If newTitle is provided, the copy gets that title. Works for both leaf and folder pages.

favorite_pageC

Mark a page as a favorite for the authenticated user.

unfavorite_pageC

Remove a page from the authenticated user's favorites.

list_tagsC

List all tags defined for a Collective.

create_tagB

Create a new tag in a Collective. Requires a name and a hex color code (e.g. "#FF0000").

update_tagC

Update a tag's name and color.

delete_tagC

Delete a tag from a Collective.

set_page_tagsA

Replace the tags on a page. Tags must already exist in the Collective; pass tag ids (use list_tags to look them up).

list_trashed_pagesA

List pages in the trash for a Collective. These can be restored or permanently purged.

restore_pageC

Restore a trashed page back to its original location.

purge_pageA

Permanently delete a trashed page. THIS IS IRREVERSIBLE — the page content cannot be recovered after this call. The page must already be in the trash (use delete_page first).

list_page_versionsA

List available versions (revision history) for a page. Returns version ids that can be used with restore_page_version.

restore_page_versionA

Restore a specific historical version of a page. The current content is replaced with the selected version (the current version is preserved as a new version entry).

list_recent_pagesA

List recently-modified pages for a Collective, ordered by last edit time.

get_backlinksB

Find pages that link to the given page. Scans the linkedPageIds field on all pages in the Collective.

list_attachmentsA

List attachments for a page. Returns name, size, content type, and the relative markdown path to reference each file.

upload_attachmentA

Upload an attachment to a page. Creates the attachment directory if needed. Returns the relative path to use in markdown (e.g. ![alt](.attachments.{pageId}/filename.png)).

delete_attachmentC

Delete an attachment from a page.

list_templatesB

List page templates defined for a Collective.

create_templateC

Create a page template in a Collective.

update_templateC

Rename a page template.

set_template_emojiA

Set or clear the emoji icon on a page template.

delete_templateC

Delete a page template.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/megamaced/nc_collectives-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server