No install? Use cloud.anythingmcp.com directly.
Sign in, install the New Relic in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Query New Relic (NRQL, alerts, incidents, dashboards, deployments, entities) from any AI agent via NerdGraph + REST. 7 tools, API-key auth.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → New Relic, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
New Relic + Gemini
Query New Relic (NRQL, alerts, incidents, dashboards, deployments, entities) from any AI agent via NerdGraph + REST. 7 tools, API-key auth.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
NEW_RELIC_USER_KEY
Step 1 — Ottieni le credenziali
This connector wraps two New Relic APIs: the modern NerdGraph (GraphQL) at api.newrelic.com/graphql AND the legacy REST API for deployments (api.newrelic.com/v2).
Setup:
- Log into https://one.newrelic.com → top-right avatar → API keys.
- Create a User key (type: USER, NOT 'License key' / 'Ingest key'). Scopes: account read at minimum; admin if you want to create deployments. Set
NEW_RELIC_USER_KEY. - Note your Account ID (visible in the URL or via the keys page). You'll pass it as a parameter to most tools.
- EU region: if your org is on the EU data centre, change baseUrl to
https://api.eu.newrelic.com.
…(continued in the in-app connector instructions)
Step 2 — Installa l'adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Step 3 — Aggiungi il connettore in Gemini
Gemini CLI legge i server MCP da ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json su Windows). Aggiungi:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Ottieni la tua MCP API key da AnythingMCP → Profilo → MCP API Keys → Nuova Key.
- Salva il file e riavvia
gemini. - Esegui
/mcpnella Gemini CLI —New Relicdovrebbe essere elencato come disponibile. - Vertex AI Studio: passa
https://cloud.anythingmcp.com/mcpnell'arraytoolsdella richiesta con lo stesso header Bearer.
Tool disponibili
| Tool | What it does |
|---|---|
new_relic_run_nrql | Run an NRQL (New Relic Query Language) query against an account |
new_relic_graphql_query | Run an arbitrary NerdGraph (GraphQL) query/mutation |
new_relic_search_entities | Find entities (services, hosts, browsers, mobile apps, dashboards, workloads) by name + domain + type |
new_relic_get_entity | Fetch an entity by GUID — returns the full entity payload (golden metrics, golden tags, recent issues for APM apps) |
new_relic_list_deployments | List recent deployments recorded for an APM application via the legacy REST API |
new_relic_create_deployment | Record a deployment marker on an APM application's chart |
new_relic_recent_incidents | List recent open incidents for an account from the AI/AIops issue stream |
FAQ
Gemini 1.5 Pro o 2.x supportano MCP? Sì — Gemini CLI ≥ 0.4 e la Vertex AI tools API accettano connettori MCP httpUrl con header Bearer.
Prossimi passi
Questa guida ti è stata utile?