y0urday/dsh-arcgis-pro-bridge ↗★ 0
dsh-arcgis-pro-bridge
DeepSeek Harness plugin that bridges ArcGIS Pro through the ArcGIS Pro Bridge MCP Server (tools appear as mcp__arcgis__*).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:y0urday/dsh-arcgis-pro-bridge说明文档
阅读完整 README ↗配置
默认配置已写入 cordis.patch.yml,一般无需修改。所有字段都在 index.js 的 Config schema 中带默认值:
| 字段 | 默认 | 说明 |
|---|---|---|
serverName | arcgis | 模型侧工具前缀 mcp____* |
launcher | uv | uv:用包内 pyproject + lock 启动;python:用 pythonExecutable 直接运行脚本(该解释器需已安装 mcp) |
pythonExecutable | python | 仅 launcher: python 时使用;这是运行 MCP 服务的普通 Python,ArcPy 仍由服务自动发现 |
extraArgs | [] | 追加给 Python 服务进程的参数 |
env | {} | 额外环境变量,例如 ARCGIS_PRO_PYTHON / ARCGIS_PRO_INSTALL_DIR |
toolCallTimeoutMs | 300000 | 单次 ArcGIS 工具调用超时(毫秒) |
failOnStartupError | false | 首次连接失败是否让插件激活失败 |
reconnect.* | 见下 | 子进程断开后的指数退避重连策略 |
reconnect 默认值:enabled: true、initialDelayMs: 500、maxDelayMs: 30000、maxAttempts: 10。
用户覆盖示例
在 $DSH_HOME/profiles/web/cordis.patch.yml(或启动时用 --patch)里按 id 覆盖整行配置:
- id: arcgis-pro-bridge
config:
serverName: arcgis
launcher: python
pythonExecutable: python
failOnStartupError: true
env:
ARCGIS_PRO_PYTHON: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe
注意:patch 覆盖是整段替换
config,不是深度合并;未写出的字段会回到 schema 默认值。