Skip to main content
Glama

dsh-relay

Englisch | 中文

Web-Profil-Helfer, der den Codex-MCP-Startpfad diagnostiziert und die Host-Konfiguration schreibt, damit Codex, Cursor oder Claude Code dsh --profile codex starten können. Er führt den MCP- Stdio-Server nicht im Web-Prozess aus.

In ein Profil installieren:

dsh plugin --profile web add github:tonytanglab/deepseek-harness-relay-mcp

oder installieren Sie das GitHub-Release-Tarball für ein vorgebautes lib/. Starten Sie dsh web nach der Installation neu. Führen Sie dann /relay-setup aus oder bitten Sie den Agenten, relay_doctor und relay_write_mcp_config aufzurufen.

Was es tut

apply registriert einen Slash-Befehl und zwei Tools im Web-Profil:

  • /relay-setup gibt die Doctor-Zusammenfassung und das MCP-Start-JSON aus. Wenn mcpConfigPath gesetzt ist, schreibt es auch dieses JSON. Zusätzliche Eingabe wird abgelehnt.

  • relay_doctor prüft, ob process.argv[1] ein absoluter existierender dsh-Eintrag ist, ob process.execPath existiert und ob der Credentials-Pfad existiert, ohne Credential-Inhalte zu lesen und ohne MCP stdio zu starten.

  • relay_write_mcp_config erstellt den npx-Startblock aus dem Codex-Leitfaden. Es schreibt den Block, wenn path eine absolute JSON-Datei ist, und führt mcpServers zusammen, sodass andere Server erhalten bleiben.

Der generierte Befehl ist npx --yes --package=@deepseek-ai/dsh@0.1.0-rc.5 -- dsh --profile codex. Der Helfer verwendet niemals npx.cmd oder shell: true und importiert niemals StdioServerTransport.

Related MCP server: Claude Code Subagent MCP

Konfiguration

Feld

Standard

Bedeutung

mcpServerName

dsh-relay

Schlüssel unter mcpServers

mcpConfigPath

unset

Absoluter JSON-Pfad, den /relay-setup schreibt

allowedWorkspaceRoots

[]

Leer liest DSH_MCP_WORKSPACE_ROOTS

credentialsPath

$DSH_HOME/.credentials.yaml

Gemeinsames Credentials-Dokument; auch DSH_MCP_CREDENTIALS_PATH

dataDirectory

$DSH_HOME/codex-services

Codex-Service-Homes; auch DSH_MCP_DATA_DIR

dshPackage

@deepseek-ai/dsh@0.1.0-rc.5

Festgelegtes Paket in generierten npx-Argumenten

host

codex

Standard-Host für /relay-setup-Schreibvorgänge: codex, cursor oder claude-code

Benutzer überschreiben Zeilen im Profil cordis.patch.yml. Ungültige Konfiguration führt zu fehlgeschlagenem Plugin-Laden.

Nach der Einrichtung

Richten Sie den MCP-Host auf den gedruckten Startblock aus. Sitzungsstart, Warten, Steuern und Abbrechen bleiben bei dsh --profile codex, dokumentiert in @deepseek-ai/dsh-mcp-codex und dem Codex-Leitfaden. Das gebündelte Skill benennt diesen Workflow.

Modellerfahrung

Tool-Schema

Was das Modell sieht

relay_doctor hat ein leeres Parameterobjekt. relay_write_mcp_config erfordert host als codex, cursor oder claude-code und akzeptiert optionalen absoluten path.

Token-Effekt

Feste Schema-Kosten bei jeder Anfrage, bei der die Tools sichtbar sind.

KV-Cache-Effekt

Präfix-stabil, solange die Definitionen und die Sichtbarkeit unverändert sind.

Tool-Aufrufverlauf und Ergebnis

Was das Modell sieht

relay_doctor gibt JSON mit ok, Launcher direct/exists/shell: false, Workspace-Roots und Credentials path/exists zurück. Es enthält niemals Credential-Dateiinhalte. relay_write_mcp_config gibt { written, path, host, serverName, config } zurück, dessen config.args --profile und codex enthalten. Der Erfolgstext von /relay-setup beginnt mit DSH Relay is loaded in this Web profile. It does not run the MCP stdio server here. Zusätzliche Eingabe gibt The /relay-setup command does not accept extra input. zurück.

Token-Effekt

Pro Aufruf, begrenzt durch den JSON-Bericht und den Startblock.

KV-Cache-Effekt

Unabhängig von früheren Durchläufen.

Bekannte Einschränkungen und zurückgestellte Arbeiten

  • Kein prozessinterner MCP stdio — Die Installation dieses Bundles in das Web-Profil macht die elf Codex-MCP-Tools nicht verfügbar. Diese bleiben bei dsh --profile codex.

  • Keine Einstellungs-UI — Es gibt kein dsh.client-Formular in v0.1.0; /relay-setup und die beiden Tools sind der Konfigurationspfad.

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
6Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    A project-local MCP bridge that allows Codex Desktop to plan tasks and OpenCode to execute them within the current project directory, with session reuse and native OpenCode background subagents.
    4
    1
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Provides a read-only MCP tool to diagnose zoxide installation and shell setup, returning a JSON report with setup and troubleshooting guides.
    316
    MIT

View all related MCP servers

Related MCP Connectors

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

  • A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tonytanglab/deepseek-harness-relay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server