Skip to main content
Glama
CleverMobi

Glitchtip MCP Server

by CleverMobi

list_issues

Retrieve and display error tracking issues from Glitchtip, allowing filtering by project and setting result limits to monitor and debug application errors effectively.

Instructions

List issues in the organization or a specific project (requires event:read scope)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of issues to return (default: 25)
project_slugNoOptional project slug to filter issues by project

Implementation Reference

  • The handler function that executes the list_issues tool logic by fetching issues from the Glitchtip API.
    async listIssues(args) { const { project_slug, limit = 25 } = args || {}; let url; if (project_slug) { url = `${this.apiEndpoint}/api/0/projects/${this.organizationSlug}/${project_slug}/issues/?limit=${limit}`; } else { url = `${this.apiEndpoint}/api/0/organizations/${this.organizationSlug}/issues/?limit=${limit}`; } try { const response = await fetch(url, { method: 'GET', headers: { 'Authorization': `Bearer ${this.apiToken}`, 'Accept': 'application/json' } }); if (!response.ok) { const errorText = await response.text(); return { content: [ { type: "text", text: `Error fetching issues: ${response.status} ${response.statusText}\n${errorText}` } ] }; } const data = await response.json(); return { content: [ { type: "text", text: JSON.stringify(data, null, 2) } ] }; } catch (error) { return { content: [ { type: "text", text: `Error: ${error.message}` } ] }; }
  • The input schema and description for the list_issues tool, registered in the ListTools response.
    { name: "list_issues", description: "List issues in the organization or a specific project (requires event:read scope)", inputSchema: { type: "object", properties: { project_slug: { type: "string", description: "Optional project slug to filter issues by project" }, limit: { type: "number", description: "Maximum number of issues to return (default: 25)" } } } },
  • src/index.js:139-140 (registration)
    The switch case that registers and dispatches to the listIssues handler for the list_issues tool.
    case "list_issues": return await this.listIssues(args);

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/CleverMobi/glitchtip-mcp'

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