Skip to main content
Glama
hiyorineko

Rollbar MCP Server

by hiyorineko

rollbar_get_deploy

Retrieve specific deployment details from Rollbar error tracking to monitor release status and analyze deployment impact.

Instructions

Get a specific deploy from Rollbar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deployIdYesDeploy ID

Implementation Reference

  • The switch case handler for 'rollbar_get_deploy' that checks for projectClient, extracts deployId from arguments, calls the Rollbar API endpoint `/deploy/${deployId}`, and returns the response as formatted JSON text.
    case "rollbar_get_deploy": { // Project Token is required if (!projectClient) { throw new Error("ROLLBAR_PROJECT_TOKEN is not set, cannot use this API"); } const { deployId } = args as { deployId: number }; const response = await projectClient.get<DeployResponse>(`/deploy/${deployId}`); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • The Tool object definition providing the name, description, and inputSchema (requiring deployId as number) for the rollbar_get_deploy tool.
    const GET_DEPLOY_TOOL: Tool = { name: "rollbar_get_deploy", description: "Get a specific deploy from Rollbar", inputSchema: { type: "object", properties: { deployId: { type: "number", description: "Deploy ID" }, }, required: ["deployId"], }, };
  • src/rollbar.ts:298-314 (registration)
    Registration of the rollbar_get_deploy tool (as GET_DEPLOY_TOOL) in the list of tools returned by the ListToolsRequestSchema handler.
    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, ], }));
  • The tool name is listed in the SUPPORTED_APIS.projectApis array used for token validation warnings.
    "rollbar_get_deploy", ],

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