dsh-jina
Jina MCP native plugin with proxy + tool allowlist support
AI Analysis
核心用途是将 Jina MCP(模型上下文协议)服务集成到 DSH 中,提供网页读取等工具,支持网络代理和工具过滤。适合需要利用 Jina 强大的网页解析能力辅助 Agent 的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
在 dsh patch 层中添加条目——例如全局 $DSH_HOME/cordis.patch.yml(所有 profile 生效),或仅 web profile 的 $DSH_HOME/profiles/web/cordis.patch.yml:
- insert:
- id: dsh-jina
name: 'dsh-jina'
config:
proxyUrl: 'http://127.0.0.1:7890' # 空字符串 = 直连
apiKeyEnv: 'JINA_API_KEY' # 推荐用环境变量提供 key
enabledTools: ['read_url', 'parallel_read_url', 'primer'] # 空数组 = 注册全部
然后照常启动 dsh:
dsh web --patch dsh.mcp.yml --port 3080
配置项
| 配置项 | 默认值 | 说明 |
|---|---|---|
url | https://mcp.jina.ai/v1 | Jina MCP 端点 |
apiKey | '' | 字面量 Jina API key。推荐优先使用 apiKeyEnv。 |
apiKeyEnv | JINA_API_KEY | 用于解析 API key 的环境变量名 |
proxyUrl | http://127.0.0.1:7890 | Jina 请求走 HTTP 代理;空字符串 = 直连 |
enabledTools | [] | 工具白名单(Jina 原始工具名)。空数组 = 注册全部工具。 |
toolCallTimeoutMs | 60000 | 单次工具调用超时 |
failOnStartupError | false | 初始连接失败时是否拒绝插件激活 |