No install? Use cloud.anythingmcp.com directly.
Sign in, install the NewsAPI in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Search worldwide news headlines, sources and articles from newsapi.org via any AI agent. 3 tools, API-key auth.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → NewsAPI, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
NewsAPI + Gemini
Search worldwide news headlines, sources and articles from newsapi.org via any AI agent. 3 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:
NEWSAPI_API_KEY
Step 1 — Ottieni le credenziali
This connector wraps the NewsAPI v2 REST API (newsapi.org).
Setup:
- Register at https://newsapi.org/register for a free Developer key.
- Set
NEWSAPI_API_KEY.
Authentication: NewsAPI accepts the key as either the X-Api-Key header (used by this adapter) OR an apiKey query string. We use the header so it doesn't appear in URL logs.
Plan limits — IMPORTANT:
- Developer (free): 100 requests / day, articles delayed by 24h, no commercial use, results capped at 100 per query.
- Paid plans: live articles, no daily cap, full historical archive.
…(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 —NewsAPIdovrebbe 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 |
|---|---|
newsapi_everything | Full-archive search across millions of articles from 80k+ sources |
newsapi_top_headlines | Breaking news headlines |
newsapi_sources | List all news sources NewsAPI tracks |
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?