version mise à jour par claude , à tester
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
# ========================================
|
||||
# WMS MCP Server Configuration (multi-profile)
|
||||
# ========================================
|
||||
# Architecture: 100% API-based (no direct Oracle access)
|
||||
# All data retrieval via WMS REST APIs
|
||||
#
|
||||
# This server supports multiple WMS backends (profiles). At runtime Claude
|
||||
# switches between them via the switch_wms_profile tool.
|
||||
|
||||
# ----------------------------------------
|
||||
# Logs (shared template)
|
||||
# ----------------------------------------
|
||||
# Multiple paths separated by semicolons. Use the "{host}" placeholder to
|
||||
# reference the active profile's HOST — the server substitutes it at runtime.
|
||||
# Log access is automatically disabled when the active profile has SAAS=true.
|
||||
LOGS_PATH=\\{host}\inetpub\logs\LogFiles\Mecalux;\\{host}\ProgramData\Mecalux\ETLLogs
|
||||
LOG_FILE_PATTERN=*.log
|
||||
|
||||
# ----------------------------------------
|
||||
# Shared WMS settings (same across all profiles)
|
||||
# ----------------------------------------
|
||||
# OAuth client Basic auth header
|
||||
WMS_API_AUTH=Basic R05BOklFNGU3aXFoZHQ=
|
||||
# Application name sent in API payloads (typically "EasyWMS")
|
||||
WMS_APPLICATION=EasyWMS
|
||||
# URL paths — combined with <PROFILE>_HOST to build full URLs
|
||||
WMS_API_PATH=/ApplicationService/api
|
||||
WMS_TOKEN_PATH=/EasySTS/OAuth/Token
|
||||
WORKFLOW_API_PATH=/AD/api
|
||||
|
||||
# ----------------------------------------
|
||||
# Profile registry
|
||||
# ----------------------------------------
|
||||
# Comma-separated list of profile names — each needs <NAME>_HOST, _USERNAME,
|
||||
# _PASSWORD, _TENANT below.
|
||||
WMS_PROFILES=AD,LIMAGRAIN
|
||||
# Profile activated at startup. If unset, Claude must call switch_wms_profile
|
||||
# before any WMS API call.
|
||||
DEFAULT_WMS_PROFILE=AD
|
||||
|
||||
# ----------------------------------------
|
||||
# Profile: AD (Application Dictionary sandbox)
|
||||
# ----------------------------------------
|
||||
AD_HOST=10.255.255.2
|
||||
AD_USERNAME=your_ad_username
|
||||
AD_PASSWORD=your_ad_password
|
||||
AD_TENANT=AD
|
||||
# SAAS=false → WMS on local/private network, logs reachable via \\<host>\...
|
||||
# SAAS=true → cloud-hosted WMS, log tools disabled (use APIs only)
|
||||
AD_SAAS=false
|
||||
|
||||
# ----------------------------------------
|
||||
# Profile: LIMAGRAIN (customer tenant)
|
||||
# ----------------------------------------
|
||||
LIMAGRAIN_HOST=10.255.255.2
|
||||
LIMAGRAIN_USERNAME=your_limagrain_username
|
||||
LIMAGRAIN_PASSWORD=your_limagrain_password
|
||||
LIMAGRAIN_TENANT=LIMAGRAI2512
|
||||
LIMAGRAIN_SAAS=false
|
||||
|
||||
# Example — SaaS profile on a cloud host (log tools will return an error):
|
||||
# WMS_PROFILES=AD,LIMAGRAIN,CLIENTX
|
||||
# CLIENTX_HOST=p4swms.mss.mecalux.com
|
||||
# CLIENTX_USERNAME=...
|
||||
# CLIENTX_PASSWORD=...
|
||||
# CLIENTX_TENANT=CLIENTX01
|
||||
# CLIENTX_SAAS=true
|
||||
|
||||
# ----------------------------------------
|
||||
# Workflow / cache / token / query tuning (shared)
|
||||
# ----------------------------------------
|
||||
WORKFLOW_PAGE_SIZE=5000
|
||||
WORKFLOW_CACHE_TTL=3600000
|
||||
TOKEN_REFRESH_THRESHOLD=1000
|
||||
TOKEN_MAX_AGE=1190
|
||||
MAX_QUERY_ROWS=1000
|
||||
QUERY_TIMEOUT=30000
|
||||
Reference in New Issue
Block a user