Skip to main content
Glama
Liveblocks

Liveblocks

Official
by liveblocks

liveblocks-mcp-server

このMCPサーバーを使用すると、AIはREST APIのさまざまな機能を利用できるようになります。例えば、ルーム、スレッド、コメント、通知など、Liveblocksのさまざまな要素を作成、変更、削除できます。また、StorageやYjsへの読み取りアクセスも可能です。詳細についてはドキュメントをご覧ください。

セットアップ

インストールするには、ダッシュボードのプロジェクトからLiveblocksシークレットキーをコピーし、sk_xxxxxxxxxxxxをシークレットキーに置き換えて、以下のいずれかのコマンドを実行してください。

Cursor

  1. 「File」→「Cursor Settings」→「MCP」→「Add new server」の順に進みます。

  2. シークレットキーを挿入して、以下を追加します:

{
  "mcpServers": {
    "liveblocks": {
      "command": "npx",
      "args": ["-y", "github:liveblocks/liveblocks-mcp-server"],
      "env": {
        "LIVEBLOCKS_SECRET_KEY": "sk_xxxxxxxxxxxx"
      }
    }
  }
}

Claude Code

ターミナルで以下のコマンドを実行し、シークレットキーを挿入します:

claude mcp add liveblocks -e LIVEBLOCKS_SECRET_KEY=sk_xxxxxxxxxxxx -- npx -y github:liveblocks/liveblocks-mcp-server

Claude Desktop

  1. 「Settings」→「Developer」→「Edit Config」の順に進みます。

  2. JSONファイル claude_desktop_config.json を開きます。

  3. シークレットキーを挿入して、JSONに以下を追加します:

{
  "mcpServers": {
    "liveblocks": {
      "command": "npx",
      "args": ["-y", "github:liveblocks/liveblocks-mcp-server"],
      "env": {
        "LIVEBLOCKS_SECRET_KEY": "sk_xxxxxxxxxxxx"
      }
    }
  }
}
  1. Claude Desktopを再起動して変更を適用します。

Codex

  1. Codex CLIがインストールされていることを確認します:

npm i -g @openai/codex
  1. ターミナルで以下のコマンドを実行し、シークレットキーを挿入します:

codex mcp add liveblocks \
  --env LIVEBLOCKS_SECRET_KEY=sk_xxxxxxxxxxxx \
  -- npx -y github:liveblocks/liveblocks-mcp-server

Available Tools

39 tools
add-comment-reactionC

Add a reaction to a Liveblocks comment

Inputs: roomId (required), threadId (required), commentId (required), data (required).

broadcast-eventC

Broadcast an event to a Liveblocks room

Inputs: roomId (required), event (required).

create-commentC

Create a Liveblocks comment. Always ask for a userId.

Inputs: roomId (required), threadId (required), data (required).

create-roomC

Create a Liveblocks room

Inputs: roomId (required), defaultAccesses (required), groupsAccesses, usersAccesses, +1 more.

create-threadC

Create a Liveblocks thread. Always ask for a userId.

Inputs: roomId (required), data (required).

delete-all-inbox-notificationsC

Delete all Liveblocks inbox notifications

Inputs: userId (required).

delete-commentC

Delete a Liveblocks comment

Inputs: roomId (required), threadId (required), commentId (required).

delete-inbox-notificationC

Delete a Liveblocks inbox notification

Inputs: userId (required), inboxNotificationId (required).

delete-notification-settingsC

Delete Liveblocks notification settings

Inputs: userId (required).

delete-roomC

Delete a Liveblocks room

Inputs: roomId (required).

delete-room-subscription-settingsC

Delete a Liveblocks room's subscription settings

Inputs: roomId (required), userId (required).

delete-threadC

Delete a Liveblocks thread

Inputs: roomId (required), threadId (required).

edit-commentC

Edit a Liveblocks comment

Inputs: roomId (required), threadId (required), commentId (required), data (required).

edit-thread-metadataC

