New Relic MCP server for observing AI coding assistants (Claude Code, Cursor, Copilot, etc.)
Run one of the commands below, then pick your client in the next section.
npm
npx -y @newrelic/preflight
Pick your client — the config below is generated for this server (local stdio).
claude_desktop_config.json
{
"mcpServers": {
"preflight-newrelic-experimental": {
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<YOUR_NEW_RELIC_LICENSE_KEY>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env NEW_RELIC_LICENSE_KEY=<YOUR_NEW_RELIC_LICENSE_KEY> preflight-newrelic-experimental -- npx -y @newrelic/preflight
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"preflight-newrelic-experimental": {
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<YOUR_NEW_RELIC_LICENSE_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"preflight-newrelic-experimental": {
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<YOUR_NEW_RELIC_LICENSE_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"preflight-newrelic-experimental": {
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "<YOUR_NEW_RELIC_LICENSE_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
NEW_RELIC_LICENSE_KEY secret — New Relic ingest license key. Optional: without it Preflight runs local-only with the dashboard at localhost:7777.NEW_RELIC_ACCOUNT_ID — New Relic account id, used for dashboard and alert deployment. Optional.Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/newrelic-experimental/preflight. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/preflight-newrelic-experimental/)
HTML
<a href="https://mcpnav.net/server/preflight-newrelic-experimental/"><img src="https://mcpnav.net/badge/preflight-newrelic-experimental.svg" alt="Listed on MCPNav" height="20"></a>