mcp-searxng

mcp-searxng

运行环境

  • 安装uv
# 安装uv
# 如果无法安装可本地下载install.sh安装
curl -LsSf https://astral.sh/uv/install.sh | sh

# 下载源码
git clone https://github.com/erhwenkuo/mcp-searxng.git
cd mcp-searxng
uv sync

运行服务

docker运行

mcp-searxng/searxng-docker/
├── docker-compose.yaml
└── searxng
    ├── settings.yml
    └── uwsgi.ini

启动MCP-SEARXNG服务

  • docker构建
docker build -t mcp-searxng .

docker run -d -e SEARXNG_URL="http://localhost:8888" -p 5488:5488 mcp-searxng
  • docker-compose构建,需要自带Dockerfile
version: '3'

services:
  mcp-searxng:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "5488:5488"
    environment:
      - SEARXNG_URL=http://localhost:8888
    restart: unless-stopped

dify配置