Three local MCP servers for coding agents, designed for Claude Code and OpenCode: - context-web-search: SearXNG-backed web search and URL fetch - context-docs: semantic search over curated llms.txt docs - context-repomix: pack local or remote repos into AI context Defaults are local-first: SearXNG binds to 127.0.0.1, no hosted API keys are required, and Repomix mounts only the current project read-only.
22 lines
509 B
Docker
22 lines
509 B
Docker
FROM node:22-bookworm-slim
|
|
|
|
ARG MCP_WEB_SEARCH_VERSION=1.3.0
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
chromium \
|
|
fonts-liberation \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN npm install -g "@zhafron/mcp-web-search@${MCP_WEB_SEARCH_VERSION}" \
|
|
&& npm cache clean --force
|
|
|
|
ENV CHROME_PATH=/usr/bin/chromium \
|
|
DEFAULT_SEARCH_PROVIDER=searxng \
|
|
HTTP_TIMEOUT=15000 \
|
|
MAX_RESULTS=10 \
|
|
SEARXNG_URL=http://searxng:8080
|
|
|
|
ENTRYPOINT ["mcp-web-search"]
|