From d4396fcbe8d2622cfcc42d44fdb14d293d00397c Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Fri, 6 Nov 2026 11:31:27 +0100 Subject: [PATCH] chore: move MCP config to global Codex setup --- .mcp.json | 25 ------------------------ skills/mcp-global-configuration/SKILL.md | 17 ++++++++++++++++ todo.md | 2 ++ 3 files changed, 19 insertions(+), 25 deletions(-) delete mode 100644 .mcp.json create mode 100644 skills/mcp-global-configuration/SKILL.md diff --git a/.mcp.json b/.mcp.json deleted file mode 100644 index 24ad45b..0000000 --- a/.mcp.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "mcpServers": { - "sonarqube": { - "command": "docker", - "args": ["run", "-i", "--rm", "-e", "SONARQUBE_TOKEN", "-e", "SONARQUBE_URL", "sonarsource/sonarqube-mcp"], - "env": { - "SONARQUBE_TOKEN": "sqa_8442a86777f3d24d63f73ad041b4fb69fe85c54e", - "SONARQUBE_URL": "https://sonar.tordais.cc/" - } - }, - "penpot": { - "url": "https://penpot.tordais.cc/mcp/stream?userToken=eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2R0NNIn0.kdA95aeTHNljc911GzuOHVkU1oEDBbfENHNibyF6jOs6bYq5YcdnVA.bsxKnJNJMAUUWmnK.Ck2N8xikQG14-cM9nP1u63SiJxtYShtu2_5sKfeBt6-Ii7FGZ25C0M0_sCkaY5xmxL_EUdjGZuWYWjSwcCdkepJk8PjzL4bjxbn2UpCiI3UzHRHEcF245ZSFUFAcePN9U1lvZZbykvoefdraWf0Pm7DF0cBOKu1L3G_SB_-kzC1EnQkaeQRIc9aXdvulcQ6dPzP2hxTmJOHJ-6dAOyYZ-qc.BxwXbtkJUeDX6kbsCwiNSA" - }, - "glitchtip": { - "url": "https://glitchtip.tordais.cc/mcp", - "headers": { - "Authorization": "Bearer b96df317626cbf9f3532db41f4cb1cff54f01ff790e31cc2df1ccd6f2a479fa1" - } - }, - "sequential-thinking": { - "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"] - } - } -} \ No newline at end of file diff --git a/skills/mcp-global-configuration/SKILL.md b/skills/mcp-global-configuration/SKILL.md new file mode 100644 index 0000000..075733b --- /dev/null +++ b/skills/mcp-global-configuration/SKILL.md @@ -0,0 +1,17 @@ +--- +name: mcp-global-configuration +description: Keep Heimdall developer MCP integrations available across projects without storing machine credentials in the repository. +--- + +# Heimdall developer MCP configuration + +MCP integrations used while maintaining Heimdall belong in the developer's global Codex configuration, not in a repository `.mcp.json`. This keeps each project checkout free of personal service tokens and makes the integrations available in other projects. + +## Configuration workflow + +1. Before changing MCP setup, read this skill and `todo.md`. +2. Configure the intended servers in `~/.codex/config.toml`. Keep authentication values in user-level configuration or environment variables; never copy them into tracked files, examples, logs, or acceptance output. +3. Remove any repository `.mcp.json` that duplicates global server configuration and contains credentials. +4. Validate that the global TOML parses and run `codex mcp list`. Check that each expected server appears once and is enabled. +5. For a server needed by the task, make a harmless read-only request (for example, list accessible GlitchTip organizations) to confirm authentication. Do not claim remote access from config presence alone. +6. Update the corresponding `todo.md` note with the local verification and any limits. Do not add an application Compose acceptance recipe for a developer-only MCP configuration change. diff --git a/todo.md b/todo.md index 32d2557..71de685 100644 --- a/todo.md +++ b/todo.md @@ -74,6 +74,8 @@ Ce fichier remplace les rapports de `docs/audits/` et constitue le suivi courant ## Corrections déjà livrées à préserver +- [x] **Configuration MCP développeur** Les serveurs SonarQube, Penpot, GlitchTip et Sequential Thinking sont configurés dans le `config.toml` Codex global de la machine; le `.mcp.json` local contenant leurs paramètres et secrets a été supprimé du dépôt. Vérification locale : `codex mcp list` reconnaît les quatre serveurs et l’appel GlitchTip `list_organizations` retourne l’organisation autorisée. Les secrets restent propres à cette machine et ne sont pas inclus dans le dépôt. Procédure : `skills/mcp-global-configuration/SKILL.md`. + Les audits d'origine considéraient corrigés SEC-01–08/10, PIPE-03–08/10–11, FEAT-04/05, OPS-01/03/04/06, UI-01/03/04 et DOC-01 dans leur périmètre. Les corrections Agent AGENT-01–05/07 et les fondations de PIPE-09, AGENT-06/08/09/10 sont intégrées, avec les validations résiduelles ci-dessus. Une régression sur ces garanties doit rouvrir un item explicite. ## Preuves et limites