Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的与行为
为已保存的远程 MCP Server 增加个人 OAuth 授权,用户无需复制 API Key。此 PR 是通用能力;企查查统一入口卡片已单独提交为 #305,依赖本 PR。
范围与限制(请求先评审架构)
当前为 Draft:尚未完成正式桌面安装包、管理员/普通成员浏览器流程和真实短信 OAuth 验收;没有发起付费查询。不是已完成产品验收的声明。
支持 DCR + public PKCE 客户端;不含预注册 confidential client 配置。刷新锁仅单进程,沿用现有 SQLite runtime lock;不支持分布式刷新。提前失效的 401 需要重新授权,不自动重放业务调用。请在部署中配置稳定强密钥
APP_SECRET、正确TOOL_BASE_URL,并在代理访问日志中隐藏 callback query。详细边界见MCP_OAUTH.md。验证
未上传账号、凭据、原始查询结果或用户截图。欢迎维护者评审 API/凭据隔离/回调方案;确认路线后再补正式产品验收并转 Ready。