Skip to content

Instantly share code, notes, and snippets.

@KimGemRuby
Created March 25, 2026 16:41
Show Gist options
  • Select an option

  • Save KimGemRuby/0ec63d11244f485e02a151d7486ec837 to your computer and use it in GitHub Desktop.

Select an option

Save KimGemRuby/0ec63d11244f485e02a151d7486ec837 to your computer and use it in GitHub Desktop.
Rapport Config Melvynx BOKADOR 2026-03-25 — Context7 + Exa MCP + Hook Notification

Rapport Config Melvynx — BOKADOR 2026-03-25

Resume

3 elements manquants identifies et installes sur BOKADOR suite a la formation Melvynx "Je setup Claude Code chez un Vibe Codeur en 20 minutes".

Aucun fichier supprime. Aucun fichier ecrase. Backup effectue avant modification.


Backup

Fichier Hash SHA256 avant modif
~/.claude/settings.json 9f8f4874da180f9186afc3388efbab3bc9c4c67a18eabd419a206b0daa71a27d
Backup ~/.claude/backups/2026-03-25/settings.json.bak
Hash apres modif 06e6b8ececa2e457b4a83b3b68d85486b9640fe8b9374f7b9946a604fdcef655

Modification 1 : Hook Notification (son "need human")

Probleme : Seul le son Stop (fin de tache) existait. Pas de son quand Claude pose une question.

Solution :

  • Fichier cree : ~/.claude/hooks/play-need-human.ps1
  • Son : C:\Windows\Media\Windows Exclamation.wav
  • Hook ajoute dans settings.json > hooks > Notification

Hooks existants conserves :

  • Stop (play-sound.ps1 → notify.wav) : INCHANGE
  • PostToolUse (log edits) : INCHANGE
  • PreToolUse (command validator) : INCHANGE

Modification 2 : MCP Context7

Probleme : MCP documentation technique absent. Seuls memory et fetch etaient configures.

Solution :

  • Ajoute dans settings.json > mcpServers > context7
  • Commande : npx -y @context7/mcp-server
  • Pas de cle API requise (gratuit, connexion GitHub)
  • Env : DEFAULT_MINIMUM_TOKENS=5000

MCP existants conserves :

  • memory : INCHANGE
  • fetch : INCHANGE

Modification 3 : MCP Exa.ai

Probleme : MCP recherche web optimisee absent.

Solution :

  • Ajoute dans settings.json > mcpServers > exa
  • Commande : npx -y exa-mcp-server
  • ACTION REQUISE : Remplacer REMPLACER_PAR_TA_CLE_EXA par la vraie cle API
    1. Aller sur https://exa.ai
    2. Se connecter avec Google
    3. Generer une API key (20$ credit gratuit)
    4. Remplacer dans ~/.claude/settings.json

Etat final MCP (4 actifs)

MCP Statut Note
memory Existant, conserve MCP Knowledge Graph
fetch Existant, conserve MCP HTTP Fetch
context7 NOUVEAU Documentation technique gratuite
exa NOUVEAU Recherche web IA (cle a configurer)

Attention : Melvynx recommande max 2-3 MCP. Avec 4, surveiller /context regulierement. Si >10% contexte en MCP, envisager de retirer memory ou fetch.


Etat final Hooks (4 actifs)

Hook Declencheur Action
Stop Claude termine Son notify.wav + log session
PostToolUse Edit/Write/Replace Log modifications
PreToolUse Bash/Cmd/PowerShell Firewall commandes dangereuses
Notification Claude pose une question NOUVEAU Son Windows Exclamation.wav

Verification post-installation

A faire par l'utilisateur :

  1. claude > /mcp : verifier que Context7 et Exa apparaissent
  2. Configurer la cle Exa dans settings.json
  3. Tester : "utilise Context7 pour chercher la doc de React useState"
  4. Tester : "utilise Exa pour chercher les meilleures librairies React 2026"
  5. Verifier que le son Notification fonctionne quand Claude pose une question

Fichiers modifies

Fichier Action
~/.claude/settings.json MODIFIE (ajout Notification hook + 2 MCP)
~/.claude/hooks/play-need-human.ps1 CREE (nouveau)
~/.claude/backups/2026-03-25/settings.json.bak CREE (backup)

Fichiers NON modifies (confirme)

  • ~/.claude/settings.local.json : INCHANGE
  • ~/.claude/hooks/play-sound.ps1 : INCHANGE
  • ~/.claude/hooks/claude-firewall.js : INCHANGE
  • ~/.claude/hooks/notify-telegram.ps1 : INCHANGE
  • ~/.claude/hooks/notify-toast.ps1 : INCHANGE
  • Tous les skills, agents, rules, commands : INCHANGES

Rapport genere par Claude Code — 2026-03-25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment