New Relic MCP server for observing AI coding assistants (Claude Code, Cursor, Copilot, etc.)
Connect Runs on your machine
claude mcp add preflight -e NEW_RELIC_LICENSE_KEY=<NEW_RELIC_LICENSE_KEY> -e NR_AI_MODE=<NR_AI_MODE> -e NEW_RELIC_ACCOUNT_ID=<NEW_RELIC_ACCOUNT_ID> -- npx -y @newrelic/[email protected]
{
"mcpServers": {
"preflight": {
"command": "npx",
"args": [
"-y",
"@newrelic/[email protected]"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<NEW_RELIC_LICENSE_KEY>",
"NR_AI_MODE": "<NR_AI_MODE>",
"NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>"
}
}
}
}
{
"mcpServers": {
"preflight": {
"command": "npx",
"args": [
"-y",
"@newrelic/[email protected]"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<NEW_RELIC_LICENSE_KEY>",
"NR_AI_MODE": "<NR_AI_MODE>",
"NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>"
}
}
}
}
{
"servers": {
"preflight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@newrelic/[email protected]"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<NEW_RELIC_LICENSE_KEY>",
"NR_AI_MODE": "<NR_AI_MODE>",
"NEW_RELIC_ACCOUNT_ID": "<NEW_RELIC_ACCOUNT_ID>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
NEW_RELIC_LICENSE_KEYOptional, secret | New Relic ingest license key. Optional: while NR_AI_MODE is unset or local, Preflight runs local-only with the dashboard at localhost:7777. A license key with no mode set by NR_AI_MODE or the config file makes the server fail to start. |
NR_AI_MODEOptional | Where telemetry goes: "cloud" (New Relic only), "both" (New Relic plus the local dashboard) or "local". Required when NEW_RELIC_LICENSE_KEY is set, unless the config file sets a mode. cloud turns off the local dashboard and local alerts. |
NEW_RELIC_ACCOUNT_IDOptional | New Relic account id. Required when NR_AI_MODE is cloud or both; also used for dashboard and alert deployment. |
Details
| Package | @newrelic/[email protected] (NPM, stdio) |
| First published | 9 Nov 2026 |
| Last updated | 9 Nov 2026 |
| Registry name | io.github.newrelic-experimental/preflight |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
