• /
  • EnglishEspañolFrançais日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

뉴렐릭 MCP 설정

시사

이 기능은 아직 개발 중이지만 꼭 사용해 보시기 바랍니다!

이 기능은 현재 출시 전 정책 에 따라 미리보기 프로그램의 일부로 제공됩니다.

이 가이드에서는 선호하는 AI 개발 도구를 사용하여 뉴렐릭의 MCP(Model Context Protocol) 서버를 설정하는 방법을 안내합니다. 플랫폼별 지침을 보려면 아래에서 환경을 선택하세요.

중요

이 페이지에 나열된 것을 포함하되 이에 국한되지 않는 모든 AI 도구를 뉴렐릭 AI MCP 서버에서 사용하면 AI가 사용자를 대신하여 조치를 취하게 됩니다. 여기에 설명된 방법 중 하나를 사용하는 경우 사용 사례, 요구 사항 및 내부 정책에 적합한 RBAC 및 최소한의 액세스 권한이 있는 적절한 뉴렐릭 계정을 만들고 사용하세요.

뉴렐릭 MCP 설정을 시작하기 전에 인증 설정을 포함한 필수 구성 요소를 완료했는지 확인하세요. 그런 다음, 귀하의 특정 개발 환경에 맞는 지침을 따르세요.

include-태그를 사용한 필터링 도구

뉴렐릭 MCP 도구는 내부 태그(예: alerting, discovery, data-access)를 사용하여 구성 및 분류됩니다.

다음과 같이 requests 과 함께 include-tags HTTP 헤더를 보내면 AI가 액세스하는 도구를 동적으로 필터링할 수 있습니다.

"servers": {
"new-relic-mcp-server": {
"url": "https://mcp.newrelic.com/mcp/",
"type": "http",
"headers": {
"api-key": "NRAK-****",
"include-tags": "discovery,alerting"
}
}
}

사용 가능한 태그와 각 태그와 관련된 도구의 전체 목록은 뉴렐릭 MCP 도구 참조 문서를 참조하세요.

클로드 코드 설정

Claude Code supports both OAuth (recommended) and API key authentication methods. OAuth requires Claude Code version 2.1.186 or later. If you are on older versions, you should authenticate via /mcp inside Claude instead of claude mcp login.

OAuth 방식(권장)

  1. Claude Code가 설치되고 구성되어 있는지 확인하세요.

  2. 명령줄을 사용하여 MCP 서버를 추가합니다.

    bash
    $
    claude mcp add --transport http newrelic https://mcp.newrelic.com/mcp/
    $
    claude mcp login newrelic

    또는 여기에 표시된 대로 ~/.claude.json 편집하세요.

    {
    "mcpServers": {
    "newrelic": {
    "type": "http",
    "url": "https://mcp.newrelic.com/mcp/"
    }
    }
    }
  3. Follow the browser OAuth flow to complete authentication.

API 키 방법

  1. 명령줄을 사용하여 MCP 서버를 추가합니다.

    bash
    $
    claude mcp add --transport http newrelic https://mcp.newrelic.com/mcp/ --header "api-key: NRAK-YOUR-KEY-HERE"

    또는 여기에 표시된 대로 ~/.claude.json 편집하세요.

    {
    "mcpServers": {
    "newrelic": {
    "type": "http",
    "url": "https://mcp.newrelic.com/mcp/",
    "headers": {
    "api-Key": "NRAK-YOUR-KEY-HERE"
    }
    }
    }
    }
  2. MCP 서버가 나열되어 있는지 확인하세요.

    bash
    $
    claude mcp list
  3. 클로드 시작:

    bash
    $
    claude

If you encounter connection errors after setup, refer to Unexpected connection error in Claude Code and Stale OAuth credentials in Claude Desktop.

Antigravity CLI setup

중요

Only the API key method is currently supported for Antigravity CLI. OAuth support is not yet available.

API 키 방법

  1. Ensure you have Antigravity CLI installed on your machine.

  2. Configure the MCP server by opening (or creating) the configuration file:

    • macOS/Linux: ~/.gemini/config/mcp_config.json
    • Windows: %USERPROFILE%\.gemini\config\mcp_config.json

    Add the following configuration:

    {
    "mcpServers": {
    "newrelic": {
    "serverUrl": "https://mcp.newrelic.com/mcp/",
    "headers": {
    "api-key": "NRAK-YOUR-KEY-HERE"
    }
    }
    }
    }
  3. Start Antigravity CLI:

    bash
    $
    agy
  4. Run /mcp to verify the New Relic server is connected.

키로 CLI 설정

OAuth 방식(권장)

  1. 컴퓨터에 Kiro CLI 도구가 설치되어 있는지 확인하십시오.
  2. ~/.kiro/settings/mcp.json 에 있는 설정 파일을 열거나 생성하여 MCP 서버를 구성하고 다음 설정을 추가하십시오.
{
"mcpServers": {
"newrelic-mcp-server": {
"url": "https://mcp.newrelic.com/mcp/",
"oauth": {
"authorizationUrl": "https://oauth2.service.newrelic.com/oauth2/auth",
"tokenUrl": "https://oauth2.service.newrelic.com/oauth2/token",
"scopes": ["observability:read", "offline", "offline_access"],
"usePKCE": true
},
"disabled": false
}
}
}
  1. 인증 및 연결:

    • 터미널을 열고 kiro-cli 실행하세요.
    • 명령어 /mcp 입력하고 엔터를 누르세요.
    • URL과 함께 뉴렐릭 서버가 목록에 표시되는 것을 볼 수 있습니다. 해당 URL을 브라우저에서 여세요.
    • 뉴렐릭의 표준 로그인 절차를 완료하세요.
    • 인증이 완료되면 브라우저에서 성공을 확인하는 메시지가 표시됩니다.

