Skip to main content
Glama

xngmcp

xngmcp ofrece a los clientes MCP y a la terminal dos herramientas web locales: web_search mediante SearXNG y web_fetch para páginas públicas legibles.

Instalación

Requiere Rust 1.85 o más reciente. Docker con el plugin Compose es necesario para el backend SearXNG incluido.

Desde una copia del código fuente, instala xngmcp e inicia el backend:

cargo install --path .

./infra/searxng/bootstrap.sh
docker compose --env-file infra/searxng/.env \
  -f infra/searxng/compose.yaml up -d --wait

El backend escucha en http://127.0.0.1:8080. Confirma que este y la CLI funcionan:

curl --fail --silent --show-error http://127.0.0.1:8080/healthz >/dev/null
xngmcp search --limit 5 'Rust MCP SDK'

Consulta la guía de SearXNG para la configuración, las operaciones, y su prueba de integración. Consulta la integración de shell para instalar las páginas man y los completados de shell generados.

Related MCP server: web-basics-mcp

Pi

Instala y configura el paquete Pi con su guía de configuración. Configura pi-mcp-adapter para ejecutar xngmcp serve y expone web_search y web_fetch como herramientas Pi directas.

Uso

# Search the web
xngmcp search 'Rust MCP SDK'
xngmcp search --json --limit 5 'Rust MCP SDK'

# Fetch readable text or Markdown from a public URL
xngmcp fetch --format text https://doc.rust-lang.org/book/

# Run the stdio MCP server
xngmcp serve

Configura un cliente MCP para que inicie xngmcp serve con SEARXNG_URL=http://127.0.0.1:8080. El servidor expone web_search y web_fetch. Usa --searxng-url o SEARXNG_URL para seleccionar otro endpoint.

search --json y fetch --json escriben un único valor JSON a stdout. Los errores y los diagnósticos van a stderr. Ejecuta xngmcp --help para ver todos los comandos y opciones.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      MCP server that exposes web_search and web_fetch tools, allowing LLM applications to search the web via DuckDuckGo and fetch page content as cleaned markdown.
      1
      -
    • A
      license
      A
      quality
      B
      maintenance
      A self-hosted MCP server providing web search and URL fetching tools, running locally without external API keys or accounts.
      2
      411 npm
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      MCP server that provides a search_web tool to query a self-hosted SearXNG instance and return structured web search results.
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides web search scraping from DuckDuckGo (with Mojeek fallback) and URL content fetching as markdown/text or raw HTML.
      1
      ISC