dsh-futu-mcp
Run the following command in DeepSeek Harness:
dsh plugin install yangzhe1991/dsh-futu-mcp
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install yangzhe1991/dsh-futu-mcp in your terminal to install (source: https://github.com/yangzhe1991/dsh-futu-mcp), then restart dsh web to activate.
About this plugin
Want to ask your DeepSeek Harness agent "what is Tencent trading at right now" without standing up a separate MCP server or hand-rolling an OAuth flow? dsh-futu-mcp collapses that entire pipeline into a single plugin: install it, and the agent can immediately invoke mcp__futu__* tools for real-time market quotes and read-only account data with zero middleware boilerplate.
Under the hood the plugin implements the full OAuth 2.1 lifecycle in-process — RFC 9728/8414 metadata discovery, RFC 7591 dynamic client registration, PKCE S256, and automatic refresh-token rotation. On first use a browser window opens to the Futu authorization page; within the 14-day refresh window all subsequent authentications are silent. Scope handling is defensive: at both client-registration and authorization-request time the plugin intercepts the server's protected-resource metadata and clamps the requested scopes to exactly the set you configured (quote:read and trade:read by default), so trade:write is never requested unless you explicitly opt in. Loading is also deferred by design — plugin load only reads a locally cached tool list, incurring no network call, no token refresh, and no browser popup. The connection is established only the instant a mcp__futu__* tool is actually invoked, meaning a conversation that never touches Futu produces zero upstream traffic.
This is aimed at developers and quant analysts who work inside Harness for research conversations, real-time monitoring, or strategy scripting: you describe the quote or account data you need in plain language, and the plugin handles authentication, token lifecycle, and tool routing so your codebase stays free of raw HTTP or OAuth plumbing. Sensitive credentials are persisted to ~/.dsh/credentials/futu-mcp.json (file mode 0600, directory mode 0700), isolated from any project workspace, and can be revoked at any time from the Futu OpenAPI dashboard.
Use Cases
- Query real-time stock prices via natural-language chat in Harness
- Invoke quote tools on demand in strategy scripts without a persistent connection
- Share a unified read-only Futu toolset across multiple agents in collaborative workflows
Best For
- Individual developers running research conversations inside Harness
- Quant analysts who need real-time market-data monitoring
- Small teams that want to integrate the Futu OpenAPI with zero boilerplate code
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.