newrelic-change-tracking-mcp-server

newrelic-change-tracking-mcp-server

0

This project is an MCP server that integrates with New Relic Change Tracking via chat interfaces, allowing the recording of application deployment events. It is designed for ease of use with large language model requests, but is not intended for production use.

MCP Server for New Relic Change Tracking

An MCP server that integrates with New Relic Change Tracking via chat interfaces.

Overview

This tool is a server that makes it easy to record and integrate New Relic Change Tracking events through chat-based interfaces. It uses the Model Context Protocol (MCP) to support direct requests from LLMs, making it simple to record application deployment events and other changes.

Note: This repository was created as a practice implementation of an MCP server and is not recommended for production use.

Tools

newrelic_change_tracking_create_deployment

  • Records deployments for the specified entity
inputs
FieldTypeRequiredDescription
versionstringYesVersion of the deployment
namestringYesEntity Name of the deployment
domainTypestringNoDomain Type (eg, APM-APPLICATION BROWSER-APPLICATION MOBILE-APPLICATION)
entityGuidstringNoEntity GUID - defaults to mapped value or environment variable if not provided
descriptionstringNoDescription of the deployment
userstringNoUser who initiated the deployment
commitstringNoCommit hash or identifier
changelogstringNoChangelog details
timestampnumber | stringNoTimestamp - defaults to current time

Setup

Docker Build

# Build the image
docker build -t newrelic-change-tracking-mcp-server .

Usage

Required Environment Variables

  • NEW_RELIC_API_KEY - Specify your New Relic API key (USER KEY).

For Claude Desktop MCP users, you can configure claude_desktop_config.json as follows:

Docker

{
  "mcpServers": {
    "newrelic-change-tracking": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "NEW_RELIC_API_KEY",
        "newrelic-change-tracking-mcp-server"
      ],
      "env": {
        "NEW_RELIC_API_KEY": "Set New Relic User Key"
      }
    }
  }
}

How to Use

Enter a prompt to record entity change tracking request:

Required Parameters
Record a deployment for <entity name> with <version>

Example:

Record a deployment for my-application with version 1.0.0
Optional Parameters
Record a deployment for <entity name> with <version>
user: <username>
description: <description>
changelog: <changelog>
repository: <repository URL>
commit: <commit hash>
domainType: <domain type>

Example:

Record a deployment for application my-application with version 1.0.0
user: yuzujoe
description: Spring release update
changelog: - Fixed login bug\n- Added new dashboard feature
repository: repository URL
commit: commit hash
domainType: APM-APPLICATION