New Relic NerdGraph MCP Server
by ulucaydin
This server provides a Model Context Protocol (MCP) interface for interacting with the New Relic NerdGraph API. It allows MCP clients to query and interact with your New Relic account data using natural language or specific commands.
Last updated: N/A
What is New Relic NerdGraph MCP Server?
This is a Model Context Protocol (MCP) server that acts as a bridge between MCP clients (like Claude Desktop) and the New Relic NerdGraph API. It enables users to query and manage their New Relic data and features through natural language or specific tool invocations.
How to use New Relic NerdGraph MCP Server?
- Clone the repository and install dependencies.
- Configure your New Relic API key and Account ID as environment variables.
- Run the server using
fastmcp run server.py:mcp
. - Restart your MCP client. The client should automatically detect and connect to the server.
- Interact with New Relic using natural language or by directly invoking available tools.
Key features of New Relic NerdGraph MCP Server
Account Details retrieval
Generic NerdGraph Query execution
NRQL Query execution
Entity Management (search and details)
APM application listing
Synthetics monitor listing and creation
Alert policy listing, open incident viewing, and incident acknowledgement
Use cases of New Relic NerdGraph MCP Server
Querying New Relic data using natural language within an MCP client.
Automating New Relic tasks through MCP tools.
Integrating New Relic data into other applications via MCP.
Troubleshooting application performance issues using natural language queries.
FAQ from New Relic NerdGraph MCP Server
What is an MCP server?
What is an MCP server?
An MCP (Model Context Protocol) server acts as an intermediary, allowing clients to interact with underlying systems (like New Relic) through a standardized protocol.
What is NerdGraph?
What is NerdGraph?
NerdGraph is New Relic's GraphQL API, providing programmatic access to New Relic data and functionality.
How do I get a New Relic API key?
How do I get a New Relic API key?
You can generate a User API key in the New Relic UI, as described in the New Relic documentation.
What if I don't know the exact name of an entity I'm searching for?
What if I don't know the exact name of an entity I'm searching for?
The search_entities
tool supports fuzzy matching for entity names.
How do I find my New Relic Account ID?
How do I find my New Relic Account ID?
Your New Relic Account ID can be found in the New Relic UI, often in the URL or account settings.