Files
Momento/mcp-server/N8N-WORKFLOWS.md
sepehr bbaae76103
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 15s
docs: update all MCP documentation for 22 tools + API key auth
- Rewrite mcp-server/README.md: clean structure, auth section, 22 tools
- Rewrite N8N-CONFIG.md: remove hardcoded IPs, add x-api-key auth flow
- Rewrite N8N-WORKFLOWS.md: simplified, removed AI proxy tool references
- Update README.md/README.fr.md: 37→22 tools, add auth mention
- Update GUIDE.md/GUIDE.en.md: remove AI/API key tool tables, add auth
- Update DEPLOY.md: SSE → Streamable HTTP in architecture diagram

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-26 16:25:00 +02:00

104 lines
2.2 KiB
Markdown

# Workflows N8N pour Memento MCP
## Introduction
Exemples de workflows N8N utilisant le serveur MCP de Memento via le transport **Streamable HTTP**.
**Prerequis** : une cle API generee depuis **Parametres > MCP** dans Memento.
## Configuration du noeud MCP Client
Dans chaque workflow, le noeud MCP Client doit etre configure ainsi :
- **Server Transport** : `Streamable HTTP`
- **MCP Endpoint URL** : `http://memento-mcp:3001/mcp` (Docker) ou `http://VOTRE_IP:3001/mcp`
- **Authentication** : Header Auth avec `x-api-key` = votre cle API
## Workflows disponibles
### 1. Create Note (`n8n-workflow-create-note.json`)
Cree des notes dans Memento avec classification par IA.
```json
{
"tool": "create_note",
"arguments": {
"content": "Meeting with client next week",
"title": "Client Meeting",
"labels": ["work"],
"notebookId": "cuid123..."
}
}
```
### 2. Search & Summary (`n8n-workflow-search-summary.json`)
Recherche des notes et genere un resume.
```json
{
"tool": "search_notes",
"arguments": {
"query": "project timeline"
}
}
```
### 3. Notebook Manager (`n8n-workflow-notebook-management.json`)
CRUD complet des notebooks.
```json
{
"tool": "create_notebook",
"arguments": {
"name": "Work Projects",
"icon": "briefcase",
"color": "#3B82F6"
}
}
```
### 4. Reminder Notifications (`n8n-workflow-reminder-notifications.json`)
Automatisation des rappels avec notifications.
- Declencheur : Schedule (cron: `0 */30 * * * *`)
- Appelle `get_due_reminders` et envoie les notifications
### 5. Label Manager (`n8n-workflow-label-management.json`)
Gestion des labels.
```json
{
"tool": "create_label",
"arguments": {
"name": "urgent",
"color": "red",
"notebookId": "cuid123..."
}
}
```
### 6. Email to Note (`n8n-workflow-email-integration.json`)
Conversion automatique d'emails en notes.
- Declencheur : Email Trigger (IMAP)
- Cree une note avec le contenu de l'email
## Importation
1. Ouvrir N8N
2. **Import from File** -> selectionner le fichier JSON
3. Configurer le noeud MCP Client (URL + cle API)
4. Activer le workflow
## Securite
- Toujours utiliser une cle API dediee par workflow
- Ne jamais exposer la cle dans les logs
- Restreindre l'acces reseau au port 3001 si possible