Connector guide2-minute read7 MCP toolsEnglish · Deutsch · Italiano

如何将 New Relic 连接到 ChatGPT — 通过 MCP

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

HCBy HelpCode teamUpdated 2 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

MCP connector

New Relic

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

Tools

7

Region

INTL

Category

monitoring

Authentication

Required env vars

NEW_RELIC_USER_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

No install? Use cloud.anythingmcp.com directly.

Sign in, install the New Relic in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

💡 无需安装? 直接使用 cloud.anythingmcp.com 登录、点击 Connectors → New Relic、粘贴凭证、生成 MCP API key — 完成。无 Docker、无 git clone、无本地服务器。

New Relic + ChatGPT

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

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

NEW_RELIC_USER_KEY

步骤 1 — 获取凭证

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.

…(continued in the in-app connector instructions)

步骤 2 — 安装 adapter

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

步骤 3 — 在 ChatGPT 中添加连接器

ChatGPT 通过 Connectors 功能 (Plus / Pro / Team / Enterprise 套餐) 支持 MCP 服务器。免费套餐不支持自定义连接器。

  1. 打开 ChatGPT → Settings → Connectors (或点击 composer 中的 🔧 图标 → Manage connectors)。
  2. 点击 "Add custom connector"
  3. 填入:
    • Name: New Relic
    • MCP server URL: https://cloud.anythingmcp.com/mcp
    • Authentication: Bearer token → 粘贴 MCP API key
  4. 点击 Connect

可用工具

ToolWhat it does
new_relic_run_nrqlRun an NRQL (New Relic Query Language) query against an account
new_relic_graphql_queryRun an arbitrary NerdGraph (GraphQL) query/mutation
new_relic_search_entitiesFind entities (services, hosts, browsers, mobile apps, dashboards, workloads) by name + domain + type
new_relic_get_entityFetch an entity by GUID — returns the full entity payload (golden metrics, golden tags, recent issues for APM apps)
new_relic_list_deploymentsList recent deployments recorded for an APM application via the legacy REST API
new_relic_create_deploymentRecord a deployment marker on an APM application's chart
new_relic_recent_incidentsList recent open incidents for an account from the AI/AIops issue stream

FAQ

ChatGPT 免费套餐能用自定义 MCP Connectors 吗? 不能 — 需要 Plus、Pro、Team 或 Enterprise。

下一步

Ready to ship

Your New agent is one click away.

Install the connector, paste the key, prompt ChatGPT. Free for 7 days, no credit card.