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.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.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |