Configurazione MCP e client
Scegli il tuo client. Tutto ciò che ti serve è la tua chiave API di serp.cheap.
claude mcp add google-cheap-search -e SERPCHEAP_API_KEY=your-key -- npx -y @serpcheap/mcpAggiungi alla configurazione MCP del tuo client (claude_desktop_config.json, mcp.json di Cursor, …):
{ "mcpServers": { "google-cheap-search": { "command": "npx", "args": ["-y", "@serpcheap/mcp"], "env": { "SERPCHEAP_API_KEY": "your-key" } } }}Punta qualsiasi client MCP al server ospitato e passa la tua chiave come bearer token:
{ "mcpServers": { "google-cheap-search": { "url": "https://mcp.serp.cheap/mcp", "headers": { "Authorization": "Bearer your-key" } } }}Flag della CLI
Sezione intitolata “Flag della CLI”serpcheap-mcp [--stdio | --http] [--host 127.0.0.1] [--port 7100] [--allowed-hosts <csv>] [-v]Ambiente
Sezione intitolata “Ambiente”| Variabile | Default | Note |
|---|---|---|
SERPCHEAP_API_KEY | — | Obbligatorio per stdio (HTTP può usare l’autenticazione per richiesta). |
SERPCHEAP_BASE_URL | https://api.serp.cheap | Override dell’URL base dell’API. |
SERPCHEAP_TIMEOUT_MS | 20000 | Timeout upstream (1000–120000). |