Skip to main content
Glama
hiyorineko

Rollbar MCP Server

by hiyorineko

rollbar_list_users

Retrieve a list of users from Rollbar error tracking to manage team access and permissions for monitoring and debugging applications.

Instructions

List users from Rollbar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'rollbar_list_users' tool. It verifies the account client is available, makes a GET request to Rollbar's /users endpoint, and returns the response data as formatted JSON.
    case "rollbar_list_users": { // Account Token is required if (!accountClient) { throw new Error("ROLLBAR_ACCOUNT_TOKEN is not set, cannot use this API"); } const response = await accountClient.get<ListUsersResponse>("/users"); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • Input schema and metadata definition for the 'rollbar_list_users' tool, specifying no input parameters are required.
    const LIST_USERS_TOOL: Tool = { name: "rollbar_list_users", description: "List users from Rollbar", inputSchema: { type: "object", properties: {}, }, };
  • src/rollbar.ts:299-313 (registration)
    Registration of the 'rollbar_list_users' tool (as LIST_USERS_TOOL) in the listToolsRequestSchema handler, making it discoverable by MCP clients.
    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, ],
  • TypeScript interface defining the expected response structure for the Rollbar users list API.
    export interface ListUsersResponse { users: RollbarUser[]; }
  • TypeScript interface defining the structure of a Rollbar user object used in responses.
    export interface RollbarUser { id: number; username: string; email: string; access_level: number; }

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