DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-tokenrhythm-image

b

dsh-tokenrhythm-image

Manifest valid

DeepSeek Harness plugin: image generation through TokenRhythm. It mounts the bundled zero-dependency stdio MCP server, which generates images with qwen-image-2.0 or wan2.7-image and saves them to disk, exposing mcp__tokenrhythm_image__generate_image and mcp__tokenrhythm_image__list_image_models.

hasBundlePatch

opencode-tokenrhythm-image-mcp

Text to image, straight to disk. qwen-image-2.0 or wan2.7-image through TokenRhythm; the generated file lands in a directory you choose and its path is returned to the model.

用 TokenRhythm 生成图片并直接落盘,把本地路径交回模型。

As a DeepSeek Harness plugin: the MCP server ships inside the bundle, so installing one plugin is the whole setup — no mcpServers file to hand-edit.

Install

DeepSeek Harness Desktop — open Plugins in the sidebar, choose Add plugin, and enter:

https://github.com/bauerelizabeth07139/opencode-tokenrhythm-image-mcp

Then switch the new dsh-tokenrhythm-image bundle on. The Desktop app boots the reserved desktop profile, so that is where it has to be enabled.

dsh CLI — install it into the profile you actually boot:

dsh plugin --profile web add bauerelizabeth07139/opencode-tokenrhythm-image-mcp

No git on the machine? pnpm resolves a git shorthand with git ls-remote, which fails with 'git' is not recognized when git is missing. Use the tarball instead — that path is plain HTTPS:

dsh plugin --profile web add https://codeload.github.com/bauerelizabeth07139/opencode-tokenrhythm-image-mcp/tar.gz/main

The same address works in the Desktop Add plugin dialog. Replace main with a commit SHA to pin an exact revision (/tar.gz/<sha>).

Uninstall with dsh plugin --profile web remove dsh-tokenrhythm-image.

Requirements

  • Python ≥ 3.8 on PATH, or pointed at with python.
  • No third-party packages. The server is pure standard library.
  • A TokenRhythm API key in TOKENRHYTHM_API_KEY (or config.apiKey), plus network access to https://tokenrhythm.studio/v1.

Tools

The server registers 2 tool(s). DSH namespaces them automatically, so the model calls them as mcp__tokenrhythm_image__<tool>:

ToolWhat it does
generate_imageGenerates up to four images and writes each one into the output directory, returning the local paths and the remote URLs. Parameters: prompt (required), model (qwen-image-2.0 or wan2.7-image), n (1–4), size.
list_image_modelsLists the two TokenRhythm image models.

Configuration

KeyEnvironment variableDefaultMeaning
python—discoveredinterpreter that runs the server
apiKeyTOKENRHYTHM_API_KEY(empty)TokenRhythm credential
baseUrlTOKENRHYTHM_BASE_URLhttps://tokenrhythm.studio/v1API base
outputDirTOKENRHYTHM_OUTPUT_DIR~/Pictures/opencode-tokenrhythmwhere generated images are written
toolCallTimeoutMs—360000DSH's per-call budget; a single request may take 300 s
env—{}raw environment passthrough

Every field is optional and lives in the loader row. For example, in cordis.patch.yml:

- id: dsh-tokenrhythm-image
  name: 'dsh-tokenrhythm-image'
  config:
    apiKey: 'sk-...'
    outputDir: 'D:/images/generated'
    toolCallTimeoutMs: 360000

Notes

  • Set outputDir. The server's default writes outside the workspace (~/Pictures/opencode-tokenrhythm on this platform). Point it somewhere you expect files to appear.
  • Timeouts. The server's own HTTP budget is 300 s for a generation request, so the plugin mounts with 360 s rather than the harness's 60 s default.
  • Paid API. Generation needs a working key and network access; without a key the tool returns TOKENRHYTHM_API_KEY environment variable is not set.

How it is mounted

index.js resolves a Python interpreter (the configured python, then python3/python on PATH), hands the server its argv and working directory, and mounts it as a stdio MCP server through @deepseek-ai/dsh-mcp-client with failOnStartupError: true, so a server that cannot start is a visible error rather than a silently missing tool.

Credentials are forwarded explicitly. The harness scrubs credential-shaped variables (KEY, TOKEN, SECRET, PASSWORD) out of the environment a child process inherits, so config.apiKey — falling back to the variable the server documents — is written into the child's environment by the plugin itself. That means both of these work:

config:
  apiKey: '<your key>'
export TOKENRHYTHM_API_KEY='<your key>'   # picked up at load time

Development

No build step and no runtime dependencies — @deepseek-ai/cordis and @deepseek-ai/dsh-mcp-client are peers supplied by the Harness.

npm test    # node >= 22: manifest checks + the stdio mount, both Harness-free

The mount test loads index.js with @deepseek-ai/dsh-mcp-client stubbed and asserts the exact stdio configuration the plugin produces, including the credential forwarding above.

Repository layout

PathPurpose
index.jsthe DSH plugin: resolves the interpreter and mounts the server
cordis.patch.ymlthe loader row that activates the plugin
locale/{en,zh}.jsoncard title and description for the plugin lists
assets/icon.svgcard artwork
test/npm test: manifest composition and the mount contract
server.pythe MCP server, unchanged

Other hosts (unchanged)

The server is a plain stdio MCP server and still works anywhere else. The repository's original README is kept verbatim as README.opencode.md, and the launch stanza from it keeps working:

{
  "mcp": {
    "tokenrhythm-image": {
      "type": "local",
      "command": ["python", "C:\\path\\to\\server.py"],
      "enabled": true,
      "environment": { "TOKENRHYTHM_API_KEY": "{env:TOKENRHYTHM_API_KEY}" }
    }
  }
}

License

MIT — the repository shipped no licence; this plugin's release adds one for the repository owner's own code.

Comments

Loading…

From the same category

reactive-resume

DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.

Tools & CapabilitiesManifest valid

★ 41.7k

↓ 223/wk

MIT

Aug 24, 2026

dsh plugin --profile web add dsh-plugin-reactive-resume

by Tencent

Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.

Tools & CapabilitiesManifest valid

★ 8.2k

↓ 7.5k/wk

MIT

TypeScript

Oct 6, 2026

dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-plugin

by yjh051108

dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).

Tools & CapabilitiesManifest valid

★ 7k

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add @dsh-external/dsh-super-injector

by Q00

Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode,

Tools & CapabilitiesManifest valid

★ 6.2k

MIT

Python

Oct 6, 2026

Index only — not installable

by dsh-market

The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场

Tools & CapabilitiesManifest valid

★ 5.7k

↓ 156.3k/wk

MIT

TypeScript

Oct 6, 2026

dsh plugin --profile web add dshmarket

by superdesigndev

OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn

Tools & CapabilitiesManifest valid

★ 4.6k

NOASSERTION

Python

Oct 7, 2026

dsh plugin --profile web add treg-dsh