restricted-github-mcp 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +46 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,6 +34,52 @@ Le serveur se configure exclusivement via des variables d'environnement. Ces var
34
34
  | `BASE_BRANCH` | (Optionnel) La branche de destination pour la PR | `main` (défaut) |
35
35
  | `READ_ONLY` | (Optionnel) Désactive les actions d'écriture | `false` (défaut) |
36
36
 
37
+ ## 🖥️ Exemple de Configuration MCP
38
+
39
+ Copiez-collez cette configuration dans votre client MCP (ex: `claude_desktop_config.json` ou paramètres Cursor) :
40
+
41
+ ### Via npx (Recommandé)
42
+ ```json
43
+ {
44
+ "mcpServers": {
45
+ "restricted-github-mcp": {
46
+ "command": "npx",
47
+ "args": [
48
+ "-y",
49
+ "restricted-github-mcp"
50
+ ],
51
+ "env": {
52
+ "GITHUB_TOKEN": "votre_token_github_ici",
53
+ "TARGET_REPO": "propriétaire/nom-du-repo",
54
+ "TARGET_BRANCH": "votre-branche-de-travail",
55
+ "BASE_BRANCH": "main"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ ```
61
+
62
+ ### Via installation locale
63
+ Si vous avez cloné le dépôt et exécuté `npm run build` :
64
+ ```json
65
+ {
66
+ "mcpServers": {
67
+ "restricted-github-mcp": {
68
+ "command": "node",
69
+ "args": [
70
+ "C:/chemin/vers/votre/projet/dist/index.js"
71
+ ],
72
+ "env": {
73
+ "GITHUB_TOKEN": "votre_token_github_ici",
74
+ "TARGET_REPO": "propriétaire/nom-du-repo",
75
+ "TARGET_BRANCH": "votre-branche-de-travail",
76
+ "BASE_BRANCH": "main"
77
+ }
78
+ }
79
+ }
80
+ }
81
+ ```
82
+
37
83
  ## 📦 Publication Automatisée
38
84
 
39
85
  Ce projet est configuré pour être publié sur npm via **GitHub Actions** à chaque nouvelle "Release" sur le dépôt GitHub.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "restricted-github-mcp",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "files": [