Introduction

In the plugin ecosystem of DeepSeek Harness (DSH), connecting agents to external data sources usually requires writing additional backend services. For Xianyu (Goofish) data, directly calling SDKs or writing scrapers comes with high maintenance costs and complex authentication. This plugin wraps the MCP server of goofish-cli, directly exposing Xianyu’s read-only data capabilities as standard tools and allowing DSH to securely access product information, item lists, and chat history.

Plugin Description

  • Name: dsh-goofish-mcp
  • Author: zhengjy01
  • Positioning: Xianyu (Xianyu / Goofish) read-only monitoring MCP for DeepSeek Harness
  • Core logic: drives a stdio subprocess of goofish-cli and wraps Xianyu’s read-only data capabilities as mcp__goofish__* tools. The plugin explicitly filters out all write-operation tools internally to ensure environmental safety.

Core Capabilities

The plugin provides the following verified data access tools:

  • mcp__goofish__search_items: search Xianyu items (actual returned results)
  • mcp__goofish__item_get / item_view: get details of a specified item
  • mcp__goofish__item_list: list the current account’s items on sale
  • mcp__goofish__message_list_chats / message_history: get the chat list and message history
  • mcp__goofish__category_recommend / location_default / auth_status: category recommendations, default location, and authentication status queries

Read-Only Boundaries

The plugin strictly limits permissions and explicitly does not expose the following write-operation tools:
item_publish / item_delete / media_upload / message_send / auth_login / auth_reset_guard / message_watch / skills_install

Installation and Prerequisites

Before installing the plugin, ensure the environment meets the following requirements:

  1. DeepSeek Harness version: ≥ 0.1.5-rc.1
  2. Install goofish-cli:
    uv tool install goofish-cli
  1. Log in to Xianyu:
    goofish auth login
    # 或使用二维码扫描登录
    goofish auth login --qr
  1. Confirm the login status:
    goofish auth status
Ensure the output contains `valid: true`.

Install the Plugin

Run the following command in DeepSeek Harness to install the plugin:

dsh plugin --profile web add dsh-goofish-mcp

After installation, restart dsh web to activate the plugin.

Configuration and Usage

  • Configuration file: configuration is stored in ~/.dsh/dsh-xianyu (0600).
  • Authentication management: login Cookies are managed by goofish-cli; this plugin does not read them, and the CLI maintains them centrally.
  • DSH internal tools:
    • goofish_status: view the connection/registration/read-only status
    • goofish_config: configure the stdio command/arguments/read-only switch
    • goofish_test: test the connection and list the read-only tools
    • goofish_tools: list the currently registered read-only tools

Notes

  • The plugin runs with the current permissions of the DSH process. Please review the source code and license before use.
  • This plugin provides read-only monitoring capabilities only and is not suitable for scenarios requiring frequent interaction or content publishing.

Conclusion

This plugin provides DSH with standardized Xianyu data access capabilities, making it suitable for data monitoring, competitive analysis, or serving as a knowledge base source for agents.