Skip to main content
Glama
ruminaider

NewRelic MCP Server

by ruminaider

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level (debug/info/warn/error)info
NEW_RELIC_REGIONNoAPI region (US or EU)US
NEW_RELIC_API_KEYYesNewRelic User API key
NEW_RELIC_ACCOUNT_IDYesNewRelic Account ID

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_nrql_query

Execute an arbitrary NRQL query against NewRelic. Returns raw query results with metadata. Use this for custom analytics, metrics, and data exploration.

list_recent_logs

List recent logs from NewRelic. Useful for getting an overview of recent log activity, filtering by level, or searching with custom conditions.

analyze_entity_logs

Analyze logs for a specific NewRelic entity by GUID. Use this to investigate issues with a particular service, application, or infrastructure component.

query_logs

Search logs by field and value with optional time range. Supports wildcards (%) for pattern matching. Use this for targeted log searches based on specific criteria.

natural_language_to_nrql_query

Convert a natural language description into NRQL query suggestions. Returns matching query patterns, templates, and NRQL syntax guidance. Use this when you need help constructing NRQL queries for NewRelic.

get_entity

Retrieve detailed information about a NewRelic entity by its GUID. Returns entity metadata, tags, and type-specific metrics (APM throughput/error rate, Browser page views, etc).

list_related_entities

Get entities that are related to a specific entity. Shows connections like service dependencies, infrastructure relationships, and dashboard associations.

search_entity_with_tag

Search for NewRelic entities using tags and NerdGraph query syntax. Use this to find entities by environment, team, service name, or any custom tag.

list_entity_types

List all available entity types in NewRelic. Returns domain/type combinations like APM/APPLICATION, INFRA/HOST, BROWSER/APPLICATION, etc.

list_available_new_relic_accounts

List all NewRelic accounts accessible with the current API key. Shows account IDs and names. Also indicates the currently configured account.

list_alert_policies

List NewRelic alert policies with optional name filtering. Returns policy ID, name, and incident preference settings.

list_alert_conditions

List NewRelic NRQL alert conditions with optional filtering by policy, name, or enabled status. Returns condition details including NRQL query, thresholds, and configuration.

list_recent_issues

List recent AI-detected issues from NewRelic. Uses the experimental aiIssues API to fetch active and recent incidents with priority and state information.

search_incident

Search NewRelic incidents with filtering by state, priority, and entity. Uses NRQL to query the NrAiIncident event type.

analyze_deployment_impact

Analyze the impact of a deployment by comparing metrics (error rate, throughput, response time) before and after the deployment. Helps identify if a deployment caused performance degradation.

generate_alert_insights_report

Generate a comprehensive alert insights report combining AI issues, error groups, and recent deployments. Provides actionable recommendations based on the current state of alerts and incidents.

get_entity_error_groups

Get error groups from TransactionError events. Groups errors by class and message to identify the most frequent and impactful errors.

list_change_events

List change events from NrChangeTracking. Includes deployments, configuration changes, and other tracked changes with version and user information.

get_dashboard

Get a NewRelic dashboard with full page and widget details. Returns the dashboard structure including all pages, their widgets, and widget configurations. Use this to understand dashboard layout and widget queries.

list_dashboards

List NewRelic dashboards with optional account filtering. Returns dashboard names and GUIDs. Use pagination cursor for large result sets. Useful for discovering available dashboards before fetching full details.

list_synthetic_monitors

List NewRelic synthetic monitors with status and success rate information. Synthetic monitors are automated tests that check endpoint availability and performance. Filter by account or status. Returns monitor GUIDs, names, current status, and success rates.

analyze_golden_metrics

Get the golden metrics defined for a NewRelic entity. Golden metrics are the key performance indicators that NewRelic recommends monitoring for each entity type (APM applications, hosts, etc.). Returns metric names, titles, and the NRQL queries used to calculate them. Use these queries to understand what metrics are important for an entity.

analyze_transactions

Analyze transaction performance using NRQL with FACET grouping. Query the Transaction event type to analyze web requests, API calls, and background jobs. Group by transaction name, host, or other attributes. Calculate metrics like count, average duration, error rate, and throughput. Useful for identifying slow transactions, high-error endpoints, or traffic patterns.

convert_time_period_to_epoch_ms

Convert human-readable time strings to epoch milliseconds. Supports relative times like '1 hour ago', '30 minutes ago', '7 days ago' and absolute times like ISO 8601 dates. Useful for constructing NRQL time ranges or comparing timestamps. This is a local utility that does not make API calls.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ruminaider/newrelic-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server