Skip to main content
Glama

New Relic MCP Server

by cloudbring
10-acknowledge-incident.md1.69 kB
# Story: acknowledge_incident (REST) ## Summary Acknowledge an incident via REST, if the v2 API supports an update endpoint. If not, continue using the existing NerdGraph tool. ## Endpoint(s) **Blocked:** New Relic REST v2 does not provide an incident acknowledge endpoint. Use the NerdGraph mutation `aiIssuesAckIssue(issueId: ID!)` instead: [NerdGraph Issues API example](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-issues-api-via-github/) ## Auth - Header: `Api-Key: <USER_API_KEY>` ## Parameters - `incident_id` (number, required) - `confirm` (boolean, required) — must be `true` to acknowledge - `region` ("US" | "EU", default "US") ## Zod schema (tool input) ```ts import { z } from "zod"; export const AcknowledgeIncidentParams = z.object({ incident_id: z.number().int().positive(), confirm: z.literal(true), region: z.enum(["US", "EU"]).default("US"), }); export type AcknowledgeIncidentParams = z.infer<typeof AcknowledgeIncidentParams>; ``` ## Feasibility check - If the REST v2 API does not provide an incident update/ack endpoint, mark this story as blocked and note that the NerdGraph tool remains the supported path. ## Acceptance criteria - Requires `confirm === true`. - Returns updated incident state (acknowledged) on success. - Clear error if endpoint is unavailable in REST v2. ## Test plan - Unit tests for confirm gating and URL building. ## References - Swagger/OpenAPI: `https://api.newrelic.com/docs/swagger.yml` [source](https://api.newrelic.com/docs/swagger.yml) - API Explorer guide: [Getting started with New Relic's API Explorer](https://docs.newrelic.com/docs/features/getting-started-with-new-relics-api-explorer)

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/cloudbring/newrelic-mcp'

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