Skip to main content
Glama
JurreBrandsenInfoSupport

Zendesk API MCP Server

create_group

Create new support groups in Zendesk to organize agents and manage ticket routing. Specify group name and optional description for team organization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesGroup name
descriptionNoGroup description

Implementation Reference

  • The MCP tool handler function for 'create_group'. It constructs group data from inputs and delegates to zendeskClient.createGroup, returning a formatted success message or error.
    handler: async ({ name, description }) => { try { const groupData = { name, description }; const result = await zendeskClient.createGroup(groupData); return { content: [{ type: "text", text: `Group created successfully!\n\n${JSON.stringify(result, null, 2)}` }] }; } catch (error) { return { content: [{ type: "text", text: `Error creating group: ${error.message}` }], isError: true }; } }
  • Zod schema defining the input parameters for the create_group tool: required 'name' and optional 'description'.
    schema: { name: z.string().describe("Group name"), description: z.string().optional().describe("Group description") },
  • src/server.js:48-52 (registration)
    Registration loop that adds the 'create_group' tool (included in groupsTools) to the MCP server using server.tool.
    allTools.forEach((tool) => { server.tool(tool.name, tool.schema, tool.handler, { description: tool.description, }); });
  • Helper method in ZendeskClient that makes the API POST request to /groups.json to create a new group.
    async createGroup(data) { return this.request("POST", "/groups.json", { group: data }); }

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/JurreBrandsenInfoSupport/zendesk-mcp'

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