dsh-connectors: Adding Claude-style Connectors to DeepSeek Harness

Introduction

The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When building agents with DSH, integrating external MCP servers often requires configuring YAML files, restarting services, or manually managing tokens. The dsh-connectors plugin adopts a Claude-style connector approach, allowing any MCP server to be plugged in through a unified interface and taking effect in every conversation.

What It Is

dsh-connectors is a DSH plugin maintained by JoblessJoe. It introduces a “Connectors” panel to DSH agents, supporting MCP servers via remote (HTTP/SSE) or local commands. A single sign-in using OAuth 2.1 + PKCE is all that’s needed—after that, all tools automatically appear in conversations without requiring per-server YAML configuration or restarts.

Key Features

  • Any MCP Server
  • Remote: Supports Streamable HTTP with automatic fallback to SSE
  • Local: Invokes commands via stdio, such as npx, uvx, docker, etc.

  • Unified Sign-In

  • OAuth 2.1 + PKCE, with support for server discovery (RFC 9728 / RFC 8414) and Dynamic Client Registration (DCR)
  • The sign-in flow is handled by the official MCP SDK
  • After sign-in, it redirects back to the current DSH address, supporting headless servers

  • Automatic Token Management

  • Tokens are stored in DSH’s credential store and refreshed automatically
  • Automatic reconnection on disconnect using a backoff strategy; tool calls will wait for the server to recover

  • Fine-Grained Control

  • Disable an entire connector or individual tools (e.g., delete_issue)

  • Import Existing Configurations

  • Paste mcpServers blocks from Claude Desktop, Cursor, VS Code, or a server’s README; tokens in the Authorization header are migrated to DSH’s credential store

  • UI and Theme Consistency

  • Uses DSH-native buttons, toggles, tabs, and dialogs; adapts to light/dark mode

Tool names follow the format mcp__<id>__<tool>, consistent with DSH’s built-in MCP client.

Installation & Activation

Install into DSH’s web profile using the official install command:

npx @deepseek-ai/dsh plugin --profile web add dsh-connectors

After installation, refresh your browser tab. The “Connectors” panel in the Sidebar will appear below “Projects.” If it doesn’t appear, restart DSH once. After that, adding, editing, or removing connectors requires no further restarts.

Typical Workflow

  1. Open the Connectors panel
  2. Click “Add connector” and paste the MCP server’s URL
  3. Choose a sign-in method: OAuth 2.1 + PKCE (recommended), Bearer Token, or local command
  4. If using OAuth, click “Sign in,” complete login and authorization in a new tab—the system will automatically redirect back to DSH and mark the connection as Connected
  5. The server’s tools are immediately callable in any conversation (e.g., mcp__linear__create_issue, etc.)

For OAuth servers that require a fixed redirect URI, you can enter a custom Client ID in the panel’s “Advanced” section. By default, the plugin attempts self-registration via Dynamic Client Registration or MCP identification documents.

Use Cases & Notes

Ideal for scenarios where you need to centrally manage multiple MCP servers within DSH, such as:

  • Teams that need to integrate multiple SaaS tools (e.g., Linear, Notion, Sentry)
  • Developers who want to invoke local tools (e.g., filesystem, database CLIs) from agents
  • Deployment environments that require OAuth sign-in on headless servers

Notes:

  • Local commands run as the current DSH process user; only add commands you trust
  • The plugin accesses the network and local processes with DSH’s permissions
  • It is recommended to review the source code and license (MIT) before installation

Summary

dsh-connectors transforms MCP server integration from “configure YAML + restart” to “click + sign in once.” Token storage, refresh, and reconnection are all handled by the plugin. It’s well-suited for agent developers who want to uniformly manage a variety of external tools within DSH.

Directory | GitHub

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye