Skip to main content
Glama
byndcloud

Unofficial Dex CRM MCP Server

by byndcloud

dex_list_group_contacts

Retrieve contacts associated with a specific group in Dex CRM. Supports pagination to manage large contact lists efficiently.

Instructions

List all contacts that belong to a specific group. Supports pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYes
takeNo
cursorNo

Implementation Reference

  • Tool registration and handler implementation for dex_list_group_contacts. It takes groupId, optional take, and cursor parameters, calls the Dex API, and returns the result.
    server.tool(
      "dex_list_group_contacts",
      "List all contacts that belong to a specific group. Supports pagination.",
      {
        groupId: z.string(),
        take: z.number().optional(),
        cursor: z.string().optional(),
      },
      async (args) => {
        try {
          const query: Record<string, string | number | boolean | undefined> = {};
          if (args.take !== undefined) query.take = args.take;
          if (args.cursor !== undefined) query.cursor = args.cursor;
          const result = await dex.get(
            `/v1/groups/${args.groupId}/contacts`,
            Object.keys(query).length ? query : undefined
          );
          return toResult(result);

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