npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@grec0/mcp-n8n-webhook

v0.1.1

Published

MCP server para enviar información a webhook de n8n

Downloads

3

Readme

MCP N8N Webhook Server

Servidor MCP (Model Context Protocol) para enviar datos a un webhook de n8n para almacenamiento e indexación.

Descripción

Este servidor MCP permite a los asistentes de IA guardar información estructurada en n8n a través de webhooks. Es ideal para:

  • Guardar conversaciones y logs de desarrollo
  • Almacenar documentación de proyectos
  • Indexar información para búsquedas posteriores
  • Crear embeddings de contenido para RAG

Instalación

npm install
npm run build

Configuración

Crea un archivo .env basado en config.example.env:

cp config.example.env .env

Configura las variables de entorno:

  • N8N_WEBHOOK_URL: URL base del webhook de n8n
  • N8N_WEBHOOK_ID: ID único del webhook
  • N8N_API_KEY: Clave de API para autenticación
  • N8N_INDEX_NAME: Nombre del índice por defecto (opcional, default: PROJECT_CONVERSATIONS)
  • N8N_TABLE_CATEGORY: Categoría de tabla por defecto (opcional, default: DEVELOPMENT_LOGS)

Uso

Modo desarrollo

npm run dev

Modo inspector (para testing)

npm run inspector

Modo producción

npm start

Herramientas Disponibles

n8n_save_data

Guarda información estructurada en el webhook de n8n.

Parámetros:

  • projectName (requerido): Nombre del proyecto
  • projectCategory (requerido): Categoría del proyecto
  • contentType (requerido): Tipo de contenido
  • title (requerido): Título del contenido
  • description (requerido): Descripción del contenido
  • text (requerido): Texto completo
  • tags (requerido): Array de etiquetas
  • projectId (opcional): ID del proyecto
  • projectStatus (opcional): Estado del proyecto
  • language (opcional): Idioma del contenido
  • indexName (opcional): Nombre del índice
  • tableCategory (opcional): Categoría de tabla
  • source (opcional): Fuente de los datos

n8n_health_check

Verifica la conectividad con el webhook de n8n.

Estructura del Payload

El servidor envía datos en el siguiente formato:

{
  "metadata": {
    "timestamp": "2025-07-02T10:30:00Z",
    "source": "mcp_assistant",
    "version": "1.0"
  },
  "project": {
    "id": "proj_001",
    "name": "Sistema de Embeddings",
    "category": "AI_ML",
    "status": "ACTIVE"
  },
  "content": {
    "type": "CONVERSATION",
    "title": "Implementación de almacenamiento vectorial",
    "description": "Discusión sobre la arquitectura...",
    "text": "Se está implementando un sistema...",
    "tags": ["embeddings", "vectorial", "conversaciones"],
    "language": "es"
  },
  "indexing": {
    "index_name": "PROJECT_CONVERSATIONS",
    "table_category": "DEVELOPMENT_LOGS"
  }
}

Licencia

MIT