KosmoKrator

analytics

New Relic MCP Gateway for AI Agents

Expose New Relic tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

7 functions 6 read 1 write API key auth

New Relic MCP Gateway

Expose New Relic to MCP clients with `kosmokrator mcp:serve --integration=newrelic`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=newrelic --write=deny --json
{
  "mcpServers": {
    "kosmokrator-newrelic": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=newrelic",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=newrelic --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__newrelic__newrelic_list_applications newrelic.newrelic_list_applications Read read
integration__newrelic__newrelic_get_application newrelic.newrelic_get_application Read read
integration__newrelic__newrelic_list_deployments newrelic.newrelic_list_deployments Read read
integration__newrelic__newrelic_create_deployment newrelic.newrelic_create_deployment Write write
integration__newrelic__newrelic_list_alert_policies newrelic.newrelic_list_alert_policies Read read
integration__newrelic__newrelic_list_dashboards newrelic.newrelic_list_dashboards Read read
integration__newrelic__newrelic_get_current_user newrelic.newrelic_get_current_user Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.