KosmoKrator

analytics

New Relic MCP, CLI, and Lua Integration for AI Agents

New Relic integration docs for AI agents: MCP gateway setup, New Relic CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write API key auth

New Relic for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
newrelic
route_slug
newrelic
package
newrelic
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

New Relic MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for New Relic.

New Relic CLI Matrix

Use these pages for direct New Relic CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
newrelic.newrelic_list_applications Read read 0 List APM applications in the configured New Relic account. Returns application names, GUIDs, IDs, language, reporting status, and health status.
newrelic.newrelic_get_application Read read 1 Get details of a specific New Relic APM application by its application ID, including language, health status, and Apdex thresholds.
newrelic.newrelic_list_deployments Read read 1 List deployment markers for a New Relic APM application. Requires the application entity GUID.
newrelic.newrelic_create_deployment Write write 5 Record a new deployment marker in New Relic for a given application. This helps correlate deploys with performance changes.
newrelic.newrelic_list_alert_policies Read read 0 List alert policies in the configured New Relic account. Returns policy names, IDs, and incident preferences.
newrelic.newrelic_list_dashboards Read read 0 List dashboards in the configured New Relic account. Returns dashboard titles, GUIDs, timestamps, and owner information.
newrelic.newrelic_get_current_user Read read 0 Get the profile of the currently authenticated New Relic user. Useful for verifying API credentials and retrieving account information.