Skip to main content
Glama
CleverMobi

Glitchtip MCP Server

by CleverMobi

get_project

Retrieve detailed information about a specific Glitchtip project using its unique slug identifier for error monitoring and project management.

Instructions

Get details of a specific Glitchtip project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_slugYesThe slug of the project to retrieve

Implementation Reference

  • The handler function that implements the 'get_project' tool logic. It takes a project_slug argument, fetches the project details from the Glitchtip API, and returns the JSON data or an error message.
    async getProject(args) { const { project_slug } = args; if (!project_slug) { return { content: [ { type: "text", text: "Error: project_slug is required" } ] }; } const url = `${this.apiEndpoint}/api/0/projects/${this.organizationSlug}/${project_slug}/`; 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 project: ${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 schema definition for the 'get_project' tool, including name, description, and input schema requiring 'project_slug'.
    { name: "get_project", description: "Get details of a specific Glitchtip project", inputSchema: { type: "object", properties: { project_slug: { type: "string", description: "The slug of the project to retrieve" } }, required: ["project_slug"] } },
  • src/index.js:145-146 (registration)
    The registration/dispatch case in the CallToolRequest handler that routes calls to the getProject method.
    case "get_project": return await this.getProject(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