Skip to main content

Announcing StackOne Defender: leading open-source prompt injection guard for your agent Read More

New Relic MCP Server
for AI Agents

Production-ready New Relic MCP server with 126 extensible actions — plus built-in authentication, security, and optimized execution.

New Relic logo
New Relic MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

126 Agent Actions

Create, read, update, and delete across New Relic — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your New Relic MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every New Relic tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every New Relic call.

Tools Discovery →

What is the New Relic MCP Server?

A New Relic MCP server lets AI agents read and write New Relic data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's New Relic MCP server ships with 126 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All New Relic MCP Tools and Actions

Every action from New Relic's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Accounts

  • Create Account

    Create a new account within the New Relic organization

  • List Accounts

    List all New Relic accounts accessible to the authenticated user

  • Get Account

    Get details for the configured New Relic account

  • Update Account

    Rename an existing account within the New Relic organization

Alert Policys

  • Create Alert Policy

    Creates a new alert policy in the account.

  • Update Alert Policy

    Updates an existing alert policy by ID.

  • Delete Alert Policy

    Deletes an alert policy by ID.

Alert Conditions

  • Create Alert Condition

    Creates a new APM alert condition for a policy.

  • List Alert Conditions

    Retrieves all alert conditions for a given policy.

  • Update Alert Condition

    Updates an existing APM alert condition by ID.

  • Delete Alert Condition

    Deletes an alert condition by ID.

NRQL Alert Conditions

  • Create NRQL Alert Condition

    Creates a new NRQL alert condition for a policy.

  • List NRQL Alert Conditions

    Retrieves all NRQL alert conditions for a given policy.

  • Update NRQL Alert Condition

    Updates an existing NRQL alert condition by ID.

  • Delete NRQL Alert Condition

    Deletes a NRQL alert condition by ID.

External Service Conditions

  • Create External Service Condition

    Creates a new external service alert condition for a policy.

  • List External Service Conditions

    Retrieves all external service alert conditions for a given policy.

  • Update External Service Condition

    Updates an existing external service alert condition by ID.

  • Delete External Service Condition

    Deletes an external service alert condition by ID.

Synthetics Alert Conditions

  • Create Synthetics Alert Condition

    Creates a new Synthetics alert condition for a policy.

  • List Synthetics Alert Conditions

    Retrieves all Synthetics alert conditions for a given policy.

  • Update Synthetics Alert Condition

    Updates an existing Synthetics alert condition by ID.

  • Delete Synthetics Alert Condition

    Deletes a Synthetics alert condition by ID.

Applications

  • List Applications

    Retrieve a paginated list of APM applications with optional filters for name, host, IDs, or language

  • Get Application

    Retrieve detailed information about a specific APM application by its ID

  • Update Application

    Update an APM application's name or settings such as Apdex thresholds and real user monitoring

  • Delete Application

    Remove an APM application that is no longer reporting data

Application Hosts

  • List Application Hosts

    Retrieve the hosts running a specific APM application

  • Get Application Host

    Retrieve detailed information about a specific host running an APM application

Application Instances

  • List Application Instances

    Retrieve the running instances of a specific APM application

  • Get Application Instance

    Retrieve detailed information about a specific instance of an APM application

Browser Applications

  • Create Browser Application

    Create a new browser (real user monitoring) application in New Relic

  • List Browser Applications

    Retrieve a list of browser (real user monitoring) applications with optional filters

Notification Channels

  • Create Notification Channel

    Creates a new alert notification channel.

  • List Notification Channels

    Retrieves all alert notification channels in the account.

  • Delete Notification Channel

    Deletes a notification channel by ID.

Dashboards

  • Create Dashboard

    Create a new dashboard with pages and widgets

  • List Dashboards

    Search for dashboards using NerdGraph entity search

  • Get Dashboard

    Retrieve a dashboard by GUID with all pages and widgets

  • Update Dashboard

    Update an existing dashboard by GUID

  • Delete Dashboard

    Delete a dashboard by GUID

Deployments

  • Create Deployment

    Record a new deployment for a specific APM application

  • List Deployments

    Retrieve a paginated list of deployments recorded for a specific APM application

  • Delete Deployment

    Remove a specific deployment record from an APM application

Key Transactions

  • List Key Transactions

    Retrieve a paginated list of key transactions with optional filters for name or IDs

  • Get Key Transaction

    Retrieve detailed information about a specific key transaction by its ID

Mobile Applications

  • Create Mobile Application

    Create a new mobile application entity in New Relic via NerdGraph

  • List Mobile Applications

    Retrieve a paginated list of mobile applications monitored by New Relic

  • Get Mobile Application

    Retrieve detailed information about a specific mobile application by its ID

Muting Rules

  • Create Muting Rule

    Creates an alert muting rule to suppress notifications.

  • List Muting Rules

    Retrieves all alert muting rules for the account.

  • Get Muting Rule

    Retrieves a specific alert muting rule by its ID.

  • Update Muting Rule

    Updates an existing alert muting rule.

  • Delete Muting Rule

    Deletes an alert muting rule by ID.

Notification Destinations

  • Create Notification Destination

    Create a notification destination for alert delivery

  • List Notification Destinations

    List all notification destinations in the account

  • Get Notification Destination

    Retrieve a specific notification destination by ID

  • Update Notification Destination

    Update an existing notification destination

  • Delete Notification Destination

    Delete a notification destination by its ID

Notification Workflows

  • Create Notification Workflow

    Create a notification workflow for alert routing

  • List Notification Workflows

    List all notification workflows for alert routing

  • Get Notification Workflow

    Retrieve a specific notification workflow by ID

  • Update Notification Workflow

    Update an existing notification workflow

  • Delete Notification Workflow

    Delete a notification workflow by its ID

Service Level Indicators

  • Create Service Level Indicator

    Create a new service level indicator (SLI) on an entity

  • List Service Level Indicators

    List all service level indicators (SLIs) defined for an entity

  • Update Service Level Indicator

    Update an existing service level indicator (SLI)

  • Delete Service Level Indicator

    Delete a service level indicator (SLI) by its ID

Synthetic Monitors

  • List Synthetic Monitors

    Search for synthetic monitors using NerdGraph entity search

  • Get Synthetic Monitor

    Retrieve a synthetic monitor by GUID

  • Delete Synthetic Monitor

    Delete a synthetic monitor by GUID

Simple Monitors

  • Create Simple Monitor

    Create a simple ping synthetic monitor

  • Update Simple Monitor

    Update a simple ping synthetic monitor by GUID

Simple Browser Monitors

  • Create Simple Browser Monitor

    Create a simple browser synthetic monitor

  • Update Simple Browser Monitor

    Update a simple browser synthetic monitor by GUID

Private Locations

  • Create Private Location

    Create a synthetic private location in New Relic

  • Delete Private Location

    Delete a synthetic private location by GUID

Script API Monitors

  • Create Script API Monitor

    Create a scripted API monitor that executes custom Node.js scripts to test REST APIs

  • Update Script API Monitor

    Update a scripted API synthetic monitor by GUID

Script Browser Monitors

  • Create Script Browser Monitor

    Create a scripted browser monitor that runs Selenium WebDriver scripts for end-to-end web testing

  • Update Script Browser Monitor

    Update a scripted browser synthetic monitor by GUID

Certificate Check Monitors

  • Create Certificate Check Monitor

    Create a synthetic monitor that checks SSL certificate expiration

  • Update Certificate Check Monitor

    Update a certificate check synthetic monitor by GUID

Broken Links Monitors

  • Create Broken Links Monitor

    Create a synthetic monitor that checks for broken links on a web page

  • Update Broken Links Monitor

    Update a broken links synthetic monitor by GUID

Step Monitors

  • Create Step Monitor

    Create a no-code step monitor that executes a sequence of UI actions in a browser

  • Update Step Monitor

    Update a step synthetic monitor by GUID

Entity Tags

  • Add Entity Tags

    Add tags to an entity without removing existing tags

  • List Entity Tags

    List all tags associated with an entity

  • Delete Entity Tag

    Delete one or more tag keys and all their values from an entity

Users

  • Create User

    Create a new user in a New Relic authentication domain

  • List Users

    List all users across authentication domains in the organization

  • Update User

    Update a user's type or email address in New Relic

  • Delete User

    Delete a user from New Relic by user ID

Workloads

  • Create Workload

    Create a new workload to group related entities

  • List Workloads

    List all workloads defined in the account

  • Get Workload

    Get a specific workload by its GUID

  • Update Workload

    Update an existing workload's name or entity membership

  • Delete Workload

    Delete a workload by its GUID

Other (27)

  • Add Channel To Policy

    Links one or more notification channels to an alert policy.

  • Add Entity To Condition

    Associates an entity with an existing alert condition.

  • Create Dashboard Snapshot

    Generate a shareable snapshot URL for a dashboard page

  • Create Change Tracking Deployment

    Record a deployment via NerdGraph change tracking API.

  • List Alert Policies

    Retrieves all alert policies configured in the account.

  • List Policy Notification Channels

    Retrieves all notification channels, each including its linked policy IDs.

  • List Entity Alert Conditions

    Retrieves all alert conditions associated with a specific entity.

  • List Application Metric Names

    Retrieve the available metric names for a specific APM application

  • Get Application Metric Data

    Retrieve metric timeslice data for a specific APM application

  • Search Entities

    Search for monitored entities using an NRQL-like query string

  • Get Entity

    Get detailed information about a specific entity by its GUID

  • Get Entity Relationships

    Get the relationships between an entity and other connected entities

  • Get Entity Golden Metrics

    Get the golden metrics and golden tags defined for an entity

  • List Synthetic Private Locations

    List private monitoring locations using entity search

  • List Authentication Domains

    List all authentication domains in the organization

  • Get Current User

    Get the currently authenticated user's information

  • Remove Channel From Policy

    Unlinks a notification channel from an alert policy.

  • Remove Entity From Condition

    Removes an entity from an existing alert condition.

  • Delete Entity Tag Values

    Delete specific tag values from an entity while preserving other values under the same key

  • Cancel Account

    Cancel an account within the New Relic organization

  • Undelete Dashboard

    Recover a recently deleted dashboard

  • Test Notification Destination

    Test a notification destination configuration before creating it

  • Test Notification Destination By ID

    Test an existing notification destination by its ID

  • Run NRQL Query

    Execute an NRQL query against your New Relic data

  • Run NRQL Query With Metadata

    Execute an NRQL query and return results with metadata including facets, event types, and time window

  • Replace Entity Tags

    Replace all tags on an entity with the provided set

  • Duplicate Workload

    Duplicate an existing workload into the same or a different account

Set Up Your New Relic MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to New Relic in under 10 lines of code.

MCP Clients

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

More Data Infrastructure MCP Servers

Fivetran

144+ actions

Supabase

128+ actions

Grafana

89+ actions

Render

81+ actions

Snowflake

80+ actions

Honeycomb

79+ actions

Sentry

74+ actions

New Relic MCP Server FAQ

New Relic MCP server vs direct API integration — what's the difference?
A New Relic MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling New Relic. A New Relic MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling New Relic at runtime. StackOne provides both.
How does New Relic authentication work for AI agents?
New Relic authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own New Relic account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are New Relic MCP tools vulnerable to prompt injection?
Yes — New Relic MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a New Relic agent and how do I avoid it?
Context bloat happens when New Relic tool schemas and API responses eat your New Relic agent's memory, preventing it from reasoning effectively. A single New Relic query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my New Relic agent can access?
Yes — you can limit which actions your New Relic agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my New Relic MCP server?
Yes — you can create custom agent actions for your New Relic MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research New Relic's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a New Relic MCP server?
Skip a New Relic MCP server if your integration is purely software-to-software — direct New Relic API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call New Relic actions at runtime.
What AI frameworks and AI clients does the StackOne New Relic MCP server support?
The StackOne New Relic MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.