Zendesk Connector
Read-safe Zendesk connector with a validated single-label account subdomain.
Credential setup
api_key_headerEnter `Basic <base64(email/token:api_token)>` and use a dedicated least-privilege service account.
Setup docs: https://support.zendesk.com/hc/en-us/articles/4408889192858
After adding this connector, attach the credential on the server page, then run astrail tools list.
Hosted MCP endpoint
/api/mcp/preset-zendeskPrivate servers require an Astrail API key in the Authorization header.
MCP client snippets
ConnectClaude Desktop config
{
"mcpServers": {
"zendesk-connector": {
"url": "/api/mcp/preset-zendesk"
}
}
}cURL initialize
curl -sS -X POST "/api/mcp/preset-zendesk" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'cURL tools/list
curl -sS -X POST "/api/mcp/preset-zendesk" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'cURL tools/call
curl -sS -X POST "/api/mcp/preset-zendesk" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"zendesk_search_tickets","arguments":{"subdomain":"example","query":"example","sort_by":"example","sort_order":"example","page":"example"}}}'Runtime behavior
healthynot_checkedsafe_rest_executionnot recordednot recordednot recordednonestructured fallbackstandardauth_required / oauth_requiredmapping_requiredAstrail does not evaluate generated TypeScript inside Next.js. Hosted calls are routed through stored tool metadata and endpoint maps.
Tools
4zendesk_search_ticketsSearch Zendesk tickets and related resources.
zendesk_list_ticketsList Zendesk tickets.
zendesk_get_ticketRetrieve a Zendesk ticket.
zendesk_get_userRetrieve a Zendesk user.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
const server = new McpServer({ name: "Zendesk Connector", version: "1.0.0" });
// Curated Astrail connector for: zendesk_search_tickets, zendesk_list_tickets, zendesk_get_ticket, zendesk_get_user.
// The hosted endpoint executes its verified deterministic endpoint map. Attach a least-privilege provider credential before calling private tools.
server.tool("connector_status", "Confirm this curated connector template is installed.", z.object({}), async () => ({
content: [{ type: "text", text: "Connector installed. Attach provider credentials to enable hosted API calls." }],
}));
const transport = new StdioServerTransport();
await server.connect(transport);