dsh-web-search-glm
Manifest validWeb search plugin for DeepSeek Harness powered by ZAI GLM MCP — auto-injects API key from ~/.dsh/.credentials.yaml or environment variables
dsh-zai-web-search
ZAI GLM web search and fetch MCP plugin for DeepSeek Harness.
This plugin integrates ZAI's (智谱AI) web search and fetch capabilities into DSH through MCP (Model Context Protocol) servers.
Features
- Web Search: Search the web using ZAI's web search prime service
- Web Fetch: Fetch and read web content using ZAI's web reader service
- Vision MCP: Access ZAI's vision capabilities through MCP
- Tool Registration: Automatically registers tools with DSH harness for model use
- Service Integration: Provides a service for programmatic access
Installation
-
Add the plugin to your DSH profile:
dsh plugin --profile <profile-name> add dsh-zai-web-search -
The plugin will automatically use your DSH ZAI API key from
~/.dsh/.credentials.yaml. No additional setup is required if you have configured ZAI in DSH.
Configuration
The plugin is configured through cordis.patch.yml in your profile directory. Key configuration options:
apiKey: Your ZAI API key (can be set via environment variableZAI_API_KEY)servers: MCP server configurationsweb-search-prime: Web search serviceweb-reader: Web content fetching servicezai-vision: Vision capabilities service
registerTools: Whether to register tools with DSH harness (default: true)enabled: Enable/disable the plugin (default: true)
Usage
As a Tool
Once installed and configured, the following tools will be available to the model:
web-search-prime/search: Search the webweb-reader/fetch: Fetch web contentzai-vision/*: Vision-related tools
As a Service
You can also use the service programmatically in your DSH plugins:
import { Context } from '@deepseek-ai/cordis'
export default {
apply(ctx: Context) {
// Access the ZAI Web Search service
const zaiWebSearch = ctx.get('zai-web-search')
if (zaiWebSearch) {
// Search the web
zaiWebSearch.searchWeb('your search query').then(results => {
console.log(results)
})
// Fetch web content
zaiWebSearch.fetchWeb('https://example.com').then(content => {
console.log(content)
})
}
}
}
Environment Variables
ZAI_CODING_CN_API_KEY: Your ZAI API key for authentication (optional if configured in DSH)ZAI_API_KEY: Alternative environment variable for ZAI API keyZAI_MODE: Set to "ZHIPU" for Chinese market (default)
MCP Servers
The plugin uses the following MCP servers:
-
web-search-prime: Web search service from ZAI
- URL:
https://open.bigmodel.cn/api/mcp/web_search_prime/mcp - Transport: HTTP Streamable
- URL:
-
web-reader: Web content fetching service
- URL:
https://open.bigmodel.cn/api/mcp/web_reader/mcp - Transport: HTTP Streamable
- URL:
-
zai-vision: Vision capabilities
- Command:
npx -y @z_ai/mcp-server@latest - Transport: stdio
- Command:
Development
To build the plugin:
npm run build
To run tests:
npm test
License
MIT
Comments
Loading…
Similar plugins
by kenny2077
Web search for DeepSeek Harness through Z.ai or Zhipu, with Coding Plan MCP quota and REST API billing modes, a native bilingual settings card, and support for reusing an existing ZAI_API_KEY.
★ 1
↓ 67/wk
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add dsh-web-search-zaiby Canary-Builds
Z.AI (GLM) web search provider for DeepSeek Harness — native web_search via the Anthropic-compatible Messages API. Dependency-free DSH Profile Bundle.
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add @canary-builds/dsh-web-search-zaiby nekomona
1-click Deepseek Harness plugin for Z.ai coding plan MCPs
★ 0
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-plugin-zai-mcpby JD579g
DeepSeek Harness (DSH) plugin: one-click MCP deployment + built-in MCP toolkit + doctor. Windows-first, connects without restarting.
★ 0
MIT
JavaScript
Sep 28, 2026
dsh plugin --profile web add dsh-mcp-hubby YUANMINGXUE
Local-browser web search & page fetch plugin for DeepSeek Harness (dsh): browser_search / browser_fetch over Chrome DevTools Protocol, no API key.
★ 0
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dsh-local-browser-searchby zx06
Tavily web search plugin for DeepSeek Harness (DSH): ctx.web search provider + search/extract/crawl/map/research tools + settings page (API key, quota, audit)
★ 0
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile web add @zx06/tavily