步骤

  1. 扫描 mcp-secrets,定位明文 Key 路径
  2. 在供应商控制台轮换 Key
  3. 改为环境变量/钥匙串,删除 json 明文
  4. 复扫确认后重试 MCP / 模型调用

场景复盘:Cursor MCP 案例