
hyqhyq3/dsh-mcp-manager
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
DeepSeekハーネス用のMCPサーバーマネージャプラグイン:設定→MCPページ、OAuth(PKCE + 動的クライアント登録)または静的トークンauth、mcp <name> *として登録されたツール
概要
— MCP サーバーを一度追加する設定 → MCP ページ (HTTP またはローカル stdio プロセスをリモート)、HTTP サーバを認証し、ツールを直接またはコンパクトなオンデマンド ブローカーを介して公開します。 組み込みの@deepseek-ai/dsh-mcp-clientは、静的ヘッダーの設定のみを受け入れます。OAuthサポートとローカルのstdio輸送はありません。 このプラグインは、そのギャップを埋めます: - spec-compliant の検出、RFC 7591 の動的クライアント登録、reep token の回転、および自動再接続を再起動します。1 つのブラウザのログイン、それからそれは働き続けます。 - RFC 9728 → RFC 8414 に従います。MCP エンドポイントの 401 WWWW-Authenticate ヘッダ名は、保護されたリソースメタデータ、そのドキュメント名は認可サーバー、および認可サーバーのメタデータは、RFC 8414 パス・インセレーション URL (例: https://github.com/.well-known/oauth-authorization-server/login/oauth).) から読み込まれています。 何も発見できない時だけ、${origin}/oauth/* を推測し、試行ログはそう言う.
概要(AI 翻訳)
日本語 | English
ローカル 0.13.3 未発表候補: 累積的な変更、実証および検証制限のリリースノートを参照してください。 それは0.13.2を台無しにしました。
DeepSeek Harness(DSH)のMCPサーバーマネージャ — MCPサーバーを一度追加するSettings → MCPページ(HTTPまたはローカルstdioプロセスをリモート)、ブラウザでOAuthでHTTPサーバーを認証し、ツールを直接またはコンパクトなオンデマンドブローカーを介して公開します。
組み込み [@deepseek-ai/dsh-mcp-client は、静的 headers 設定のみを受け付けます。OAuth のサポートがなく、ローカルの stdio トランスポートはありません。 このプラグインは、そのギャップを埋めます:
- OAuth (authorization code + PKCE) は、spec-compliant Discovery、RFC 7591 の動的クライアント登録、[
refresh_token]] の回転、および自動再接続を再起動します。1つのブラウザのログイン、その後、作業を続けます。 -Client application type は、MCP SEP-837: HTTP ループバックコールバック ([[localhost)、IPv4 ループバック、または[::1]]) として登録します。 [native]] として他のコールバックが登録されます。 これは、ローカル GUI をwebにデフォルトで OIDC プロバイダーを避け、リダイレクトを拒否します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
dsh-mcp-manager
简体中文 | English
Local 0.13.3 unreleased candidate: see the release notes for cumulative changes, provenance and verification limits. It supersedes 0.13.2.
MCP server manager for DeepSeek Harness (DSH) — a Settings → MCP page where you add MCP servers once (remote HTTP or local stdio process), authenticate HTTP servers with OAuth in the browser, and expose their tools either directly or through a compact on-demand broker.
The built-in @deepseek-ai/dsh-mcp-client only accepts a static headers config — it has no OAuth support and no local stdio transport. This plugin fills that gap:
- OAuth (authorization code + PKCE) with spec-compliant discovery, RFC 7591 dynamic client registration,
refresh_tokenrotation, and auto-reconnect across restarts — one browser login, then it keeps working.- Registration identity and secret (RFC 7591): the
client_namesent to the registration endpoint isdsh-mcp-manager-by default and configurable per server (Client name) for providers that gate registration on an exact name. When the authorization server advertisesclient_secret_post, the client registers confidentially: the issuedclient_secretis stored in the 0600 state file and sent on token exchange and refresh (never in a view, response or log). For a dynamically registered client, a changed client name — or a new GUI origin — re-registers and drops the old client’s tokens; a manually configured Client ID is unaffected. - Client application type follows MCP SEP-837: HTTP loopback callbacks (
localhost, IPv4 loopback, or[::1]) register asnative; other callbacks register asweb. This avoids OIDC providers defaulting a local GUI toweband rejecting its redirect. Registration failures show the provider’s OAuth error code when available; the Logs panel retains the detailed reason. Providers may still restrict which clients or redirects they accept. - Callback origin accepts direct loopback
Hostvalues (including[::1]:port). ConfigurepublicOriginsfor a reverse proxy: one configured origin is the default callback even without forwarded headers; with multiple origins, a completeX-Forwarded-Proto/X-Forwarded-Hostpair must match the allowlist. A foreign direct Host is rejected when no default is configured. Malformed forwarded host values are rejected. Callback messages are HTML-escaped.
- Registration identity and secret (RFC 7591): the
インストール
npx -y @modelcontextprotocol/server-filesystem .設定
{
"mcpServers": {
"simulation": {
"type": "http",
"url": "http://127.0.0.1:9316/mcp",
"authMode": "none",
"timeout": 600000
}
}
}