newrelic-mcp
Provides tools for monitoring and analyzing New Relic application performance metrics, including transactions, APM metrics, slow transactions, database operations, and transaction breakdown segments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@newrelic-mcpget APM metrics for my-app in the last 30 minutes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
New Relic MCP Server
A command-line tool for monitoring and analyzing New Relic application metrics using MCP (Model Control Protocol).
Installation
Install directly from GitHub using pipx:
# Install
pipx install git+https://github.com/neoai-agent/newrelic-mcp.git
# Or run without installation
pipx run git+https://github.com/neoai-agent/newrelic-mcp.gitRelated MCP server: NewRelic MCP Server
Quick Start
Set up your environment variables:
Method: Using .env file
# Create a .env file in your project directory cat > .env << EOL # New Relic Credentials NEWRELIC_API_KEY=your-newrelic-api-key-here NEWRELIC_INSIGHTS_KEY=your-newrelic-insights-key-here NEWRELIC_ACCOUNT_ID=your-newrelic-account-id-here # OpenAI Credentials OPENAI_API_KEY=your-openai-api-key-here # Optional: Model Configuration MODEL=openai/gpt-4o-mini EOLCreate
agent.yaml:
- name: "New Relic Agent"
description: "Agent to get all details of New Relic"
mcp_servers:
- name: "New Relic MCP Server"
args: ["--api-key=${NEWRELIC_API_KEY}", "--insights-key=${NEWRELIC_INSIGHTS_KEY}", "--account-id=${NEWRELIC_ACCOUNT_ID}", "--openai_api_key=${OPENAI_API_KEY}"]
command: "newrelic-mcp"
system_prompt: "You are a SRE devops engineer specialising in New Relic to get APM metrics at performance level. You can use the tools provided to you to get the details of the performnace of apm. Precisely use the tools to get the details of necessary metrics to get the valuable information."Run the server:
newrelic-mcp --api-key "YOUR_API_KEY" --insights-key "YOUR_INSIGHTS_KEY" --account-id "YOUR_ACCOUNT_ID" --openai_api_key "YOUR_OPENAI_API_KEY"Available Tools
The server provides the following tools for New Relic APM analysis:
Get transaction details for a specific endpoint:
await get_transaction_details_by_url_path(
application_name="your-app-name",
url_path="/api/v1/endpoint",
time_range_minutes=30
)Get overall application metrics:
await get_application_metrics(
application_name="your-app-name",
time_range_minutes=30
)Get APM metrics for an application:
await get_newrelic_apm_metrics(
application_name="your-app-name",
time_range_minutes=30
)Get slow transaction details:
await get_application_slow_transactions_details(
application_name="your-app-name",
time_range_minutes=30
)Get top database operations:
await get_application_top_database_operations_details(
application_name="your-app-name",
time_range_minutes=30
)Get transaction breakdown segments:
await get_transaction_breakdown_segments(
application_name="your-app-name",
time_range_minutes=30
)Development
For development setup:
git clone https://github.com/neoai-agent/newrelic-mcp.git
cd newrelic-mcp
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e ".[dev]"License
MIT License - See LICENSE file for details
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceRun NRQL, NerdGraph, and REST v2 operations to query data, manage incidents, create synthetics, and annotate deployments — all from your MCP client.Last updated181,66814MIT
- AlicenseAqualityDmaintenanceA comprehensive MCP server providing over 26 tools for querying, monitoring, and analyzing NewRelic data through NRQL queries and entity management. It enables interaction with NewRelic's NerdGraph API for managing alerts, logs, and incidents directly within Claude Code sessions.Last updated242282MIT
- AlicenseAqualityBmaintenanceA read-only MCP server for AppDynamics that exposes 12 task-oriented tools to query applications, topology, metrics, snapshots, health rules, anomalies, events, alerting config, analytics events, and dependency maps via OAuth API-client credentials.Last updated121MIT
- Alicense-qualityCmaintenanceMCP server for New Relic workflows, enabling NRQL queries, NerdGraph access, entity lookup, logs, alerts, dashboards, and service levels.Last updated1,6684MIT
Related MCP Connectors
Revternal MCP — wraps the Revternal Developer Intelligence API
Free MCP tools: the only MCP linter, health checks, cost estimation, and trust evaluation.
Official Sevalla MCP — full PaaS API access through just 2 tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/neoai-agent/newrelic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server