API 키 방법

  1. 컴퓨터에 Kiro CLI 도구가 설치되어 있는지 확인하십시오.

  2. Configure the MCP server by opening (or creating) ~/.kiro/settings/mcp.json and add the following configuration:

    {
    "mcpServers": {
    "newrelic-mcp-server": {
    "url": "https://mcp.newrelic.com/mcp/",
    "headers": {
    "api-key": "NRAK-YOUR-KEY-HERE"
    },
    "disabled": false
    }
    }
    }
  3. Open your terminal and run kiro-cli. The New Relic MCP server will connect automatically.

클로드 데스크탑 설정

Claude Desktop은 OAuth 인증을 위해 mcp-remote 프록시가 필요합니다. npx가 작동하려면 컴퓨터에 Node.js 설치되어 있는지 확인하십시오.

OAuth 방식(권장)

  1. (필요한 경우) 구성 디렉토리를 만듭니다.
bash
$
mkdir -p "~/Library/Application Support/Claude"
  1. 구성 파일을 편집하세요: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json (Windows).

    {
    "mcpServers": {
    "new-relic-mcp": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "https://mcp.newrelic.com/mcp/"]
    }
    }
    }
  2. Claude Desktop을 다시 시작합니다.

API 키 방법

  1. 다음과 같이 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json (Windows)을 편집하여 MCP 서버를 추가합니다.

    • macOS용:

      {
      "mcpServers": {
      "newrelic": {
      "command": "npx",
      "args": [
      "-y",
      "mcp-remote",
      "https://mcp.newrelic.com/mcp/",
      "--transport",
      "http",
      "--header",
      "api-key: NRAK-xxxx"
      ]
      }
      }
      }
    • Windows의 경우:

      {
      "mcpServers": {
      "newrelic": {
      "command": "C:\\PROGRA~1\\nodejs\\npx.cmd",
      "args": [
      "-y",
      "mcp-remote",
      "https://mcp.newrelic.com/mcp/",
      "--transport",
      "http",
      "--header",
      "api-key: NRAK-xxxx"
      ]
      }
      }
      }
  2. Claude Desktop을 다시 시작하세요. Windows에서는 작업 관리자를 통해 Claude 애플리케이션을 종료해야 변경 사항이 적용될 수 있습니다.

윈드서핑 설정

OAuth 방식

  1. 여기에 표시된 대로 구성 파일 ~/.codeium/windsurf/mcp_config.json 을 편집합니다.

    {
    "mcpServers": {
    "new-relic": {
    "serverUrl": "https://mcp.newrelic.com/mcp/"
    }
    }
    }
  2. 윈드서프를 다시 시작하세요.

  3. Cascade 패널의 망치 아이콘을 사용하여 MCP 서버를 확인하세요.

API 키 방법

  1. 여기에 표시된 대로 ~/.codeium/windsurf/mcp_config.json 편집하여 MCP 서버를 추가합니다.

    {
    "mcpServers": {
    "newrelic-api": {
    "serverUrl": "https://mcp.newrelic.com/mcp/",
    "headers": {
    "api-key": "NRAK-YOUR-API-KEY"
    }
    }
    }
    }
  2. 윈드서프를 다시 시작하세요.

VS 코드 설정

VS Code remains fully supported with both authentication methods. You need VS Code (version 1.91 or later).

OAuth 방식

여기에 표시된 대로 .vscode/mcp.json 편집하여 MCP 서버를 추가합니다.

{
"servers": {
"new-relic-mcp": {
"url": "https://mcp.newrelic.com/mcp/",
"type": "http"
}
}
}

API 키 방법

여기에 표시된 대로 .vscode/mcp.json 편집하여 MCP 서버를 추가합니다.

{
"inputs": [
{
"type": "promptString",
"id": "nr-api-key",
"description": "New Relic User API Key",
"password": true
}
],
"servers": {
"new-relic-mcp": {
"type": "http",
"url": "https://mcp.newrelic.com/mcp/",
"headers": {
"api-key": "${input:nr-api-key}"
}
}
}
}

설정 단계

  1. VS Code 작업 공간에서 mcp.json 만들거나 엽니다.

    • .vscode 디렉토리가 없으면 프로젝트 루트에 디렉토리를 만드세요.

      • .vscode 내부에 mcp.json 이라는 이름의 파일을 만듭니다.
      • 위의 방법 중 하나를 사용하여 인증 설정을 추가하세요.
  2. 서버 시작:

    • 편집기에서 mcp.json 파일이 열려 있는지 확인하세요.
    • 서버 설정 위에서 클릭 가능한 링크(CodeLens)를 찾으세요. 이를 클릭하면 MCP 서버가 시작됩니다.

연결되면 자연어를 사용하여 뉴렐릭 AI와 상호작용할 수 있습니다. MCP 서버는 귀하의 뉴렐릭 계정에서 인증 및 데이터 검색을 관리합니다.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.