fix: 各环境补齐 Agent 与 Server 对齐的 MCP Bearer

This commit is contained in:
2026-09-20 22:16:49 +08:00
parent 67c2d58c32
commit d28b4d45c3
9 changed files with 18 additions and 5 deletions
@@ -43,6 +43,10 @@ ecom:
license-key: ""
online-revocation-check: true
license-server-url: ""
agent:
mcp:
# 须与 apps/agent/.env.pre 的 MCP_BEARER_TOKEN 一致;可用 AGENT_MCP_TOKEN 覆盖
bearer-token: ${AGENT_MCP_TOKEN:pre-agent-mcp-token}
logging:
level:
@@ -44,6 +44,10 @@ ecom:
license-key: ""
online-revocation-check: true
license-server-url: ""
agent:
mcp:
# 须与 apps/agent/.env.prod 的 MCP_BEARER_TOKEN 一致;可用 AGENT_MCP_TOKEN 覆盖
bearer-token: ${AGENT_MCP_TOKEN:prod-agent-mcp-token}
logging:
level:
@@ -42,6 +42,10 @@ ecom:
license-key: ""
online-revocation-check: false
license-server-url: ""
agent:
mcp:
# 须与 apps/agent/.env.test 的 MCP_BEARER_TOKEN 一致;可用 AGENT_MCP_TOKEN 覆盖
bearer-token: ${AGENT_MCP_TOKEN:test-agent-mcp-token}
logging:
level: