FEAT: MCP SSE

This commit is contained in:
iwakitakuma33
2025-06-02 17:47:52 +09:00
parent 63d666739c
commit 82a944427d
4 changed files with 204 additions and 160 deletions

View File

@ -36,8 +36,8 @@ When using with the Claude App, you need to set up your API key and URLs directl
```
#### Docker
```json
- stdio
```mcp.json
{
"mcpServers": {
"GitLab communication server": {
@ -71,6 +71,28 @@ When using with the Claude App, you need to set up your API key and URLs directl
}
}
}
- sse
```shell
docker run -i --rm \
-e GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token \
-e GITLAB_API_URL= "https://gitlab.com/api/v4"\
-e GITLAB_READ_ONLY_MODE=true \
-e USE_GITLAB_WIKI=true \
-e USE_MILESTONE=true \
-e USE_PIPELINE=true \
-e SSE=true \
-p 3333:3002 \
gitlab-mcp
```
```json
{
"mcpServers": {
"GitLab communication server": {
"url": "http://localhost:3333/sse"
}
}
}
```
#### Docker Image Push