Skip to main content
Glama
CleverMobi

Glitchtip MCP Server

by CleverMobi

list_projects

Retrieve all projects within your Glitchtip organization to monitor error tracking across different applications and services.

Instructions

List all Glitchtip projects in the organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that lists all Glitchtip projects in the organization by fetching from the API and returning JSON data.
    async listProjects() { const url = `${this.apiEndpoint}/api/0/organizations/${this.organizationSlug}/projects/`; 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 projects: ${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 tool schema definition, including name, description, and empty input schema (no parameters required).
    { name: "list_projects", description: "List all Glitchtip projects in the organization", inputSchema: { type: "object", properties: {} } },
  • src/index.js:143-144 (registration)
    Registration of the tool in the dispatcher switch case within the CallToolRequestHandler.
    case "list_projects": return await this.listProjects();

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