Skip to content

[Feature] MCP 服务配置中,对需要 Authorization 情况增加 Token 存储及显示的安全性 #4697

@somax

Description

@somax

MaxKB Version

v2.5

Please describe your needs or suggestions for improvements

在配置需要通过密钥访问的 MCP 服务目前是通过添加 headers 区块用明文方式存储密钥,如:
{
...
"headers": {
"Authorization": "Bearer xxx"
}
}

希望可以加密存储以及脱敏展示

Please describe the solution you suggest

也许可以在配置界面增加密码输入框方式配置 Bearer 认证,至少密钥以掩码显示,防止直接泄露

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions