Preface¶
DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy. For large models without native vision capabilities, functionality can be extended by mounting MCP servers. The opencode-eyes plugin is designed for this purpose—it encapsulates StepFun’s step-3.7-flash vision model within a plugin, enabling text models to “see” and describe images.
Core Features¶
- Multimodal completion: Provides image understanding capabilities for text-only models.
- Tool registration: Automatically registers the
mcp__opencode_eyes__describe_imagetool. - Out of the box: The MCP server is packaged within the plugin itself; no separate server file deployment is required.
Installation and Activation¶
CLI Installation¶
In the DSH configuration file (profile) you want to use, run:
dsh plugin --profile web add bauerelizabeth07139/opencode-eyes
Desktop Installation¶
- Open the Plugins sidebar.
- Click Add plugin.
- Enter
bauerelizabeth07139/opencode-eyesor the full GitHub URL. - Enable the newly appeared dsh-opencode-eyes bundle.
Uninstallation¶
dsh plugin --profile web remove dsh-opencode-eyes
Typical Usage¶
Environment Configuration¶
The plugin obtains credentials via the STEP_API_KEY environment variable or the apiKey in the configuration file. Ensure that your StepFun account has sufficient quota for calls.
Configuration Example¶
Add the plugin configuration in cordis.patch.yml:
- id: dsh-opencode-eyes
name: 'dsh-opencode-eyes'
config:
apiKey: 'sk-...'
toolCallTimeoutMs: 300000
Tool Invocation¶
The model calls the tool mcp__opencode_eyes__describe_image. Parameters:
image_path(required): Local image path.prompt(optional): A description prompt for the image.
The plugin converts the image to Base64-encoded JPEG format and sends it to the StepFun API.
Configuration and Limitations¶
Configurable Items¶
The plugin supports adjusting the following parameters in the configuration:
| Config Item | Environment Variable | Default | Description |
|---|---|---|---|
apiKey |
STEP_API_KEY |
empty | StepFun authentication key; must be configured |
model |
STEP_MODEL |
step-3.7-flash |
Vision model ID |
timeoutSeconds |
STEP_TIMEOUT |
120 |
Timeout for the server waiting for StepFun API response |
maxDimension |
STEP_MAX_DIMENSION |
2048 |
Maximum side length of the image after scaling |
jpegQuality |
STEP_JPEG_QUALITY |
85 |
Quality when converting to JPEG |
toolCallTimeoutMs |
— | 300000 |
Maximum budget (in milliseconds) for a single tool call in DSH |
Notes¶
- API Base URL: The API base address
https://api.stepfun.com/step_plan/v1/chat/completionsis hardcoded in the server code and cannot be modified via configuration. - Working directory: The plugin uses the
src/layout; the server must run in thesrcdirectory. This logic is automatically handled during plugin installation. - Timeout settings: The StepFun server has a default timeout of 120 seconds, while DSH has a shorter default timeout. It is recommended to set
toolCallTimeoutMsto at least 300000 (5 minutes) to avoid timeout. - Runtime environment: The plugin runs with the permissions of the current DSH process; ensure it has read access to the image path.
License and Ecosystem¶
- License: MIT
- Maintainer: bauerelizabeth07139
- Ecosystem note: This plugin is a project maintained in the community directory and has no affiliation with DeepSeek official.