springbrand-lab/dsh-oauth-mcp-client ↗★ 8

@dsh-external/dsh-oauth-mcp-client

支持 OAuth 的 Streamable HTTP MCP 客户端插件。 适合需连接 Springbrand MCP 服务的用户,需本地克隆构建并完成浏览器授权。

包名
@dsh-external/dsh-oauth-mcp-client
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
^4.0.1
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:springbrand-lab/dsh-oauth-mcp-client

Configuration

The bundled defaults are defined in springbrand.cordis.yml:

FieldDescriptionDefault
serverNameNamespace used in registered DSH tool namesspringbrand
urlHTTPS Streamable HTTP MCP endpointhttps://connector.springbrand.ai/mcp
credentialRefDSH credential referenceSPRINGBRAND_MCP_OAUTH_PRODUCTION
scopeOptional OAuth scopeDiscovered from the server
callbackPortLoopback callback port; 0 selects a free port0
authorizationTimeoutMsBrowser authorization timeout300000
toolCallTimeoutMsTimeout for one MCP tool call60000
failOnStartupErrorFail activation when the first connection failstrue
reconnectExponential reconnect policyEnabled

Manual configuration

The Web page is the default setup path. To configure a connection manually, add it to the same permanent Web profile file at ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: my-oauth-mcp
      name: '@dsh-external/dsh-oauth-mcp-client'
      config:
        serverName: my-mcp
        url: https://mcp.example.com/mcp
        credentialRef: MY_MCP_OAUTH
        failOnStartupError: true

The server must support OAuth and MCP Streamable HTTP. Its first connection opens the browser authorization flow. serverName must be unique within the DSH process and becomes part of the registered tool names, for example mcp__my-mcp__search.