This commit is contained in:
2026-06-14 08:23:03 -03:00
parent 1f1188dd4e
commit 4df58f091c
3 changed files with 186 additions and 284 deletions

View File

@@ -0,0 +1,29 @@
# ==========================================================
# Backoffice MCP Server
# Copie para .env.backoffice_mcp ou injete via Docker/K8s Secret.
# ==========================================================
BACKOFFICE_MCP_HOST=0.0.0.0
BACKOFFICE_MCP_PORT=8010
BACKOFFICE_MCP_LOG_LEVEL=info
# true = usa dados simulados em memória.
# false = usa BACKOFFICE_MCP_BACKEND_TYPE para chamar backend real.
BACKOFFICE_MCP_USE_MOCK=true
BACKOFFICE_MCP_BACKEND_TYPE=mock
# REST backend opcional
BACKOFFICE_MCP_REST_BASE_URL=http://localhost:8080/backoffice
BACKOFFICE_MCP_REST_TIMEOUT_SECONDS=20
BACKOFFICE_MCP_REST_AUTH_HEADER=Authorization
BACKOFFICE_MCP_REST_API_KEY=
# Oracle backend opcional
BACKOFFICE_MCP_ORACLE_USER=
BACKOFFICE_MCP_ORACLE_PASSWORD=
BACKOFFICE_MCP_ORACLE_DSN=
BACKOFFICE_MCP_ORACLE_WALLET_LOCATION=
BACKOFFICE_MCP_ORACLE_WALLET_PASSWORD=
# Se true, erro no backend real vira resposta controlada da tool.
BACKOFFICE_MCP_FAIL_OPEN_ON_BACKEND_ERROR=false