Skip to main content
Glama
byndcloud

Unofficial Dex CRM MCP Server

by byndcloud

dex_merge_contacts

Merge duplicate contacts in Dex CRM by consolidating multiple entries into a single primary contact with combined data.

Instructions

Merge two or more duplicate contacts into one. The first ID in the group becomes the primary contact that is kept and enriched with data from the others. You can merge multiple groups at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contactIdsYesArray of groups to merge — each group is an array of contact IDs (e.g. [['id1','id2']] merges id1 and id2)

Implementation Reference

  • The handler for dex_merge_contacts which performs a POST request to /v1/contacts/merge.
    server.tool(
      "dex_merge_contacts",
      "Merge two or more duplicate contacts into one. The first ID in the group becomes the primary contact that is kept and enriched with data from the others. You can merge multiple groups at once.",
      { contactIds: z.array(z.array(z.string()).min(2)).min(1).describe("Array of groups to merge — each group is an array of contact IDs (e.g. [['id1','id2']] merges id1 and id2)") },
      async (args) => {
        try {
          const result = await dex.post("/v1/contacts/merge", {
            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