Newrelic Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Newrelic Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides New Relic observability tools for integration with Cursor and other MCP-compatible AI assistants.
This MCP server provides comprehensive New Relic tools organized into the following categories:
convert_time_period_to_epoch_ms - Convert time periods to epoch millisecondsget_entity - Fetch entities by GUID or search by namelist_related_entities - List related entities (1 hop away)list_available_new_relic_accounts - List all available accountslist_dashboards - List dashboards for an accountget_dashboard - Get dashboard detailslist_entity_types - List all entity typessearch_entity_with_tag - Search entities by tagexecute_nrql_query - Execute NRQL queries against NRDBnatural_language_to_nrql_query - Convert natural language to NRQL and executelist_alert_conditions - List alert conditions for a policysearch_incident - Search alert incidentslist_alert_policies - List alert policieslist_recent_issues - List open issueslist_synthetic_monitors - List synthetic monitorsanalyze_deployment_impact - Analyze deployment performance impactgenerate_alert_insights_report - Generate alert analysis reportgenerate_user_impact_report - Generate user impact reportget_entity_error_groups - Get error groups from Errors Inboxlist_change_events - List deployment and config changesanalyze_entity_logs - Analyze logs for patterns and anomaliesanalyze_golden_metrics - Analyze throughput, response time, error rateanalyze_kafka_metrics - Analyze Kafka consumer lag, throughputanalyze_threads - Analyze JVM thread metricsanalyze_transactions - Identify slow and error-prone transactionslist_garbage_collection_metrics - Get GC and memory metricslist_recent_logs - List recent log entriescomprehensive_entity_analysis - Full entity health analysiscorrelate_metrics_and_events - Correlate metrics with eventsanalyze_service_dependencies - Analyze service dependenciesgenerate_slo_report - Generate SLO compliance report cd /Users/vickykumar/projects/newrelic-mcp python3.11 -m venv venv # or python3.10, python3.12, etc.
source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt cp env.example .envEdit .env and set your New Relic credentials:
NEW_RELIC_API_KEY=NRAK-your-api-key-here
NEW_RELIC_ACCOUNT_ID=your-account-idNRAK-)~/.cursor/mcp.json{
"mcpServers": {
"newrelic": {
"command": "/Users/vickykumar/projects/newrelic-mcp/venv/bin/python",
"args": ["/Users/vickykumar/projects/newrelic-mcp/server.py"],
"env": {
"NEW_RELIC_API_KEY": "NRAK-your-api-key",
"NEW_RELIC_ACCOUNT_ID": "your-account-id",
"NEW_RELIC_REGION": "US"
}
}
}
}Note: Update the paths if your project is located elsewhere.
Create a wrapper script for easier configuration:
#!/bin/bash
# save as: run-newrelic-mcp.sh
export NEW_RELIC_API_KEY="NRAK-your-api-key"
export NEW_RELIC_ACCOUNT_ID="your-account-id"
cd /Users/vickykumar/projects/newrelic-mcp
./venv/bin/python server.pyThen configure Cursor to use this script:
{
"mcpServers": {
"newrelic": {
"command": "/Users/vickykumar/projects/newrelic-mcp/run-newrelic-mcp.sh",
"args": []
}
}
}Once configured, you can ask the AI assistant to:
You can test the server manually:
# Activate virtual environment
source venv/bin/activate
# Set environment variables
export NEW_RELIC_API_KEY="NRAK-your-key"
export NEW_RELIC_ACCOUNT_ID="your-account-id"
# Run the server (it will wait for MCP protocol messages on stdin)
python server.pyNRAK-| Variable | Required | Default | Description |
|---|---|---|---|
NEW_RELIC_API_KEY | Yes | - | Your New Relic User API Key |
NEW_RELIC_ACCOUNT_ID | Yes | - | Default New Relic Account ID |
NEW_RELIC_REGION | No | US | Region: US or EU |
MAX_LOOKBACK_MINUTES | No | 10080 | Max lookback period (7 days) |
MAX_RESULT_LIMIT | No | 2000 | Max results per query |
DEFAULT_LIMIT | No | 100 | Default result limit |
newrelic-mcp/
├── server.py # Main MCP server entry point
├── requirements.txt # Python dependencies
├── .env # Environment configuration
├── .env.example # Example configuration
└── app/
├── __init__.py
├── config.py # Configuration management
├── nr_client.py # New Relic GraphQL client
└── tools/
├── __init__.py
├── discovery.py # Entity/account tools
├── data_access.py # NRQL query tools
├── alerting.py # Alert/incident tools
├── incident_response.py # Incident analysis
├── performance_analytics.py # Performance tools
└── advanced_analysis.py # Advanced analysisMIT License - See LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.