searxng-mcp
Verified Safeby Knuckles-Team
Overview
Provides a Model Context Protocol (MCP) server and an Agent2Agent (A2A) agent for performing privacy-respecting web searches using SearXNG.
Installation
docker run -d --name searxng-mcp -p 8004:8004 -e HOST=0.0.0.0 -e PORT=8004 -e TRANSPORT=http -e AUTH_TYPE=none -e EUNOMIA_TYPE=none -e SEARXNG_URL=https://searxng.example.com -e SEARXNG_USERNAME=user -e SEARXNG_PASSWORD=pass -e USE_RANDOM_INSTANCE=false knucklessg1/searxng-mcp:latestEnvironment Variables
- SEARXNG_INSTANCE_URL
- HOST
- PORT
- TRANSPORT
- SEARXNG_USERNAME
- SEARXNG_PASSWORD
- USE_RANDOM_INSTANCE
- AUTH_TYPE
- EUNOMIA_TYPE
- OIDC_CONFIG_URL
- OIDC_CLIENT_ID
- OIDC_CLIENT_SECRET
Security Notes
The server uses environment variables for sensitive configurations like API keys and credentials, which is good practice. It leverages `yaml.safe_load` to prevent arbitrary code execution from external YAML files. Authentication mechanisms (JWT, OAuth, OIDC) are provided via the `fastmcp` library, which implies robust security handling. A minor concern is the programmatic setting of `os.environ` for LLM API keys in `searxng_agent.py`, though default values point to local LLM instances (like Ollama) reducing immediate external exposure risk. External instance lists are fetched from GitHub, which is an external dependency but reasonable for its functionality.
Similar Servers
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.
mcp-server
A Model Context Protocol (MCP) server that integrates with SerpApi to provide comprehensive search engine results and data extraction to an LLM.
End-to-End-Agentic-Ai-Automation-Lab
This MCP Server provides an API gateway for an AutoGen multi-agent system to interact with Notion via the Model Context Protocol (MCP), enabling AI-driven automation of Notion tasks and public exposure through ngrok.