Repository navigation
Community plugin: GLM Coding Plan (Z.ai) inside DeepSeek Harness - web_search/web_fetch providers, vision/zread MCP tools, quota chip #12761
FamousMonsterr
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Title: Community plugin: GLM Coding Plan (Z.ai) inside DeepSeek Harness — web_search/web_fetch providers, vision/zread MCP tools, quota chip
Body:
Hi! I built a community plugin that plugs a GLM Coding Plan (Z.ai) subscription into DeepSeek Harness, using only the public dsh plugin seams (
ctx.credentials,ctx.web,ctx.webServer,ctx.slots,dsh-mcp-client):Repo: https://github.com/FamousMonsterr/zai-web-search-mcp (MIT, zero npm dependencies)
npm:
dsh-zai-web-search-mcpWhat it does:
web_searchruns through the Z.aiweb_search_primeMCP server (registered as actx.websearch provider, idzai-mcp) — a drop-in replacement backend for the built-in tool.web_fetchruns through the Z.aiweb_readerMCP server (actx.webfetch provider, idzai-reader) — server-side fetching with structured markdown extraction.mcp__zai__web_search_prime,mcp__zai-reader__webReader,mcp__zai-zread__search_doc/read_file/get_repo_structure(GitHub repo analysis), and 8mcp__zai-vision__*image/video tools (local stdio@z_ai/mcp-server) — the vision tools work for text-only models since the server returns text for a file path.ZAI_API_KEYthroughctx.credentialsand hot-reloads oncredentials/reference-updated.If the maintainers are interested, the interesting bits for dsh itself: the plugin shows a full third-party bundle flow (Host plugin + client module +
dsh.bundle.patchauto-activation from npm,engines.dshgating) and could serve as a reference implementation for third-party web providers and MCP bridges. Feedback and issues welcome — happy to contribute improvements back.Take it and use it if you have a GLM Coding Plan: install
dsh-zai-web-search-mcpfrom npm via the Plugins page (or ask your agent to install it), storeZAI_API_KEYin the credentials surface, restart. ⭐All reactions