Skip to main content
Glama
liveblocks

Liveblocks

Official
by liveblocks

delete-notification-settings

Remove user notification preferences from Liveblocks collaboration platform to manage alert settings.

Instructions

Delete Liveblocks notification settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYes

Implementation Reference

  • src/server.ts:803-817 (registration)
    Registration of the MCP tool 'delete-notification-settings', including description, input schema (userId: string), and handler function that delegates to Liveblocks SDK's deleteNotificationSettings method.
    server.tool(
      "delete-notification-settings",
      "Delete Liveblocks notification settings",
      {
        userId: z.string(),
      },
      async ({ userId }, extra) => {
        return await callLiveblocksApi(
          getLiveblocks().deleteNotificationSettings(
            { userId },
            { signal: extra.signal }
          )
        );
      }
    );
  • The handler implementation for 'delete-notification-settings' tool. It takes userId and calls getLiveblocks().deleteNotificationSettings via callLiveblocksApi utility.
    async ({ userId }, extra) => {
      return await callLiveblocksApi(
        getLiveblocks().deleteNotificationSettings(
          { userId },
          { signal: extra.signal }
        )
      );
    }
  • Input schema definition for the tool using Zod: requires a 'userId' string.
    {
      userId: z.string(),
    },

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/liveblocks/liveblocks-mcp-server'

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