Skip to main content
Glama
hiyorineko

Rollbar MCP Server

by hiyorineko

rollbar_list_projects

Retrieve all projects from Rollbar error tracking to monitor and manage application health across your development environment.

Instructions

List projects from Rollbar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The switch case handler that executes the rollbar_list_projects tool by calling the Rollbar account API to list projects and returns the JSON response.
    case "rollbar_list_projects": { // Account Token is required if (!accountClient) { throw new Error("ROLLBAR_ACCOUNT_TOKEN is not set, cannot use this API"); } const response = await accountClient.get<ListProjectsResponse>("/projects"); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • The Tool definition including name, description, and empty input schema for rollbar_list_projects.
    const LIST_PROJECTS_TOOL: Tool = { name: "rollbar_list_projects", description: "List projects from Rollbar", inputSchema: { type: "object", properties: {}, }, };
  • src/rollbar.ts:298-314 (registration)
    The ListToolsRequestHandler that registers the rollbar_list_projects tool (via LIST_PROJECTS_TOOL) by including it in the list of available tools.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [ LIST_ITEMS_TOOL, GET_ITEM_TOOL, GET_ITEM_BY_UUID_TOOL, GET_ITEM_BY_COUNTER_TOOL, LIST_OCCURRENCES_TOOL, GET_OCCURRENCE_TOOL, LIST_PROJECTS_TOOL, GET_PROJECT_TOOL, LIST_ENVIRONMENTS_TOOL, LIST_USERS_TOOL, GET_USER_TOOL, LIST_DEPLOYS_TOOL, GET_DEPLOY_TOOL, ], }));

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/hiyorineko/mcp-rollbar-server'

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