wangcong1137-hash/dsh-geoserver
Reads GeoServer WMS services and publishes map data from DSH, with credentials held on the host and map images rendered in the GUI.
Gives the agent four GeoServer tools and the human a way to configure them without editing files. geoserver_list enumerates workspaces, layers (with title, bbox, SRS and styles) and image formats through the GeoServer REST API, falling back to the WMS GetCapabilities document when REST is not available; geoserver_publish uploads one local GeoTIFF or one ZIP containing a single SHP dataset and can notify a configured business system; a map-image tool fetches WMS output and renders it inside the dsh web GUI; and a diagnostics tool checks connectivity, which is the tool that saves time when a basic-auth or URL problem is masquerading as an empty workspace. Rendered maps come from the host, not the browser, so an API key or Basic credential is never exposed to the page. When publishing succeeds, the optional webhook receives an event with type: "geoserver.layer.published" and version: 1, carrying a unique eventId, the workspace/layer/store, WMS and WCS/WFS URLs, discovered SRS and bounds, and the same metadata — with any HTTP 2xx counted as delivery.
Install
dsh plugin --profile web add dsh-geoserverThe README's Installation line for the Web profile; the command appends dsh-geoserver to that profile's dsh.profile.bundles list automatically. Configuration is a settings card at Settings → Plugins → Plugin configuration → GeoServer, where you set the server URL, credentials, publication directories and size limit, and an optional webhook; changes take effect immediately without a restart, and publication directories are entered one per line. A bundled webhook receiver is available for testing (pnpm webhook:receiver, listening at http://127.0.0.1:3900, with the settings-card URL set to http://127.0.0.1:3900/geoserver/published and the token field left blank).
Compatibility
Version 0.3.x targets DSH 0.1.5.x and its current settings and client-module APIs, which is a narrow and useful statement — this plugin uses the settings UI and host web-server surfaces, so a harness release that moves those APIs matters more here than for a pure client plugin. Credentials never reach the browser: the plugin holds Basic auth on the host, fetches images itself, and serves them from the same origin as the GUI through ctx.webServer. Publication is bounded on purpose — directories and a size limit are configured, and one upload carries one GeoTIFF or one ZIP with a single SHP dataset. The README keeps a Known Limitations and Deferred Work section; one behaviour stated there is that publication and webhook delivery have separate statuses, so a failed webhook does not turn an already-created layer into a failed publication, and delivery is not retried automatically in this first version.
Details
- Repo: wangcong1137-hash/dsh-geoserver
- Category: Tools & Capabilities
- Stars: 1
- Version: 0.3.1 (npm)
Alternatives
qian-dsh/dsh-as-mcp-server · tancheng33/dsh-egress-guard · jiewaigongxing/dsh-jiey-browser