Edit a Liveblocks thread's metadata. null can be used to remove a key.

Inputs: roomId (required), threadId (required), data (required).

get-active-usersC

Get a Liveblocks room's active users

Inputs: roomId (required).

get-commentC

Get a Liveblocks comment

Inputs: roomId (required), threadId (required), commentId (required).

get-inbox-notificationC

Get a Liveblocks inbox notification

Inputs: userId (required), inboxNotificationId (required).

get-inbox-notificationsC

Get recent Liveblocks inbox notifications

Inputs: userId (required), query, startingAfter, limit.

get-notification-settingsC

Get a Liveblocks notification settings

Inputs: userId (required).

get-roomC

Get a Liveblocks room

Inputs: roomId (required).

get-roomsC

Get recent Liveblocks rooms

Inputs: limit (required), userId, groupIds, startingAfter, +1 more.

get-room-subscription-settingsC

Get a Liveblocks room's subscription settings

Inputs: roomId (required), userId (required).

get-storage-documentC

Get a Liveblocks storage document

Inputs: roomId (required).

get-threadC

Get a Liveblocks thread

Inputs: roomId (required), threadId (required).

get-thread-participantsC

Get a Liveblocks thread's participants

Inputs: roomId (required), threadId (required).

get-threadsC

Get recent Liveblocks threads

Inputs: roomId (required), query.

get-thread-subscriptionsC

Get a Liveblocks thread's subscriptions

Inputs: roomId (required), threadId (required).

get-user-room-subscription-settingsC

Get a user's room subscription settings

Inputs: userId (required).

get-yjs-documentC

Get a Liveblocks Yjs text document

Inputs: roomId (required), options.

mark-thread-as-resolvedC

Mark a Liveblocks thread as resolved

Inputs: roomId (required), threadId (required), data (required).

mark-thread-as-unresolvedB

Mark a Liveblocks thread as unresolved

Inputs: roomId (required), threadId (required), data (required).

remove-comment-reactionC

Remove a reaction from a Liveblocks comment

Inputs: roomId (required), threadId (required), commentId (required), data (required).

subscribe-to-threadC

Subscribe to a Liveblocks thread

Inputs: roomId (required), threadId (required), data (required).

trigger-inbox-notificationC

Create a custom Liveblocks inbox notification

Inputs: userId (required), kind (required), subjectId (required), activityData (required), +1 more.

unsubscribe-from-threadC

Unsubscribe from a Liveblocks thread

Inputs: roomId (required), threadId (required), data (required).

update-notification-settingsC

Update Liveblocks notification settings

Inputs: userId (required), data (required).

update-roomB

Update a Liveblocks room

Inputs: roomId (required), defaultAccesses (required), groupsAccesses, usersAccesses, +1 more.

update-room-idC

Update a Liveblocks room's ID

Inputs: roomId (required), newRoomId (required).

update-room-subscription-settingsC

Update a Liveblocks room's subscription settings

Inputs: roomId (required), userId (required), data (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 39 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources like rooms, comments, threads, notifications, and storage. However, some potential overlap exists between get-room and get-rooms, or between various notification-related tools, but descriptions clarify their scope. The set is well-organized by resource type, making tool selection generally clear.

    Naming Consistency5/5

    All tools use a consistent kebab-case verb-noun pattern throughout, such as create-room, get-thread, update-notification-settings. This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming conventions.

    Tool Count3/5

    With 39 tools, the count feels heavy for a collaborative platform server, potentially overwhelming for agents. While Liveblocks has multiple features (rooms, comments, threads, notifications, storage), the tool set could be more streamlined, as some operations like get-room and get-rooms might be consolidated or grouped.

    Completeness5/5

    The tool set provides comprehensive CRUD and lifecycle coverage across all major Liveblocks domains: rooms, comments, threads, notifications, and storage. It includes creation, retrieval, updating, deletion, and specialized actions like reactions and subscriptions, leaving no obvious gaps for agent workflows.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers