
New Relic MCP
io.github.karldanePublished by GitHub account karldanev1.0.1Updated Oct 24, 2026
New Relic MCP server with 55 tools for APM, alerts, dashboards, synthetics, workflows, and more.
The publisher's own server: New Relic MCP Server
Overview
A local MCP server that gives an assistant 55 tools to query and manage New Relic observability data through the NerdGraph API.
- What you can do
- Run NRQL queries, including cross-account, and inspect APM applications, metrics and traces, logs, and infrastructure metrics. Browse and manage alert policies, conditions, violations, notification workflows, channels and destinations. Read and edit dashboards, synthetic monitors, service levels, entity tags, entities and workloads. Write tools are gated behind a command-line flag and are off by default.
- When to use it
- Useful when you want an assistant to investigate application performance, search logs, review alerts and dashboards, or make controlled changes to New Relic configuration from a chat session.
- Requirements
- Runs as a local process (Go 1.22 or later to build from source; a packaged binary is also offered). Needs a New Relic account and an API key in NEWRELIC_API_KEY (User key for read-only, Admin key for writes). Optional NEWRELIC_REGION set to us or eu; network access to the New Relic GraphQL endpoint.
Installation
In SourceWeft
- Open New Relic MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
New Relic MCP Server
A Go-native MCP (Model Context Protocol) server for the New Relic observability platform, providing comprehensive access to APM, infrastructure, logs, traces, alerts, dashboards, synthetics, workflows, notifications, service levels, tags, entities, and workloads — all through a single GraphQL endpoint.
Overview
- 55 registered MCP tools covering the full NerdGraph API surface
- Safety-first design: every tool carries
EnforcerProfilemetadata (risk, impact, resource cost, PII flag, idempotency) for automated policy enforcement via MCP Bridge - Write protection: all mutation tools gated behind a
-write-enabledflag; disabled by default - Multi-region: US and EU data center support (
NEWRELIC_REGION=us|eu) - TDD-built: 80%+ test coverage across all tools
Registries
This server is published on the following MCP registries:
- Smithery:
karldane/newrelic-mcp - MCP Registry:
io.github.karldane/newrelic-mcp
API Architecture
All tools communicate with a single NerdGraph endpoint:
Internal query helpers determine the response-scope:
Tools
NRQL Querying
APM & Applications
Alert Policies & Conditions
Synthetic Monitoring
Dashboards
Logs
Infrastructure
Alert Workflows (aiWorkflows)
Notification Channels & Destinations (aiNotifications)
Service Levels
Tag Management (tagging)
Entity Operations
Cross-Account NRQL
Workloads
NerdGraph Reference
All tools access the New Relic NerdGraph API. The following NerdGraph query/mutation names are used:
Installation
Prerequisites
- Go 1.22 or later
- New Relic account with API access
Building from Source
Build Options
Configuration
Environment Variables
Obtaining an API Key
- Log in to your New Relic account
- Go to API Keys in the account settings
- Create a User Key (for read-only) or Admin Key (for write operations)
- Copy the key and set it as
NEWRELIC_API_KEY
Usage
Basic Usage (Read-Only)
Enable Write Operations
Write operations require the -write-enabled flag:
Write tools are disabled by default. When -write-enabled is set, all mutations (create, update, delete, acknowledge) become available. Each write tool carries an EnforcerProfile with ImpactWrite so MCP Bridge operators can enforce policies independently.
Tools List
Query the full tool list via MCP:
Safety Features
EnforcerProfile Metadata
Every tool declares its safety profile:
This metadata enables automated policy enforcement by MCP Bridge without hardcoding tool lists.
Risk Classification
- Low Risk: Read-only queries, log searches, metric retrieval, listing operations
- Medium Risk: Creating non-destructive resources (alert conditions, service levels, dashboards, channels), acknowledging alerts
- High Risk: Deleting resources (policies, entities, dashboards, workflows, channels)
Write Protection
Write tools are disabled by default and require:
- Valid New Relic API key with appropriate permissions
-write-enabledcommand-line flag
Examples
Query Application Performance
List Active Alerts
Create a Ping Monitor
Cross-Account NRQL Query
Architecture
The server wraps the New Relic GraphQL client and registers each tool through the MCP Framework. The tools map 1:1 to NerdGraph operations — no REST API calls are made.
Testing
Tests cover:
- Happy path (mock NerdGraph responses)
- Empty/no-results responses
- Missing required parameters
- Write-enabled / write-disabled gating
- API error responses
- Unexpected response format
License
This project is licensed under the Functional Source License, Version 1.1, ALv2 Future License.
Copyright 2026 Karl Dane
See LICENSE file for full terms.
References
- MCP Framework — Base framework with EnforcerProfile support
- New Relic NerdGraph API
- NRQL Reference
- New Relic API Explorer — Interactive GraphQL playground
Tool Inventory
The server registers 55 tools total:
- 6 NRQL / APM / Trace tools: nrql_query, list_applications, get_apm_metrics, get_application_metrics, query_traces, get_transaction_traces, get_trace_details
- 10 Alert tools: list_alerts, get_alert_policy, get_alert_conditions, get_alert_violations, list_nrql_alert_conditions, create_alert_policy, update_alert_policy, delete_alert_policy, create_alert_condition, acknowledge_alert_violation
- 5 Synthetic Monitoring tools: list_synthetic_monitors, get_synthetic_monitor, list_private_locations, create_ping_monitor, delete_synthetic_monitor
- 7 Dashboard tools: list_dashboards, get_dashboard, get_dashboard_data, create_dashboard, update_dashboard, delete_dashboard, add_dashboard_widget
- 2 Log tools: search_logs, tail_logs
- 1 Infrastructure tool: get_infrastructure_metrics
- 5 Workflow tools: list_workflows, get_workflow, create_workflow, update_workflow, delete_workflow
- 5 Notification tools: list_notification_channels, list_destinations, create_slack_channel, create_email_channel, delete_notification_channel
- 3 Service Level tools: list_service_levels, create_service_level, update_service_level
- 4 Tag tools: get_entity_tags, add_entity_tags, remove_entity_tags, replace_entity_tags
- 2 Entity tools: search_entities, delete_entity
- 1 Cross-account NRQL tool: cross_account_nrql
- 2 Workload tools: list_workloads, get_workload
Source: README.md at commit 9202bb9
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
Other Newrelic integrations
New Relic MCP Server
com.newrelicOfficial publisher
Remote New Relic MCP server that lets an assistant query observability data such as metrics, logs, traces and entities.

New Relic MCP Server
Published by GitHub account Meet-Bhalodiya
Self-hosted New Relic MCP server giving assistants read-only-by-default access to NRQL, logs, metrics, traces, alerts, incidents, dashboards and synthetics…