feat(backend): SAP MCP 를 env 로 켜고 끄게 — 고객사 -12 에 별도 기동 절차

opencode.fabrix.json.tmpl 의 sap-icf 를 MCP_PORT/MCP_API_KEY 로 렌더, 키 없으면 enabled:false.
.env.example 에 SAP_*·MCP_* 블록. README 에 -13 번들 재활용 절차(컨테이너 간 통신 금지라 -12 에 따로).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
lee-hyeon-cheol
2026-09-21 10:43:49 +09:00
co-authored by Claude Fable 5.1
parent 72a06d6c07
commit 8571db5bee
5 changed files with 53 additions and 4 deletions
+12
View File
@@ -35,3 +35,15 @@ AAF_RELAY_STREAM_USAGE=
AAF_GATEWAY_KEY=
# OpenCode 가 붙을 이 서버 포트 (render_opencode.py 가 씀)
BACKEND_PORT=8001
# ── SAP 조회 MCP (고객사 전용, -12 에 따로 띄움. ABAP_OPENCODE mcp.bundle.cjs 재활용) ──
# MCP_API_KEY 가 있으면 render_opencode.py 가 OpenCode 에 sap-icf 를 켬. 비우면 꺼짐(로컬).
MCP_PORT=8888
MCP_API_KEY=
# 아래는 MCP 프로세스가 읽는 SAP 접속값 — ABAP_OPENCODE bare/.env 와 같은 키
SAP_HOST_ICF=
SAP_USERNAME_ICF=
SAP_PASSWORD_ICF=
SAP_CLIENT_ICF=100
SAP_VERIFY_SSL_ICF=false
SAP_API_BASE_ICF=