Skip to main content
Glama

DuckDuckGo MCP Server

Dockerfile868 B
# DuckDuckGo MCP Server Docker Container FROM python:3.11-slim # Set working directory WORKDIR /app # Set environment variables ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 \ PIP_NO_CACHE_DIR=1 \ PIP_DISABLE_PIP_VERSION_CHECK=1 # Install system dependencies RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Copy requirements first for better caching COPY pyproject.toml ./ # Install Python dependencies manually instead of editable install RUN pip install --upgrade pip \ && pip install --no-cache-dir "beautifulsoup4>=4.13.3" "httpx>=0.28.1" "mcp[cli]>=1.3.0" # Copy application code COPY src/ ./src/ # Create non-root user for security RUN useradd --create-home --shell /bin/bash app \ && chown -R app:app /app USER app # Run the MCP server ENTRYPOINT ["python", "-m", "duckduckgo_mcp_server.server"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/988664li-star/duckduckgo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server