Skip to main content
Glama
byndcloud

Unofficial Dex CRM MCP Server

by byndcloud

dex_add_contacts_to_group

Add multiple contacts to a specific group in Dex CRM by providing their contact IDs and the target group ID.

Instructions

Add one or more contacts to a group by providing their IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYes
contactIdsYes

Implementation Reference

  • The implementation of the `dex_add_contacts_to_group` tool, including its registration, input schema, and execution logic.
    server.tool(
      "dex_add_contacts_to_group",
      "Add one or more contacts to a group by providing their IDs.",
      {
        groupId: z.string(),
        contactIds: z.array(z.string()),
      },
      async (args) => {
        try {
          const result = await dex.put(`/v1/groups/${args.groupId}/contacts`, {
            contactIds: args.contactIds,
          });
          return toResult(result);
        } catch (error) {
          return toError(error);
        }
      }
    );

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/byndcloud/unofficial-dex-mcp'

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