qcc-dsh-mcp-oauth
DeepSeek Harness 插件:一键 OAuth 授权连接企查查(Qichacha)MCP 服务 / One-click OAuth connect to Qichacha MCP services
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:duhu2000/qcc-mcp-oauth说明文档
阅读完整 README ↗使用 / Usage
重启后,在对话中输入:
| 你说 | 效果 |
|---|---|
| "连接企查查" | 触发 qcc_oauth_connect:自动打开浏览器跳转企查查授权页,登录授权后自动完成连接 |
| "查一下企查查连接状态" | 触发 qcc_oauth_status:显示授权状态、token 过期时间、覆盖的 MCP Server |
| "断开企查查" | 触发 qcc_oauth_disconnect:撤销 refresh_token、清除本地授权、停用工具 |
连接成功后,以下工具直接可用(示例):
mcp__qcc-company__get_company_registration_info/get_actual_controller/ ...mcp__qcc-risk__get_company_risk_scan/get_dishonest_info/ ...mcp__qcc-ipr__*、mcp__qcc-operation__*、mcp__qcc-executive__*
配置 / Configuration
插件行位于 ~/.dsh/profiles/web/cordis.patch.yml(bundle 合入后可见):
- id: qcc-mcp-oauth
name: 'qcc-dsh-mcp-oauth'
config:
issuer: 'https://agent.qcc.com' # OAuth 授权服务器
clientName: 'DeepSeek Harness - QCC MCP' # 授权页展示名
refreshSkewMs: 300000 # 过期前提前刷新(ms)
openBrowser: true # 自动打开浏览器(false = 仅打印授权 URL)
persistTokens: true # 持久化 token(false = 仅内存)
mcpEntryPrefix: 'mcp-qcc' # 受管 mcp-client 条目 id 前缀