Skip to main content
Glama

Obtención de MCP

insignia de herrería

Servidor de Protocolo de Contexto de Modelo para obtener contenido web y procesar imágenes. Esto permite a Claude Desktop (o a cualquier cliente MCP) obtener contenido web y gestionar imágenes correctamente.

Inicio rápido (para usuarios)

Para utilizar esta herramienta con Claude Desktop, simplemente agregue lo siguiente a su configuración de Claude Desktop ( ~/Library/Application Support/Claude/claude_desktop_config.json ):

{
  "tools": {
    "fetch": {
      "command": "npx",
      "args": ["-y", "@kazuph/mcp-fetch"]
    }
  }
}

Esto descargará y ejecutará automáticamente la última versión de la herramienta cuando sea necesario.

Configuración requerida

  1. Habilitar accesibilidad para Claude:

    • Abrir configuración del sistema

    • Vaya a Privacidad y seguridad > Accesibilidad

    • Haga clic en el botón "+"

    • Añade a Claude desde tu carpeta de Aplicaciones

    • Encienda el interruptor para Claude

Esta configuración de accesibilidad es necesaria para que las operaciones automatizadas del portapapeles (Cmd+V) funcionen correctamente.

Related MCP server: @kazuph/mcp-fetch

Para desarrolladores

Las siguientes secciones son para aquellos que quieran desarrollar o modificar la herramienta.

Prerrequisitos

  • Node.js 18+

  • macOS (para operaciones del portapapeles)

  • Claude Desktop (instalación desde https://claude.ai/desktop )

  • tsx (instalación mediante npm install -g tsx )

Instalación

Instalación mediante herrería

Para instalar MCP Fetch para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @kazuph/mcp-fetch --client claude

Instalación manual

git clone https://github.com/kazuph/mcp-fetch.git
cd mcp-fetch
npm install
npm run build

Especificaciones de procesamiento de imágenes

Al procesar imágenes de contenido web, se aplican los siguientes límites:

  • Máximo 6 imágenes por grupo

  • Altura máxima de 8000 píxeles por grupo

  • Tamaño máximo de 30 MB por grupo

Si el contenido excede estos límites, las imágenes se dividirán automáticamente en varios grupos y tendrás que pegarlas (Cmd+V) varias veces.

Configuración

  1. Asegúrese de que Claude Desktop esté instalado y funcionando.

  2. Instale tsx globalmente si aún no lo ha hecho:

npm install -g tsx
# or
pnpm add -g tsx
  1. Modifique la configuración de Claude Desktop ubicada en: ~/Library/Application Support/Claude/claude_desktop_config.json

Puedes encontrarlo fácilmente a través del menú de Claude Desktop:

  1. Abra Claude Desktop

  2. Haga clic en Claude en la barra de menú de Mac

  3. Haga clic en "Configuración"

  4. Haga clic en "Desarrollador"

Agregue lo siguiente a la configuración de su cliente MCP:

{
  "tools": {
    "fetch": {
      "args": ["tsx", "/path/to/mcp-fetch/index.ts"]
    }
  }
}

Herramientas disponibles

  • fetch : recupera URLs de internet y extrae su contenido como Markdown. Las imágenes se procesan y preparan automáticamente para las operaciones del portapapeles.

Notas

  • Esta herramienta está diseñada solo para macOS debido a su dependencia de las operaciones del portapapeles específicas de macOS.

  • Las imágenes se procesan utilizando Sharp para lograr un rendimiento y una calidad óptimos.

  • Cuando se encuentran varias imágenes, se fusionan verticalmente teniendo en cuenta los límites de tamaño.

  • Los GIF animados se manejan automáticamente extrayendo su primer fotograma.

Available Tools

1 tool
fetchA

Retrieves URLs from the Internet and extracts their content as markdown. If images are found, they are merged vertically (max 6 images per group, max height 8000px, max size 30MB per group) and copied to the clipboard of the user's host machine. You will need to paste (Cmd+V) to insert the images.

Inputs: url (required), maxLength, startIndex, raw.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to compare it to. The single tool 'fetch' has a clear and distinct purpose that cannot be confused with any other tool in this set.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tool names to compare it against. The name 'fetch' follows a simple verb pattern, which is appropriate for its function, and there is no inconsistency in naming conventions.

    Tool Count2/5

    A single tool is generally too few for most server purposes, as it limits functionality and may indicate an incomplete or overly narrow scope. For a server named 'MCP Fetch', which suggests fetching-related operations, having only one tool feels thin and insufficient for covering potential variations or related tasks in the domain.

    Completeness2/5

    The server's domain appears to be fetching and processing web content, but with only one tool, there are significant gaps in coverage. For example, there are no tools for handling different fetch methods, error handling, caching, or other related operations, which could lead to agent failures when more complex fetching scenarios arise.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers