Skip to main content
Glama

sentry_list_releases

Retrieve a list of releases for a specific project using the project slug/identifier, aiding in error monitoring and application health tracking.

Instructions

List releases for a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectSlugYesProject slug/identifier

Implementation Reference

  • src/index.ts:442-455 (registration)
    Tool registration including name, description, and input schema for sentry_list_releases.
    { name: "sentry_list_releases", description: "List releases for a project", inputSchema: { type: "object", properties: { projectSlug: { type: "string", description: "Project slug/identifier", }, }, required: ["projectSlug"], }, },
  • MCP tool handler that validates apiClient, calls listReleases on project, and returns formatted list of releases.
    case "sentry_list_releases": { if (!apiClient) { throw new Error("Sentry API client not initialized. Provide auth token."); } const { projectSlug } = args as any; const releases = await apiClient.listReleases(projectSlug); return { content: [ { type: "text", text: `Found ${releases.length} releases:\n${releases.slice(0, 10).map((r: any) => `- ${r.version} (${new Date(r.dateCreated).toLocaleDateString()})` ).join('\n')}${releases.length > 10 ? '\n... and more' : ''}`, }, ], }; }
  • Helper method in SentryAPIClient that makes API request to fetch releases for a specific project.
    return this.request(`/projects/${this.org}/${projectSlug}/releases/`); }

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

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