New Relic

New Relic

Query New Relic (NRQL, alerts, incidents, dashboards, deployments, entities) from any AI agent via NerdGraph + REST. 7 tools, API-key auth.

7 天免费 · 无需信用卡 · EU 托管

问 New 任何事

通过 AnythingMCP 对 New Relic 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 New
New Relic · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 New Relic。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 New Relic

New 指南

面向主流 AI 客户端的逐步设置。

配置 New Relic

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector wraps two New Relic APIs: the modern NerdGraph (GraphQL) at api.newrelic.com/graphql AND the legacy REST API for deployments (api.newrelic.com/v2).

Setup:

  1. Log into https://one.newrelic.com → top-right avatar → API keys.
  2. Create a User key (type: USER, NOT 'License key' / 'Ingest key'). Scopes: account read at minimum; admin if you want to create deployments. Set NEW_RELIC_USER_KEY.
  3. Note your Account ID (visible in the URL or via the keys page). You'll pass it as a parameter to most tools.
  4. EU region: if your org is on the EU data centre, change baseUrl to https://api.eu.newrelic.com.

Authentication: every request sends Api-Key: ${NEW_RELIC_USER_KEY} as a header.

NerdGraph is the modern API: most data lives in GraphQL now. The new-relic_run_nrql tool wraps the common pattern — pass an account ID + NRQL string, get rows back. For arbitrary queries use new-relic_graphql_query (raw GraphQL passthrough).

NRQL = New Relic Query Language: SQL-like — SELECT count(*) FROM Transaction WHERE appName = 'web' SINCE 1 hour ago FACET name. Use FACET for grouping, TIMESERIES for time-bucketed data, SINCE / UNTIL for windows.

Time windows: NRQL uses natural language — SINCE 30 minutes ago, SINCE '2025-01-01' UNTIL '2025-01-02'.

Rate limits: NerdGraph allows 3k req/min per user key; NRQL queries are also gated by a per-account query budget.

Out of scope here: agent installation, Synthetics test CRUD, full Alert policy/condition CRUD beyond list (use the dedicated Terraform provider).

你的 AI 距离 New Relic 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。