gitlab-mcp 1.2.1 → 1.3.0
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 +30 -27
- package/dist/config/dotenv.js +6 -2
- package/dist/config/dotenv.js.map +1 -1
- package/dist/config/env.d.ts +3 -1
- package/dist/config/env.js +15 -1
- package/dist/config/env.js.map +1 -1
- package/dist/http-app.js +10 -3
- package/dist/http-app.js.map +1 -1
- package/dist/http.js +5 -4
- package/dist/http.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/auth-context.d.ts +2 -1
- package/dist/lib/auth-context.js.map +1 -1
- package/dist/lib/gitlab-client.d.ts +42 -8
- package/dist/lib/gitlab-client.js +380 -42
- package/dist/lib/gitlab-client.js.map +1 -1
- package/dist/lib/network.js +12 -6
- package/dist/lib/network.js.map +1 -1
- package/dist/lib/oauth-scopes.d.ts +2 -0
- package/dist/lib/oauth-scopes.js +16 -0
- package/dist/lib/oauth-scopes.js.map +1 -0
- package/dist/lib/regex.d.ts +5 -0
- package/dist/lib/regex.js +111 -0
- package/dist/lib/regex.js.map +1 -0
- package/dist/lib/request-runtime.js +24 -11
- package/dist/lib/request-runtime.js.map +1 -1
- package/dist/tools/gitlab.js +193 -3
- package/dist/tools/gitlab.js.map +1 -1
- package/dist/types/auth.d.ts +1 -0
- package/dist/types/auth.js +2 -0
- package/dist/types/auth.js.map +1 -0
- package/dist/types/context.d.ts +1 -0
- package/docs/architecture.md +1 -1
- package/docs/authentication.md +4 -1
- package/docs/configuration.md +23 -21
- package/docs/deployment.md +2 -0
- package/docs/mcp-integration-testing-best-practices.md +381 -730
- package/docs/tools.md +24 -14
- package/package.json +1 -1
package/docs/tools.md
CHANGED
|
@@ -88,6 +88,7 @@ Most list endpoints support `page` and `per_page`. Notable exceptions are `gitla
|
|
|
88
88
|
| `gitlab_list_merge_request_diffs` | No | List detailed MR diffs (versions/changes view). Supports `unidiff`. |
|
|
89
89
|
| `gitlab_list_merge_request_versions` | No | List MR diff versions. |
|
|
90
90
|
| `gitlab_get_merge_request_version` | No | Get one MR diff version. Params: `version_id` (required), `unidiff`. |
|
|
91
|
+
| `gitlab_get_merge_request_conflicts` | No | Get merge request conflict details from GitLab's conflicts endpoint. |
|
|
91
92
|
|
|
92
93
|
### MR Code Context
|
|
93
94
|
|
|
@@ -208,20 +209,29 @@ Requires `USE_GITLAB_WIKI=true` (default).
|
|
|
208
209
|
|
|
209
210
|
Requires `USE_PIPELINE=true` (default).
|
|
210
211
|
|
|
211
|
-
| Tool
|
|
212
|
-
|
|
|
213
|
-
| `gitlab_list_pipelines`
|
|
214
|
-
| `gitlab_get_pipeline`
|
|
215
|
-
| `
|
|
216
|
-
| `
|
|
217
|
-
| `
|
|
218
|
-
| `
|
|
219
|
-
| `
|
|
220
|
-
| `
|
|
221
|
-
| `
|
|
222
|
-
| `
|
|
223
|
-
| `
|
|
224
|
-
| `
|
|
212
|
+
| Tool | Mutating | Description |
|
|
213
|
+
| ------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
214
|
+
| `gitlab_list_pipelines` | No | List pipelines. Supports `scope`, `status`, `ref`, `sha`, `username`, `source`, `order_by`, `sort`, date filters. |
|
|
215
|
+
| `gitlab_get_pipeline` | No | Get one pipeline by ID. |
|
|
216
|
+
| `gitlab_list_deployments` | No | List deployments. Supports `environment`, `ref`, `sha`, `status`, `order_by`, `sort`, date filters. |
|
|
217
|
+
| `gitlab_get_deployment` | No | Get one deployment by ID. |
|
|
218
|
+
| `gitlab_list_environments` | No | List environments. Supports `name`, `search`, `states`, pagination. |
|
|
219
|
+
| `gitlab_get_environment` | No | Get one environment by ID. |
|
|
220
|
+
| `gitlab_list_pipeline_jobs` | No | List jobs in a pipeline. Supports `scope`, `include_retried`. |
|
|
221
|
+
| `gitlab_list_pipeline_trigger_jobs` | No | List downstream/bridge trigger jobs in a pipeline. |
|
|
222
|
+
| `gitlab_get_pipeline_job` | No | Get one job by ID. |
|
|
223
|
+
| `gitlab_get_pipeline_job_output` | No | Get raw job trace/log output. |
|
|
224
|
+
| `gitlab_list_job_artifacts` | No | List files and directories inside a job artifacts archive. Supports `path`, `recursive`. |
|
|
225
|
+
| `gitlab_download_job_artifacts` | No | Download the full artifacts archive as base64 content. |
|
|
226
|
+
| `gitlab_download_job_artifacts_local` | **Yes** | Download the full artifacts archive to a local directory. Supports `local_path`. Available only on local transports; not exposed over HTTP. |
|
|
227
|
+
| `gitlab_get_job_artifact_file` | No | Return one file from a job artifacts archive as inline content. Text-like files are UTF-8; binary files are base64. |
|
|
228
|
+
| `gitlab_get_job_artifact_file_local` | **Yes** | Save one file from a job artifacts archive to a local directory. Supports `local_path`. Available only on local transports; not exposed over HTTP. |
|
|
229
|
+
| `gitlab_create_pipeline` | **Yes** | Trigger a new pipeline. Params: `ref` (required). Supports `variables` array (`key`, `value`, `variable_type`) and typed `inputs` for `spec:inputs` (`string`, `number`, `boolean`, arrays). |
|
|
230
|
+
| `gitlab_retry_pipeline` | **Yes** | Retry failed jobs in a pipeline. |
|
|
231
|
+
| `gitlab_cancel_pipeline` | **Yes** | Cancel a running pipeline. |
|
|
232
|
+
| `gitlab_retry_pipeline_job` | **Yes** | Retry one failed job. |
|
|
233
|
+
| `gitlab_cancel_pipeline_job` | **Yes** | Cancel one running job. |
|
|
234
|
+
| `gitlab_play_pipeline_job` | **Yes** | Play/trigger a manual job. |
|
|
225
235
|
|
|
226
236
|
---
|
|
227
237
|
|