@imenam/mcp-github 1.1.57 → 1.1.59
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.
- package/README.md +3 -5
- package/package.json +49 -46
package/README.md
CHANGED
|
@@ -267,13 +267,11 @@ cp .env.example .env
|
|
|
267
267
|
npm run build
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
-
##
|
|
270
|
+
## Publication
|
|
271
271
|
|
|
272
|
-
|
|
272
|
+
Chaque push sur `main`, merge de pull request compris, publie une nouvelle version de `@imenam/mcp-github` sur npm (`.github/workflows/publish.yml`) : `npm ci`, build et tests, puis `npm version patch`, dont le commit et le tag sont poussés sur `main`, et `npm publish`. La publication passe par le trusted publishing de npm (OIDC, sans token), avec attestation de provenance. Un échec du build ou des tests arrête le workflow avant la montée de version.
|
|
273
273
|
|
|
274
|
-
|
|
275
|
-
2. Poussez sur GitHub et créez une Release.
|
|
276
|
-
3. Le workflow OIDC publie automatiquement sur npm.
|
|
274
|
+
Sur npmjs.com, le paquet déclare ce workflow comme publieur de confiance (Settings → Trusted publishing → GitHub Actions : `Matthieu-Pesnot-Pin`, `restricted-github-mcp`, `publish.yml`, avec `npm publish` dans les actions autorisées). Le commit de version est poussé avec `GITHUB_TOKEN` : si `main` est protégée, la règle doit autoriser GitHub Actions à y pousser.
|
|
277
275
|
|
|
278
276
|
## 📄 Licence
|
|
279
277
|
|
package/package.json
CHANGED
|
@@ -1,46 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@imenam/mcp-github",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist",
|
|
8
|
-
"public",
|
|
9
|
-
"README.md",
|
|
10
|
-
"LICENSE"
|
|
11
|
-
],
|
|
12
|
-
"bin": "dist/index.js",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"start": "tsx src/index.ts",
|
|
15
|
-
"dev": "tsx src/index.ts",
|
|
16
|
-
"build": "tsc",
|
|
17
|
-
"test": "vitest run",
|
|
18
|
-
"test:watch": "vitest",
|
|
19
|
-
"test:coverage": "vitest run --coverage",
|
|
20
|
-
"inspect": "mcp-inspector npx tsx src/index.ts",
|
|
21
|
-
"inspect:dev": "mcp-inspector --config mcp-config.json",
|
|
22
|
-
"inspect:no-auth": "mcp-inspector -e DANGEROUSLY_OMIT_AUTH=true --config mcp-config.json"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"@
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"@
|
|
39
|
-
"@types/
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@imenam/mcp-github",
|
|
3
|
+
"version": "1.1.59",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"public",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
12
|
+
"bin": "dist/index.js",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "tsx src/index.ts",
|
|
15
|
+
"dev": "tsx src/index.ts",
|
|
16
|
+
"build": "tsc",
|
|
17
|
+
"test": "vitest run",
|
|
18
|
+
"test:watch": "vitest",
|
|
19
|
+
"test:coverage": "vitest run --coverage",
|
|
20
|
+
"inspect": "mcp-inspector npx tsx src/index.ts",
|
|
21
|
+
"inspect:dev": "mcp-inspector --config mcp-config.json",
|
|
22
|
+
"inspect:no-auth": "mcp-inspector -e DANGEROUSLY_OMIT_AUTH=true --config mcp-config.json"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [],
|
|
25
|
+
"author": "",
|
|
26
|
+
"license": "ISC",
|
|
27
|
+
"description": "Un serveur MCP GitHub contrôlé et sécurisé pour les agents IA.",
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@imenam/mcp-gui-interface": "^1.0.14",
|
|
30
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
31
|
+
"dotenv": "^17.2.3",
|
|
32
|
+
"express": "^5.2.1",
|
|
33
|
+
"node-ssh": "^13.2.1",
|
|
34
|
+
"octokit": "^5.0.5"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@modelcontextprotocol/inspector": "^2.12.0",
|
|
38
|
+
"@types/express": "^5.0.6",
|
|
39
|
+
"@types/node": "^25.0.10",
|
|
40
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
41
|
+
"tsx": "^4.21.0",
|
|
42
|
+
"typescript": "^5.9.3",
|
|
43
|
+
"vitest": "^4.1.12"
|
|
44
|
+
},
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/Matthieu-Pesnot-Pin/restricted-github-mcp.git"
|
|
48
|
+
}
|
|
49
|
+
}
|