refactor(infra): MCP n8n natif, retrait du conteneur dédié (v0.15.0)

n8n ≥ 2.18.4 sert son propre MCP : suppression du service mcp-n8n,
MCP_N8N_URL pointe vers l'endpoint natif de l'instance (auth MCP Access
Token Bearer). Portainer reste un sidecar officiel. Aucun changement de
code (registry HTTP+Bearer inchangé). Docs + .env alignés, compose
revalidé.

Palier de risque : n/a (infra + config).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kantin-Petit
2026-06-23 01:40:49 +02:00
parent 52980837a9
commit ceddb86198
6 changed files with 29 additions and 26 deletions
+6 -5
View File
@@ -9,11 +9,12 @@ OLLAMA_BASE_URL=http://ollama:11434
OLLAMA_API_KEY= # SECRET — clé API Ollama cloud
OLLAMA_MODEL=qwen3:cloud # modèle cloud (suffixe :cloud), tool-calling
# ── MCP n8n (czlonkowski/n8n-mcp) ──────────────────────────────────────
N8N_API_URL=http://n8n:5678 # interne uniquement
N8N_API_KEY= # SECRET — token n8n à portée RESTREINTE
MCP_N8N_URL=http://mcp-n8n:3000 # endpoint du serveur MCP n8n (interne)
MCP_N8N_AUTH_TOKEN= # SECRET — auth du serveur MCP n8n
# ── MCP n8n : NATIF (instance n8n ≥ 2.18.4) ────────────────────────────
# Pas de conteneur dédié : n8n sert son propre MCP. Activer côté instance
# (env d'instance + activation par workflow), puis copier l'URL + le token
# depuis n8n → Connection details. URL = endpoint MCP de l'instance (interne).
MCP_N8N_URL=http://n8n:5678/mcp # à confirmer dans Connection details de n8n
MCP_N8N_AUTH_TOKEN= # SECRET — "MCP Access Token" n8n (Bearer)
# ── MCP Portainer (portainer/portainer-mcp) ────────────────────────────
PORTAINER_URL=https://portainer:9443 # interne uniquement