Skip to main content
Glama

Sentry MCP

Official
by getsentry
formatting.ts514 B
import type { z } from "zod"; import type { AssignedToSchema } from "../../api-client/index"; type AssignedTo = z.infer<typeof AssignedToSchema>; /** * Helper function to format assignedTo field for display */ export function formatAssignedTo(assignedTo: AssignedTo): string { if (!assignedTo) { return "Unassigned"; } if (typeof assignedTo === "string") { return assignedTo; } if (typeof assignedTo === "object" && assignedTo.name) { return assignedTo.name; } return "Unknown"; }

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/getsentry/sentry-mcp'

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