@@ -14,6 +14,8 @@ GitLab MCP(Model Context Protocol) Server. **Includes bug fixes and improvements
1414
1515When using with the Claude App, you need to set up your API key and URLs directly.
1616
17+ #### npx
18+
1719``` json
1820{
1921 "mcpServers" : {
@@ -24,15 +26,46 @@ When using with the Claude App, you need to set up your API key and URLs directl
2426 "GITLAB_PERSONAL_ACCESS_TOKEN" : " your_gitlab_token" ,
2527 "GITLAB_API_URL" : " your_gitlab_api_url" ,
2628 "GITLAB_READ_ONLY_MODE" : " false" ,
27- "USE_GITLAB_WIKI" :" true"
29+ "USE_GITLAB_WIKI" : " true"
2830 }
2931 }
3032 }
3133}
3234```
3335
34- ### Environment Variables
36+ #### Docker
37+
38+ ``` json
39+ {
40+ "mcpServers" : {
41+ "GitLab communication server" : {
42+ "command" : " docker" ,
43+ "args" : [
44+ " run" ,
45+ " -i" ,
46+ " --rm" ,
47+ " -e" ,
48+ " GITLAB_PERSONAL_ACCESS_TOKEN" ,
49+ " -e" ,
50+ " GITLAB_API_URL" ,
51+ " -e" ,
52+ " GITLAB_READ_ONLY_MODE" ,
53+ " -e" ,
54+ " USE_GITLAB_WIKI" ,
55+ " nkwd/mcp-gitlab"
56+ ],
57+ "env" : {
58+ "GITLAB_PERSONAL_ACCESS" : " your_gitlab_token" ,
59+ "GITLAB_API_URL" : " https://gitlab.com/api/v4" , // Optional, for self-hosted GitLab
60+ "GITLAB_READ_ONLY_MODE" : " false" ,
61+ "USE_GITLAB_WIKI" : " true"
62+ }
63+ }
64+ }
65+ }
66+ ```
3567
68+ ### Environment Variables
3669
3770- ` GITLAB_PERSONAL_ACCESS_TOKEN ` : Your GitLab personal access token.
3871- ` GITLAB_API_URL ` : Your GitLab API URL. (Default: ` https://gitlab.com/api/v4 ` )
@@ -42,6 +75,7 @@ When using with the Claude App, you need to set up your API key and URLs directl
4275## Tools 🛠️
4376
4477+<!-- TOOLS-START -->
78+
45791 . ` create_or_update_file ` - Create or update a single file in a GitLab project
46802 . ` search_repositories ` - Search for GitLab projects
47813 . ` create_repository ` - Create a new GitLab project
0 commit comments