@zereight/mcp-gitlab 2.1.57 → 2.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.ko.md CHANGED
@@ -96,9 +96,21 @@ npm으로 설치할 수도 있습니다:
96
96
  npm install -g @zereight/mcp-gitlab
97
97
  ```
98
98
 
99
+ 또는 Nix를 사용해 이 플레이크를 자신의 플레이크에 추가할 수 있습니다:
100
+
101
+ ```nix
102
+ # flake.nix
103
+ inputs.gitlab-mcp.url = "github:zereight/gitlab-mcp";
104
+
105
+ # wherever you configure your MCP client:
106
+ command = lib.getExe inputs.gitlab-mcp.packages.${system}.default;
107
+ ```
108
+
109
+ 스토어 경로는 lock 파일에 고정되며, `nix flake update gitlab-mcp`로 업데이트합니다.
110
+
99
111
  예시는 기존 `mcp-gitlab`보다 충돌 가능성이 낮은 `zereight-mcp-gitlab` 별칭을 사용합니다. MCP 클라이언트가 찾지 못하면 `which zereight-mcp-gitlab`의 절대 경로를 사용하세요.
100
112
 
101
- 전역 설치를 쓰지 않으려면 `npx -y @zereight/mcp-gitlab@2.1.56`처럼 직전 안정 버전(문서가 권장하는 버전)으로 고정하세요. 항상 최신 버전을 원하면 `npx -y @zereight/mcp-gitlab@latest`를 사용하세요. 새 버전이 나오면 서버가 시작 시 stderr로 알려줍니다(`GITLAB_DISABLE_VERSION_CHECK=true`로 비활성화 가능).
113
+ 전역 설치를 쓰지 않으려면 `npx -y @zereight/mcp-gitlab@2.1.58`처럼 직전 안정 버전(문서가 권장하는 버전)으로 고정하세요. 항상 최신 버전을 원하면 `npx -y @zereight/mcp-gitlab@latest`를 사용하세요. 새 버전이 나오면 서버가 시작 시 stderr로 알려줍니다(`GITLAB_DISABLE_VERSION_CHECK=true`로 비활성화 가능).
102
114
 
103
115
  #### CLI 인자 사용하기(환경 변수 문제가 있는 클라이언트용)
104
116
 
package/README.md CHANGED
@@ -101,9 +101,21 @@ Or with npm:
101
101
  npm install -g @zereight/mcp-gitlab
102
102
  ```
103
103
 
104
+ Or with Nix, by adding this flake to your own:
105
+
106
+ ```nix
107
+ # flake.nix
108
+ inputs.gitlab-mcp.url = "github:zereight/gitlab-mcp";
109
+
110
+ # wherever you configure your MCP client:
111
+ command = lib.getExe inputs.gitlab-mcp.packages.${system}.default;
112
+ ```
113
+
114
+ The store path is pinned by your lock file; update it with `nix flake update gitlab-mcp`.
115
+
104
116
  The examples use `zereight-mcp-gitlab`, a less collision-prone alias for the legacy `mcp-gitlab` binary. If your MCP client cannot find it, use the absolute path from `which zereight-mcp-gitlab`.
105
117
 
106
- No global install? Pin `npx` to the previous stable release (the version these docs recommend), for example `npx -y @zereight/mcp-gitlab@2.1.56`. If you always want the newest release, use `npx -y @zereight/mcp-gitlab@latest` instead. The server prints a notice to stderr on startup when a newer version is available (disable with `GITLAB_DISABLE_VERSION_CHECK=true`).
118
+ No global install? Pin `npx` to the previous stable release (the version these docs recommend), for example `npx -y @zereight/mcp-gitlab@2.1.58`. If you always want the newest release, use `npx -y @zereight/mcp-gitlab@latest` instead. The server prints a notice to stderr on startup when a newer version is available (disable with `GITLAB_DISABLE_VERSION_CHECK=true`).
107
119
 
108
120
  #### Using CLI Arguments (for clients with env var issues)
109
121
 
package/README.zh-CN.md CHANGED
@@ -96,9 +96,21 @@ brew install zereight/gitlab-mcp/zereight-mcp-gitlab
96
96
  npm install -g @zereight/mcp-gitlab
97
97
  ```
98
98
 
99
+ 也可以使用 Nix,把此 flake 添加到你自己的 flake 中:
100
+
101
+ ```nix
102
+ # flake.nix
103
+ inputs.gitlab-mcp.url = "github:zereight/gitlab-mcp";
104
+
105
+ # wherever you configure your MCP client:
106
+ command = lib.getExe inputs.gitlab-mcp.packages.${system}.default;
107
+ ```
108
+
109
+ 存储路径由你的 lock 文件固定,使用 `nix flake update gitlab-mcp` 更新。
110
+
99
111
  示例使用 `zereight-mcp-gitlab`,这是比旧的 `mcp-gitlab` 更不容易冲突的别名。如果 MCP 客户端找不到它,请使用 `which zereight-mcp-gitlab` 输出的绝对路径。
100
112
 
101
- 如果不想全局安装,请将 `npx` 固定到上一个稳定版本(即文档推荐的版本),例如 `npx -y @zereight/mcp-gitlab@2.1.56`。如果始终想使用最新版本,请改用 `npx -y @zereight/mcp-gitlab@latest`。有新版本发布时,服务器会在启动时通过 stderr 提示(可用 `GITLAB_DISABLE_VERSION_CHECK=true` 关闭)。
113
+ 如果不想全局安装,请将 `npx` 固定到上一个稳定版本(即文档推荐的版本),例如 `npx -y @zereight/mcp-gitlab@2.1.58`。如果始终想使用最新版本,请改用 `npx -y @zereight/mcp-gitlab@latest`。有新版本发布时,服务器会在启动时通过 stderr 提示(可用 `GITLAB_DISABLE_VERSION_CHECK=true` 关闭)。
102
114
 
103
115
  #### 使用 CLI 参数(适用于环境变量有问题的客户端)
104
116
 
package/build/config.js CHANGED
@@ -85,6 +85,8 @@ export const GITLAB_OAUTH_ALLOWED_GROUPS = (() => {
85
85
  return groups.length > 0 ? groups : undefined;
86
86
  })();
87
87
  export const ENABLE_DYNAMIC_API_URL = getConfig("enable-dynamic-api-url", "ENABLE_DYNAMIC_API_URL") === "true";
88
+ export const ENABLE_DYNAMIC_PROJECT_SCOPE = getConfig("enable-dynamic-project-scope", "ENABLE_DYNAMIC_PROJECT_SCOPE") === "true";
89
+ export const ENABLE_STRICT_PROJECT_SCOPE = getConfig("enable-strict-project-scope", "ENABLE_STRICT_PROJECT_SCOPE") === "true";
88
90
  // ---------------------------------------------------------------------------
89
91
  // Stateless mode (multi-pod safe OAuth / session encoding)
90
92
  // ---------------------------------------------------------------------------