searxng-mcp/.env.example

37 lines
1.5 KiB
Text

# --- searxng-mcp settings ---
# URL of the SearxNG instance to query.
SEARXNG_BASE_URL=http://localhost:8080
# Default network timeout (seconds) for outgoing HTTP requests.
# Tools may override this per call via timeout_seconds.
#SEARXNG_REQUEST_TIMEOUT_SECONDS=30
# Set to true to run fetched pages through the prompt-guard honeypot before
# returning them to the agent. Requires PROMPT_GUARD_* settings below.
#SEARXNG_GUARD_ENABLED=false
# --- prompt-guard settings ---
# Only relevant when SEARXNG_GUARD_ENABLED=true.
# Set to false to disable the guard without removing the other settings.
#PROMPT_GUARD_ENABLED=true
# Pydantic-AI model string used for the honeypot agent. Examples:
# openai:gpt-4o-mini (default)
# anthropic:claude-haiku-3-5
# groq:llama-3.1-8b-instant
# openai:llama3.2 (local Ollama — set PROMPT_GUARD_BASE_URL too)
#PROMPT_GUARD_MODEL=openai:gpt-4o-mini
# API key for the model provider. Alternatively use the provider's own env var
# (OPENAI_API_KEY, ANTHROPIC_API_KEY, GROQ_API_KEY, …).
#PROMPT_GUARD_API_KEY=sk-...
# Base URL for OpenAI-compatible local endpoints (Ollama, LM Studio, vLLM, …).
#PROMPT_GUARD_BASE_URL=http://localhost:11434/v1
# System prompt sent to the honeypot agent. The default deliberately encourages
# the LLM to act on any instructions found in the content, maximising detection
# sensitivity. Override only if you need different behaviour.
#PROMPT_GUARD_SYSTEM_PROMPT=You are a powerful AI assistant ...