-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
104 lines (77 loc) · 2.92 KB
/
env.example
File metadata and controls
104 lines (77 loc) · 2.92 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# AGS API MCP Server - Environment Variables
# ============================================
# This file contains configuration for V2 (recommended).
# For V1 configuration, see docs/v1/ENVIRONMENT_VARIABLES.md
# ===================
# RECOMMENDED
# ===================
# Base URL for AccelByte environment
# Defaults to https://development.accelbyte.io if unset
AB_BASE_URL=https://yourgame.accelbyte.io
# ===================
# SERVER CONFIGURATION (Optional)
# ===================
# Server port (default: 3000)
# MCP_PORT=3000
# MCP endpoint path (default: /mcp)
# MCP_PATH=/mcp
# Enable authentication (default: true)
# MCP_AUTH=true
# Full server URL - auto-derived from MCP_PROTOCOL, MCP_HOSTNAME, MCP_PORT if not set
# MCP_SERVER_URL=http://localhost:3000
# Server protocol (default: http)
# MCP_PROTOCOL=http
# Server hostname (default: localhost)
# MCP_HOSTNAME=localhost
# ===================
# OAUTH DISCOVERY WORKAROUND (Optional, Temporary)
# ===================
# Workaround for VS Code and MCP clients that can't discover the OAuth
# authorization server when it's on a different host than the MCP server.
# Values: none (default), redirect, proxy, proxyRegister
# - none: Standard discovery, no workaround
# - redirect: 307 redirect to actual auth server discovery endpoint
# - proxy: Proxy the discovery document from actual auth server
# - proxyRegister: Like proxy + proxies registration endpoint
# (recommended for VS Code)
# TODO: Remove once MCP clients properly support cross-origin OAuth discovery.
# MCP_AUTH_SERVER_DISCOVERY_MODE=proxyRegister
# ===================
# RATE LIMITING (Optional)
# ===================
# Enable rate limiting (default: true)
# RATE_LIMIT_ENABLED=true
# Rate limit window in minutes (default: 15)
# RATE_LIMIT_WINDOW_MINS=15
# Max requests per IP per window (default: 1000)
# RATE_LIMIT_MAX=1000
# ===================
# HOSTED MODE (Optional)
# ===================
# For multi-tenant deployments where AGS URL is derived from Host header
# Enable hosted mode (default: false)
# MCP_HOSTED=false
# Validate JWT issuer matches derived URL (default: true)
# MCP_VALIDATE_TOKEN_ISSUER=true
# ===================
# OPENAPI CONFIGURATION (Optional)
# ===================
# Directory containing OpenAPI specs (default: openapi-specs)
# OPENAPI_SPECS_DIR=openapi-specs
# Default search results limit (default: 10)
# OPENAPI_DEFAULT_SEARCH_LIMIT=10
# Maximum search results limit (default: 50)
# OPENAPI_MAX_SEARCH_LIMIT=50
# Default API request timeout in ms (default: 15000)
# OPENAPI_DEFAULT_RUN_TIMEOUT_MS=15000
# Maximum API request timeout in ms (default: 60000)
# OPENAPI_MAX_RUN_TIMEOUT_MS=60000
# Include write operations POST/PUT/PATCH/DELETE (default: true)
# INCLUDE_WRITE_REQUESTS=true
# ===================
# RUNTIME (Optional)
# ===================
# Node environment (default: development)
# NODE_ENV=development
# Log level: fatal, error, warn, info, debug, trace (default: info)
# LOG_LEVEL=info