PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serverslocation-servicesmahdin75
返回「location-services」

mahdin75

modelscope·@mahdin75/geoserver-mcp

location-services0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

GeoServer MCP 服务器

<p align="center"> <img src="https://badge.mcpx.dev?type=server" title="MCP 服务器"/> 这是一个实现了模型上下文协议 (MCP) 的服务器,它将大型语言模型 (LLMs) 连接到 GeoServer REST API,使 AI 助手能够与地理空间数据和服务进行交互。 </p> <div align="center"> <img src="docs/geoserver-mcp.png" alt="GeoServer MCP 服务器 Logo" width="400"/> </div>

Alpha

版本 0.4.0(Alpha)正在积极开发中,并将很快发布。我们欢迎贡献者和开发者加入我们共同构建这个项目。

🎥 演示

<div align="center"> <img src="docs/demo/list_workspaces.png" alt="GeoServer MCP 服务器演示" width="400"/> </div>

📋 目录

  • 功能
  • 前提条件
  • 安装
    • Docker 安装
    • pip 安装
    • 开发环境安装
  • 可用工具
    • 工作区和图层管理
    • 数据操作
    • 可视化
  • 客户端开发
    • 列出工作区
    • 获取图层信息
    • 查询要素
    • 生成地图
  • 计划中的功能
  • 贡献
  • 许可证
  • 相关项目
  • 支持
  • 徽章

🚀 功能

  • 🔍 查询和操作 GeoServer 工作区、图层和样式
  • 🗺️ 对矢量数据执行空间查询
  • 🎨 生成地图可视化
  • 🌐 访问 OGC 兼容的 Web 服务 (WMS, WFS)
  • 🛠️ 与 MCP 兼容的客户端轻松集成

📋 前提条件

  • Python 3.10 或更高版本
  • 正在运行的 GeoServer 实例并启用了 REST API
  • MCP 兼容的客户端(如 Claude Desktop 或 Cursor)
  • 用于包安装的互联网连接

🛠️ 安装

选择最适合您需求的安装方法:

通过 Smithery 安装

要通过 Smithery 自动为 Claude Desktop 安装 GeoServer MCP 服务器,请使用以下命令:

bash npx -y @smithery/cli install @mahdin75/geoserver-mcp --client claude

🛠️ Docker 安装

Docker 安装是运行 GeoServer MCP 服务器最快且最隔离的方式。它适用于:

  • 快速测试和评估
  • 生产部署
  • 不希望依赖 Python 环境的情况
  • 在不同系统上保持一致的部署
  1. 运行 geoserver-mcp:

bash docker pull mahdin75/geoserver-mcp docker run -d mahdin75/geoserver-mcp

  1. 配置客户端:

如果您使用的是 Claude Desktop,请编辑 claude_desktop_config.json。 如果您使用的是 Cursor,请创建 .cursor/mcp.json。

json { "mcpServers": { "geoserver-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GEOSERVER_URL=http://localhost:8080/geoserver", "-e", "GEOSERVER_USER=admin", "-e", "GEOSERVER_PASSWORD=geoserver", "-p", "8080:8080", "mahdin75/geoserver-mcp" ] } } }

🛠️ pip 安装

pip 安装推荐给大多数希望直接在系统上运行服务器的用户。此方法适用于:

  • 希望在本地运行服务器的普通用户
  • 已安装 Python 3.10+ 的系统
  • 希望自定义服务器配置的用户
  • 开发和测试目的
  1. 安装 uv 包管理器。

bash pip install uv

  1. 创建虚拟环境(Python 3.10+):

Linux/Mac:

bash uv venv --python=3.10

Windows PowerShell:

bash uv venv --python=3.103. 使用 pip 安装包:

bash uv pip install geoserver-mcp

  1. 配置 GeoServer 连接:

Linux/Mac:

bash export GEOSERVER_URL="http://localhost:8080/geoserver" export GEOSERVER_USER="admin" export GEOSERVER_PASSWORD="geoserver"

Windows PowerShell:

powershell $env:GEOSERVER_URL="http://localhost:8080/geoserver" $env:GEOSERVER_USER="admin" $env:GEOSERVER_PASSWORD="geoserver"

  1. 启动服务器:

如果你将使用 Claude 桌面版,则不需要此步骤。对于 Cursor 或你自己的自定义客户端,你应该运行以下代码。

Linux:

bash source .venv/bin/activate

geoserver-mcp

或

bash source .venv/bin/activate

geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug

Windows PowerShell:

bash ..venvScriptsactivate geoserver-mcp

或

bash ..venvScriptsactivate geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug

  1. 配置客户端:

如果你使用的是 Claude 桌面版,请编辑 claude_desktop_config.json。 如果你使用的是 Cursor,请创建 .cursor/mcp.json。

Windows:

json { "mcpServers": { "geoserver-mcp": { "command": "C:\path\to\geoserver-mcp\.venv\Scripts\geoserver-mcp", "args": [ "--url", "http://localhost:8080/geoserver", "--user", "admin", "--password", "geoserver" ] } } }

