MCP NPX Fetch

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides a tool for fetching web content and converting it to well-formatted Markdown, making it easier to work with web content in Markdown-compatible systems.

  • Built with TypeScript, offering full type definitions and type safety for developers working with the MCP server.

  • Leverages Zod for runtime type validation, ensuring reliable data handling when fetching and transforming web content.

Obtención de NPX de MCP

Un potente servidor MCP para obtener y transformar contenido web en varios formatos (HTML, JSON, Markdown, texto sin formato) con facilidad.

InstalaciónCaracterísticasUsoDocumentaciónContribución


🚀 Características

  • 🌐 Obtención de contenido universal : admite formatos HTML, JSON, texto sin formato y Markdown
  • 🔒 Soporte para encabezados personalizados : agregue autenticación y encabezados personalizados a sus solicitudes
  • 🛠 Transformaciones integradas : Conversión automática entre formatos
  • Alto rendimiento : creado con funciones modernas de JavaScript y optimizado para la velocidad
  • 🔌 Compatible con MCP : se integra perfectamente con Claude Desktop y otros clientes MCP
  • 🎯 Type-Safe : escrito en TypeScript con definiciones de tipos completas

📦 Instalación

Instalación global de NPM

npm install -g @tokenizin/mcp-npx-fetch

Uso directo con NPX

npx @tokenizin/mcp-npx-fetch

📚 Documentación

Herramientas disponibles

fetch_html

Obtiene y devuelve contenido HTML sin procesar desde cualquier URL.

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }

fetch_json

Obtiene y analiza datos JSON de cualquier URL.

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }

fetch_txt

Obtiene y devuelve contenido de texto simple limpio, eliminando etiquetas HTML y scripts.

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }

fetch_markdown

Obtiene contenido y lo convierte a Markdown bien formateado.

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }

🔧 Uso

Uso de la CLI

Inicie el servidor MCP directamente:

mcp-npx-fetch

O vía npx:

npx @tokenizin/mcp-npx-fetch

Integración de escritorio de Claude

  1. Localice el archivo de configuración de Claude Desktop:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Ventanas: %APPDATA%/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Agregue la siguiente configuración a su objeto mcpServers :
{ "mcpServers": { "fetch": { "command": "npx", "args": ["-y", "@tokenizin/mcp-npx-fetch"], "env": {} } } }

💻 Desarrollo local

  1. Clonar el repositorio:
git clone https://github.com/tokenizin-agency/mcp-npx-fetch.git cd mcp-npx-fetch
  1. Instalar dependencias:
npm install
  1. Iniciar modo de desarrollo:
npm run dev
  1. Ejecutar pruebas:
npm test

Pila técnica

🤝 Contribuyendo

¡Agradecemos sus contribuciones! No dude en enviar una solicitud de incorporación de cambios. Para cambios importantes, primero abra una incidencia para comentar qué desea cambiar.

  1. Bifurcar el repositorio
  2. Crea tu rama de funciones ( git checkout -b feature/AmazingFeature )
  3. Confirme sus cambios ( git commit -m 'Add some AmazingFeature' )
  4. Empujar a la rama ( git push origin feature/AmazingFeature )
  5. Abrir una solicitud de extracción

📄 Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.


You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Un potente servidor MCP para obtener y transformar contenido web en varios formatos (HTML, JSON, Markdown, texto sin formato) con facilidad.

  1. 🚀 Features
    1. 📦 Installation
      1. NPM Global Installation
      2. Direct Usage with NPX
    2. 📚 Documentation
      1. Available Tools
    3. 🔧 Usage
      1. CLI Usage
      2. Claude Desktop Integration
    4. 💻 Local Development
      1. 🛠 Technical Stack
        1. 🤝 Contributing
          1. 📄 License
            ID: m2a0ue08n2