preflight for VS Code
io.github.newrelic-experimental/preflight
New Relic MCP server for observing AI coding assistants (Claude Code, Cursor, Copilot, etc.)
client:VS Code
transport:stdio
runtime:npm
Install preflight in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "new-relic-license-key",
"description": "NEW_RELIC_LICENSE_KEY",
"password": true
},
{
"type": "promptString",
"id": "new-relic-account-id",
"description": "NEW_RELIC_ACCOUNT_ID",
"password": true
}
],
"servers": {
"preflight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@newrelic/preflight"
],
"env": {
"NEW_RELIC_LICENSE_KEY": "${input:new-relic-license-key}",
"NEW_RELIC_ACCOUNT_ID": "${input:new-relic-account-id}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs