Xmtp CLI Groups

Create and manage XMTP groups and DMs from the CLI. Use when creating a DM or group, or updating group metadata.

modbender a24de00 3 files · 2.2 KB Updated 12 repo stars

File contents

CLI groups

Create DMs and groups, and update group metadata with the XMTP CLI.

When to apply

  • Creating a DM with a target address
  • Creating a group with member addresses or inbox IDs
  • Updating group name or image URL

Rules

  • create-dm-groupgroups create (DM vs group, member-addresses, member-inbox-ids)
  • metadatagroups metadata (group-id, name, image-url)

Quick start

# Create DM
xmtp groups create --target 0x123...

# Create group
xmtp groups create --type group --name "Team" --member-addresses "0x123...,0x456..."

Read rules/create-dm-group.md and rules/metadata.md for details.

modbender/skill-library-mcp/tree/main/data/xmtp-cli/groups commit a24de0043b

Frequently asked questions

npx skillmds add modbender/xmtp-cli-groups