Linux:

json { "mcpServers": { "geoserver-mcp": { "command": "/path/to/geoserver-mcp/.venv/bin/geoserver-mcp", "args": [ "--url", "http://localhost:8080/geoserver", "--user", "admin", "--password", "geoserver" ] } } }

🛠️ 开发安装

开发安装是为贡献者和开发者设计的,他们希望修改代码库。这种方法适用于:

  • 为项目做贡献的开发者
  • 需要修改源代码的用户
  • 测试新功能
  • 调试和开发目的
  1. 安装 uv 包管理器。

bash pip install uv

  1. 创建虚拟环境(Python 3.10+):

bash uv venv --python=3.10

  1. 使用 pip 安装包:

bash uv pip install -e .

  1. 配置 GeoServer 连接:

Linux/Mac:

bash export GEOSERVER_URL="http://localhost:8080/geoserver" export GEOSERVER_USER="admin" export GEOSERVER_PASSWORD="geoserver"

Windows PowerShell:

powershell $env:GEOSERVER_URL="http://localhost:8080/geoserver" $env:GEOSERVER_USER="admin" $env:GEOSERVER_PASSWORD="geoserver"

  1. 启动服务器:

如果你将使用 Claude 桌面版,则不需要此步骤。对于 Cursor 或你自己的自定义客户端,你应该运行以下代码。

Linux:

bash source .venv/bin/activate

geoserver-mcp

或

bash source .venv/bin/activate

geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug

Windows PowerShell:

bash ..venvScriptsactivate geoserver-mcp

或

bash ..venvScriptsactivate geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug

  1. 配置客户端:

如果你使用的是 Claude 桌面版,请编辑 claude_desktop_config.json。 如果你使用的是 Cursor,请创建 .cursor/mcp.json。

Windows:

json { "mcpServers": { "geoserver-mcp": { "command": "C:\path\to\geoserver-mcp\.venv\Scripts\geoserver-mcp", "args": [ "--url", "http://localhost:8080/geoserver", "--user", "admin", "--password", "geoserver" ] } } }

Linux:

json { "mcpServers": { "geoserver-mcp": { "command": "/path/to/geoserver-mcp/.venv/bin/geoserver-mcp", "args": [ "--url", "http://localhost:8080/geoserver", "--user", "admin", "--password", "geoserver" ] } } }## 🛠️ 可用工具

🛠️ 工作区和图层管理

工具描述
list_workspaces获取可用的工作区
create_workspace创建新的工作区
get_layer_info获取详细的图层元数据
list_layers …

相关 MCP Servers(来自「location-services」)

酒店查询预订管家

暂无描述。

liu860502/Hotel_MCP

快递100 MCP Server

快递100 MCP Server提供快递信息查询、快递运费预估比价、快递时效查询(含发货前时效查询与在途动态时效查询)等功能。

kuaidi100/kuaidi100-mcp

全球酒店推荐预订-RollingGo

全球酒店预订 MCP 服务,全球第三大B2B酒旅供应商官方出品,提供 200 万 + 酒店搜索、价格查询、可订检查和订单创建能力,让 AI 一键拥有原生酒店预订功能,企业和个人均可一键接入,完全免费。 支持通过城市名称、机场代码、热门景点、交通枢纽、酒店名称或具体地址等多种目标地点类型进行精准搜索,并提供灵活的星级筛选、入住日期设置、住宿天数配置等专业筛选功能。 还可基于用户的个人偏好或特定条件(如距离景点/机场/市中心更近)提供个性化酒店推荐,并生成多维度热门榜单,包括高性价比酒店、好评热门酒店、人气精选等不同类型的专业推荐。 整个工具能够通过自然语言交互,智能完成从地点解析、酒店筛选、个性化推荐到预订支付的完整服务流程,为各类商务出行、家庭度假和个人旅行提供精准、高效的酒店选择解决方案。

yorklu/AI_Go_Hotel_MCP

DataV-Atlas地理可视化

DataV Atlas MCP服务是阿里云DataV团队提供的地理空间数据可视化MCP服务,提供地理空间数据的大模型可视分析能力,包含地理空间数据处理、地理空间数据生成、地理空间可视化布局算法、地理空间可视化编码工具等。

@DataV-Atlas/atlas-tools-mcp-server

ip地址归属地查询

可获取本地公网ip,并且支持任意ip地址归属地查询

nmgliangwei/ip2region

UU跑腿MCP

现已支持5个核心API接口和MCP协议的对接, 涵盖询价、发单、查询详情等,是国内首家兼容MCP协议的配送服务商。

@uupt-mcp/uupt-mcp-server

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/mahdin75-geoserver-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

暂未识别到安装命令,请打开 ModelScope 详情查看完整配置。

基本信息

分类
location-services / databases
运行方式
No
许可证
MIT License
详情文件
mahdin75-geoserver-mcp.md