mirror of
https://github.com/xpzouying/xiaohongshu-mcp.git
synced 2026-08-29 02:04:08 +08:00
16ec75c7a3
为 /api/v1/* 与 /mcp 增加可选的静态 Bearer Token 鉴权,默认关闭以保持向后兼容。 - 通过 AUTH_TOKEN 环境变量或 -token 启动参数配置,非空参数优先 - /health 与 CORS OPTIONS 预检保持公开 - scheme 大小写不敏感,仅对 credentials 做常量时间比较 - Token 不出现在日志、错误响应与 -h 帮助输出中 - 补充中英文 README、docs/API.md 与 Docker 文档