Skip to main content
Glama
rncz

Nextcloud Notes MCP Server

by rncz

delete_category

Remove a category folder from Nextcloud Notes to organize your notes by deleting unwanted or obsolete categories.

Instructions

Delete a category folder inside Notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_nameYes

Implementation Reference

  • The delete_category tool handler function, decorated with @mcp.tool() which handles both definition and registration. It deletes the specified category folder using the WebDAV client.
    @mcp.tool() def delete_category(category_name: str) -> str: """ Delete a category folder inside Notes. """ full_path = f"Notes/{category_name}" try: client.clean(full_path) # works for folders too except Exception as e: return f"Failed to delete category: {str(e)}" return f"Category deleted successfully: {full_path}"

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/rncz/nextcloud-notes-mcp-server'

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