Docs
Cerca nella documentazione...⌘K

OpenClaw

Segui questi passaggi per aggiungere il server MCP di Ahrefs a OpenClaw usando mcporter.

  • Installa mcporter npm install -g mcporter. In alternativa, puoi installarlo dalla Dashboard di Gateway, nella sezione Competenze.
  • Aggiungi il server MCP di Ahrefs mcporter config add ahrefs https://api.ahrefs.com/mcp/mcp.
  • Genera un Token MCP in Ahrefs.
  • Aggiungi il tuo token MCP alla configurazione di mcporter. Esegui: mcporter config list. Individua il percorso del file JSON di configurazione di mcporter e aprilo. Aggiungi il tuo token MCP come Bearer token nell'header Authorization:
{
  "mcpServers": {
    "ahrefs": {
      "baseUrl": "https://api.ahrefs.com/mcp/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AHREFS_MCP_TOKEN_HERE"
      }
    }
  },
  "imports": []
}
  • Verifica la connessione. Esempio: mcporter call ahrefs.keywords-explorer-volume-history country=us keyword=seo. Se la configurazione è corretta, la richiesta dovrebbe restituire dei dati.