Geoservercloud Mcp

io.github.ronitjadhav由 GitHub 帳號 ronitjadhav 發布v1.0.0更新於 Oct 24, 2026

MCP server for managing GeoServer workspaces, datastores, layers, and styles

已驗證STDIO僅桌面資料庫雲端與基礎設施

概覽

AI 產生的概覽

讓助理管理 GeoServer 執行個體的 MCP 伺服器:透過 80 多項操作處理工作區、資料存放區、圖層與樣式。

可以做什麼
  • 列出、建立與管理工作區
  • 管理資料存放區並發佈 PostGIS 資料庫中的資料表
  • 處理圖層與樣式
  • 以自然語言請求執行 80 多項 GeoServer 操作
  • 透過回答助理提問在執行時設定 GeoServer 連線
適用情境
當你執行 GeoServer,並希望以對話方式檢視或修改其工作區、資料存放區、圖層與樣式,而不是使用網頁管理介面或直接呼叫 API 時適用。
執行需求
以本機 Python 套件執行(pip 安裝或 uvx,後者需要 uv)。需要可連線的 GeoServer 執行個體及其基礎 URL、使用者名稱與密碼,透過 GEOSERVER_URL、GEOSERVER_USER、GEOSERVER_PASSWORD 設定或在執行時提供。預設值指向本機 GeoServer,帳號為 admin/geoserver。
安裝前請注意
此伺服器持有 GeoServer 管理員憑證(GEOSERVER_PASSWORD),並可建立與修改工作區、資料存放區、圖層與樣式,誤操作會影響線上伺服器。預設憑證較弱,建議使用專用帳號,並謹慎指向正式環境。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Geoservercloud Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[GeoServer MCP]

An MCP server that wraps the python-geoservercloud library, exposing 80+ GeoServer operations as natural-language tools for AI assistants like Claude, VS Code Copilot, and other MCP-compatible clients.

Once connected, you can just ask:

  • "List all workspaces in GeoServer"
  • "Create a new workspace called test_data"
  • "Publish the roads table from my PostGIS database"

Quick start (Claude Code)

One command — no manual install, uvx fetches and runs the server for you.

Simplest — no credentials up front:

bash
claude mcp add geoserver -- uvx geoservercloud-mcp

The AI will ask you for the GeoServer URL, username, and password when it first needs them. Great for trying it out or switching between servers.

Or set the connection up front:

bash
claude mcp add geoserver \  --env GEOSERVER_URL=http://localhost:8080/geoserver \  --env GEOSERVER_USER=admin \  --env GEOSERVER_PASSWORD=geoserver \  -- uvx geoservercloud-mcp

That's it — start Claude Code and ask it to list your workspaces to confirm it's connected.

Manage it later with claude mcp list, claude mcp get geoserver, or claude mcp remove geoserver. Add --scope user to the add command to make it available in every project instead of just this one.


Other clients

Claude Desktop

Add this to your config file, then restart Claude Desktop:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
json
{  "mcpServers": {    "geoserver": {      "command": "uvx",      "args": ["geoservercloud-mcp"],      "env": {        "GEOSERVER_URL": "http://localhost:8080/geoserver",        "GEOSERVER_USER": "admin",        "GEOSERVER_PASSWORD": "geoserver"      }    }  }}
VS Code / Cursor

Add this to .vscode/mcp.json:

json
{  "servers": {    "geoserver": {      "command": "uvx",      "args": ["geoservercloud-mcp"],      "env": {        "GEOSERVER_URL": "http://localhost:8080/geoserver",        "GEOSERVER_USER": "admin",        "GEOSERVER_PASSWORD": "geoserver"      }    }  }}
Install manually (pip / uvx)
bash
# with pippip install geoservercloud-mcpgeoservercloud-mcp
# or run without installing (requires uv: https://docs.astral.sh/uv/)uvx geoservercloud-mcp

Published to the MCP Registry as io.github.ronitjadhav/geoservercloud-mcp.


Environment variables

VariableDefaultDescription
GEOSERVER_URLhttp://localhost:8080/geoserverGeoServer base URL
GEOSERVER_USERadminGeoServer username
GEOSERVER_PASSWORDgeoserverGeoServer password

All three are optional — if you skip them, you can configure the connection at runtime by asking the AI.


Development

Want to run it from source or contribute?

bash
git clone https://github.com/ronitjadhav/geoservercloud-mcp.gitcd geoservercloud-mcp
poetry install                    # set up the environmentpoetry run pytest                 # run the testspoetry run geoservercloud-mcp     # run the server (stdio)

Need a GeoServer to test against? cd docker && docker compose up -d spins up GeoServer + PostGIS + the MCP server.

For the full workflow — adding new tools, linting, releasing, and how publishing works — see the Developer Guide.


Python library

This server is built on the python-geoservercloud library. For programmatic access without MCP:

python
from geoservercloud import GeoServerCloud
geoserver = GeoServerCloud(    url="http://localhost:8080/geoserver",    user="admin",    password="geoserver",)geoserver.create_workspace("my_workspace")

Full library docs: https://camptocamp.github.io/python-geoservercloud/

來源:README.md,提交 25a1817

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分