y0urday/dsh-arcgis-pro-bridge0

dsh-arcgis-pro-bridge

DeepSeek Harness plugin that bridges ArcGIS Pro through the ArcGIS Pro Bridge MCP Server (tools appear as mcp__arcgis__*).

包名
dsh-arcgis-pro-bridge
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:y0urday/dsh-arcgis-pro-bridge

配置

默认配置已写入 cordis.patch.yml,一般无需修改。所有字段都在 index.jsConfig schema 中带默认值:

字段默认说明
serverNamearcgis模型侧工具前缀 mcp____*
launcheruvuv:用包内 pyproject + lock 启动;python:用 pythonExecutable 直接运行脚本(该解释器需已安装 mcp
pythonExecutablepythonlauncher: python 时使用;这是运行 MCP 服务的普通 Python,ArcPy 仍由服务自动发现
extraArgs[]追加给 Python 服务进程的参数
env{}额外环境变量,例如 ARCGIS_PRO_PYTHON / ARCGIS_PRO_INSTALL_DIR
toolCallTimeoutMs300000单次 ArcGIS 工具调用超时(毫秒)
failOnStartupErrorfalse首次连接失败是否让插件激活失败
reconnect.*见下子进程断开后的指数退避重连策略

reconnect 默认值:enabled: trueinitialDelayMs: 500maxDelayMs: 30000maxAttempts: 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 默认值。