-
Notifications
You must be signed in to change notification settings - Fork 231
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 1.3 KB
/
.env.example
File metadata and controls
39 lines (32 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# GitLab API Configuration
GITLAB_API_URL=https://gitlab.com
GITLAB_TOKEN=your-gitlab-personal-access-token-here
# OAuth Configuration (alternative to Personal Access Token)
# GITLAB_USE_OAUTH=true
# GITLAB_OAUTH_CLIENT_ID=your-oauth-client-id
# GITLAB_OAUTH_CLIENT_SECRET=your-oauth-client-secret # Required for Confidential apps only
# GITLAB_OAUTH_REDIRECT_URI=http://127.0.0.1:8888/callback
# GITLAB_OAUTH_TOKEN_PATH=~/.gitlab-mcp-token.json
# Test Configuration (for integration tests)
GITLAB_TOKEN_TEST=your-test-token-here
TEST_PROJECT_ID=your-test-project-id
ISSUE_IID=1
# MCP Transport Mode (Optional)
# Description:
# When multiple transport modes are enabled, the server will use the following priority:
# 1. **Streamable HTTP** (if `STREAMABLE_HTTP=true`) - Highest priority
# 2. **SSE** (if `SSE=true` and `STREAMABLE_HTTP!=true`) - Medium priority
# 3. **Stdio** (if `SSE!=true` and `STREAMABLE_HTTP!=true`)
SSE=true
STREAMABLE_HTTP=false
# MCP Server Host With SSE Transport and Streamable Http Transport
HOST=127.0.0.1
# Proxy Configuration (optional)
HTTP_PROXY=
HTTPS_PROXY=
NO_PROXY=localhost,127.0.0.1
# Remote Authorization (minimal configuration)
# SSE transport cannot be used with REMOTE_AUTHORIZATION now
STREAMABLE_HTTP=true
REMOTE_AUTHORIZATION=true
GITLAB_API_URL="https://gitlab.com/api/v4"