About Newrelic MCP Server
Newrelic MCP Server is an MCP server published by piekstra in the AI category: a Model Context Protocol (MCP) server for NewRelic integration with comprehensive monitoring and querying capabilities. Conduid read 27 tools from its source: create_deployment, create_log_parsing_rule, delete_log_parsing_rule, generate_log_parsing_rule, get_alert_policy, get_application and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 6 stars and 2 forks, is licensed MIT, and its last commit was on 24 Nov 2026. The latest release is v1.3.1 (6 Jan 2026): New Relic MCP Server v1.3.1 📦 Installation pip install newrelic-mcp-server 🔐 Secure Setup (Recommended for macOS) Run the secure credential setup newrelic-mcp-setup Run… It follows v1.3.0 (12 Aug 2025), and the 5 most recent releases go back to v1.1.0 (8 Aug 2025). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include api, graphql, monitoring, newrelic and observability.
Install
git clone https://github.com/piekstra/newrelic-mcp-serverTools (27)
create_deploymentRecord new deployments| Parameter | Type | Description |
|---|---|---|
| app_id * | string | |
| changelog | string | |
| description | string | |
| revision * | string | |
| user | string |
create_log_parsing_ruleCreate a new log parsing rule with GROK pattern and NRQL filter| Parameter | Type | Description |
|---|---|---|
| account_id | string | |
| description * | string | |
| enabled | boolean | |
| grok * | string | |
| lucene | string | |
| nrql * | string |
delete_log_parsing_ruleDelete a log parsing rule| Parameter | Type | Description |
|---|---|---|
| account_id | string | |
| rule_id * | string |
generate_log_parsing_ruleIntelligently generate GROK patterns from log samples or NRQL queries| Parameter | Type | Description |
|---|---|---|
| account_id | string | Optional account ID (uses default if not provided) |
| field_hints | object | Optional hints for field types (e.g., {"user_id": "UUID"}) |
| log_query | string | Optional NRQL WHERE clause to fetch logs (e.g., "service = 'api'") |
| log_samples | array | Optional list of log message samples |
| time_range | string | Time range for log query (default: "1 hour ago") |
get_alert_policyGet specific alert policy details| Parameter | Type | Description |
|---|---|---|
| policy_id * | string |
get_applicationGet details for a specific application| Parameter | Type | Description |
|---|---|---|
| app_id * | string |
get_application_metric_dataGet metric data with time range filtering| Parameter | Type | Description |
|---|---|---|
| app_id * | string | |
| from_time | string | |
| metric_names * | array | |
| to_time | string |
get_application_metricsGet available metrics for an application| Parameter | Type | Description |
|---|---|---|
| app_id * | string | |
| names | array |
get_dashboardGet dashboard configuration and widgets| Parameter | Type | Description |
|---|---|---|
| guid * | string |
get_serverGet server details| Parameter | Type | Description |
|---|---|---|
| server_id * | string |
get_synthetic_monitorGet synthetic monitor details| Parameter | Type | Description |
|---|---|---|
| monitor_id * | string |
get_userGet user details| Parameter | Type | Description |
|---|---|---|
| user_id * | string |
list_alert_policiesList all alert policieslist_applicationsList all APM applicationslist_dashboardsList all dashboards| Parameter | Type | Description |
|---|---|---|
| account_id | string |
list_deploymentsList application deployments| Parameter | Type | Description |
|---|---|---|
| app_id * | string |
list_log_parsing_rulesList all log parsing rules for an account| Parameter | Type | Description |
|---|---|---|
| account_id | string |
list_serversList monitored serverslist_synthetic_monitorsList synthetic monitorslist_usersList account usersmanage_credentialsSecurely manage API credentials in keychain| Parameter | Type | Description |
|---|---|---|
| account_id | string | |
| action * | string | |
| api_key | string |
nerdgraph_queryExecute custom NerdGraph GraphQL queries| Parameter | Type | Description |
|---|---|---|
| query * | string | |
| variables | object |
query_nrqlExecute NRQL queries for data analysis| Parameter | Type | Description |
|---|---|---|
| account_id * | string | |
| nrql * | string |
search_entitiesSearch across all entity types| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string |
test_log_parsing_ruleTest a GROK pattern against sample logs (generates pattern if not provided)| Parameter | Type | Description |
|---|---|---|
| account_id | string | |
| grok_pattern | string | |
| log_samples * | array |
update_dashboardUpdate a widget in a dashboard page.| Parameter | Type | Description |
|---|---|---|
| account_id | string | Account ID for the query (uses default if not provided) |
| nrql_query * | string | The NRQL query for the widget |
| page_guid * | string | The GUID of the dashboard page containing the widget |
| title * | string | The new title for the widget |
| visualization_id | string | Visualization type (viz.table, viz.billboard, etc) |
| widget_id * | string | The ID of the widget to update |
update_log_parsing_ruleUpdate an existing log parsing rule| Parameter | Type | Description |
|---|---|---|
| account_id | string | |
| description | string | |
| enabled | boolean | |
| grok | string | |
| lucene | string | |
| nrql | string | |
| rule_id * | string |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionScanned 5 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 1.6K words, fetched a month ago. The original in the repository is authoritative.
Read full README