Connector guide2-minute read7 MCP tools7 languages

How to Connect New Relic to Cursor — via 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

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.

tools

7

Region

INTL

Category

Monitoring

Authentication

API Key

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
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the New Relic in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

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

Try asking

Example prompts for New Relic

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

New Relic · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → New Relic, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

New Relic + Cursor

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

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

NEW_RELIC_USER_KEY

Step 1 — Get credentials

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)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Cursor

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Cursor reads MCP servers from ~/.cursor/mcp.json. Add this entry:

{
  "mcpServers": {
    "anythingmcp": {
      "url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → MCP Servers → your server → API keys.
  2. Save the file and restart Cursor.
  3. Open Cursor → Settings → MCP to verify New Relic is listed and "Connected".
  4. Start chatting — all New Relic tools are now invokable.

Available tools

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

Does Cursor support custom MCP servers on the free tier? Yes — MCP is available on Hobby, Pro and Business plans.

Next steps

Was this guide helpful?

Your New Relic agent is one click away.

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

Related guides