Skip to main content
Glama

New Relic MCP Server

by cloudbring
environment-validation.test.ts547 B
import { describe, expect, it } from 'vitest'; import { NewRelicMCPServer } from '../../../src/server'; describe('Server Edge Cases: Environment validation', () => { it('does not throw during construction when API key is missing (tool discovery)', () => { const originalApiKey = process.env.NEW_RELIC_API_KEY; // eslint-disable-next-line @typescript-eslint/no-dynamic-delete delete process.env.NEW_RELIC_API_KEY; expect(() => new NewRelicMCPServer()).not.toThrow(); process.env.NEW_RELIC_API_KEY = originalApiKey; }); });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudbring/newrelic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server