MCP.so
ログイン

New Relic MCP Server

@cloudbring

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

cloudbring

投稿者

Cloudbring

New Relic MCP Server について

Run NRQL, NerdGraph, and REST v2 operations to query data, manage incidents, create synthetics, and annotate deployments — all from your MCP client.

#new-relic#nerdgraph#observability#logs#metrics#otel#open-telemetry#devops#monitoring#apm#alerts#synthetics#nrql#graphql#sre#incidents#deployments

New Relic MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "newrelic": {
      "command": "npx",
      "args": [
        "-y",
        "newrelic-mcp"
      ],
      "env": {
        "NEW_RELIC_API_KEY": "your-api-key-here",
        "NEW_RELIC_ACCOUNT_ID": "your-account-id"
      }
    }
  }
}

New Relic MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is New Relic MCP Server?

New Relic MCP Server is a Model Context Protocol server that connects AI assistants directly to New Relic’s observability platform. It provides a suite of tools for querying data (NRQL, NerdGraph), managing entities, incidents, alert policies, APM applications, Synthetics monitors, and deployments. Designed for SRE copilots, it enables natural‑language interaction with New Relic.

How to use New Relic MCP Server?

Install the server with npx -y newrelic-mcp. Configure it in your MCP client’s JSON by setting NEW_RELIC_API_KEY (required) and optionally NEW_RELIC_ACCOUNT_ID. The default account ID can be overridden per tool call using the target_account_id parameter. The recommended system prompt guides the assistant on which tool to use for each task (e.g., run_nrql_query for aggregate analytics, REST tools for deployments).

Key features of New Relic MCP Server

  • Execute NRQL queries for aggregate analytics and timeseries.
  • Run arbitrary NerdGraph GraphQL queries.
  • Search and retrieve detailed entity information.
  • List, create, and manage Synthetics browser monitors.
  • Triage and acknowledge open incidents by priority.
  • Record and list APM deployments with full details.
  • Enumerate and filter alert policies.
  • Region‑aware REST v2 tools with auto‑pagination.
  • Safe delete operations require explicit confirm: true.

Use cases of New Relic MCP Server

  • Query application error rates and response times over a specified window.
  • List all open high‑priority incidents and summarize them by policy.
  • Acknowledge a specific incident after verification.
  • Create a new Synthetics browser monitor targeting a production URL.
  • Record a deployment revision with changelog for an APM application.
  • Search for entities by type, tag, or account and inspect golden metrics.

よくある質問

1

What environment variables are required?

`NEW_RELIC_API_KEY` is required. `NEW_RELIC_ACCOUNT_ID` is optional; if not set, you must provide `target_account_id` per tool call.

2

How do I delete a deployment?

Deletion requires explicit user confirmation. Set the `confirm: true` parameter when calling `delete_deployment`.

3

Is the server region aware?

Yes. REST v2 tools are region‑aware and can be configured per request to target the correct New Relic region (e.g., US, EU).

4

What is the difference between `run_nrql_query` and `run_nerdgraph_query`?

Use `run_nrql_query` for aggregate analytics and timeseries data. Use `run_nerdgraph_query` for graph‑shaped data and entities/alerts APIs.

5

Does New Relic MCP Server require a New Relic account?

Yes. You need a valid New Relic User API Key and an Account ID to use the server.

コメント

「開発者ツール」の他のコンテンツ