
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that connects LLMs to the GeoServer REST API so AI assistants can interact with geospatial data and services.
GeoServer MCP Server is cataloged as an MCP server attributed to mahdin75. A Model Context Protocol server that connects LLMs to the GeoServer REST API so AI assistants can interact with geospatial data and services. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for GeoServer MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, an optional GeoServer Extension can be installed directly into GeoServer to expose a remote MCP endpoint at /geoserver/mcp without a Python sidecar.
The --storage flag sets a base directory for all file read/write operations, and relative paths supplied to relevant tools are resolved against it.
README.md · 56a1419c6c7d · 采集于 2026-11-13 09:07:47 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server implementation that connects Large Language Models (LLMs) to the GeoServer REST API, enabling AI assistants to interact with geospatial data and services.
Version 0.5.0 (Beta) is under active development and will be released shortly. We are open to contributions and welcome developers to join us in building this project.
--storage UsageGeoServer MCP can run in two ways. They share the same product idea (MCP tools over GeoServer) but are separate artifacts. The Python package is unchanged.
GeoServer MCP
│
┌───────────┴───────────┐
│ │
Python MCP Server GeoServer Extension
│ │
▼ ▼
GeoServer GeoServer
│ │
└───────────┬───────────┘
│
MCP Interface
│
▼
AI Agents
Run GeoServer MCP separately (pip, Docker, or Smithery). The process speaks MCP to the agent and calls the GeoServer REST API. This is the original, currently published deployment.
See Installation below.
Install the GeoServer MCP Extension directly into GeoServer and expose a remote MCP endpoint at /geoserver/mcp. No Python sidecar is required. Targets GeoServer 2.28.x.
See extension/README.md for architecture, installation, configuration, security, and client examples.
Choose the installation method that best suits your needs:
To install GeoServer MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mahdin75/geoserver-mcp --client claude
The Docker installation is the quickest and most isolated way to run the GeoServer MCP server. It's ideal for:
docker pull mahdin75/geoserver-mcp
docker run -d mahdin75/geoserver-mcp
If you are using Claude Desktop, edit claude_desktop_config.json
If you are using Cursor, Create .cursor/mcp.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"
]
}
}
}
The pip installation is recommended for most users who want to run the server directly on their system. This method is best for:
pip install uv
Linux/Mac:
uv venv --python=3.10
Windows PowerShell:
uv venv --python=3.10
uv pip install geoserver-mcp
Linux/Mac:
export GEOSERVER_URL="http://localhost:8080/geoserver"
export GEOSERVER_USER="admin"
export GEOSERVER_PASSWORD="geoserver"
Windows PowerShell:
$env:GEOSERVER_URL="http://localhost:8080/geoserver"
$env:GEOSERVER_USER="admin"
$env:GEOSERVER_PASSWORD="geoserver"
If you are going to use Claude desktop you don't need this step. For cursor or your own custom client you should run the following code.
Linux:
source .venv/bin/activate
geoserver-mcp
or
source .venv/bin/activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug
Windows PowerShell:
.\.venv\Scripts\activate
geoserver-mcp
or
.\.venv\Scripts\activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug
If you are using Claude Desktop, edit claude_desktop_config.json
If you are using Cursor, Create .cursor/mcp.json
Windows:
{
"mcpServers": {
"geoserver-mcp": {
"command": "C:\\path\\to\\geoserver-mcp\\.venv\\Scripts\\geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}
Linux:
{
"mcpServers": {
"geoserver-mcp": {
"command": "/path/to/geoserver-mcp/.venv/bin/geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}
The development installation is designed for contributors and developers who want to modify the codebase. This method is suitable for:
pip install uv
uv venv --python=3.10
uv pip install -e .
Linux/Mac:
export GEOSERVER_URL="http://localhost:8080/geoserver"
export GEOSERVER_USER="admin"
export GEOSERVER_PASSWORD="geoserver"
Windows PowerShell:
$env:GEOSERVER_URL="http://localhost:8080/geoserver"
$env:GEOSERVER_USER="admin"
$env:GEOSERVER_PASSWORD="geoserver"
If you are going to use Claude desktop you don't need this step. For cursor or your own custom client you should run the following code.
Linux:
source .venv/bin/activate
geoserver-mcp
or
source .venv/bin/activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug
Windows PowerShell:
.\.venv\Scripts\activate
geoserver-mcp
or
.\.venv\Scripts\activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debug
If you are using Claude Desktop, edit claude_desktop_config.json
If you are using Cursor, Create .cursor/mcp.json
Windows:
{
"mcpServers": {
"geoserver-mcp": {
"command": "C:\\path\\to\\geoserver-mcp\\.venv\\Scripts\\geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}
Linux:
{
"mcpServers": {
"geoserver-mcp": {
"command": "/path/to/geoserver-mcp/.venv/bin/geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}
GeoServer MCP server supports an optional --storage flag to specify a base directory for all file read/write operations, such as uploading shapefiles, GeoTIFFs, or exporting results.
--storage flag sets the root folder for file operations from all data-related tools.--storage is not set, paths are resolved as provided by the user (relative to working directory or absolute).python -m geoserver_mcp.main --storage D:/my/data/dir
This sets D:/my/data/dir as the base path for all files.
Example tool call in Python:
# Will read from D:/my/data/dir/roads.zip if --storage is set to D:/my/data/dir
create_shp_datastore('workspace', 'datastore_name', 'roads.zip')
Absolute paths (e.g. 'C:/input/other.shp') are always used as-is.
If using Docker, ensure the storage directory is mounted as a volume, e.g.:
docker run -v D:/my/data:/opt/data ...
Then launch the server with:
python -m geoserver_mcp.main --storage /opt/data
The --storage system streamlines file management for all users and makes deployment much more flexible!
This section details all the available tools and resources exposed by the GeoServer MCP server. These tools allow LLMs to interact with GeoServer's REST API for comprehensive geospatial data management.
Resource endpoints provide direct access to GeoServer resources via a URI pattern.
| Resource URI | Description |
|---|---|
geoserver://catalog/workspaces | List available workspaces |
geoserver://catalog/layers/{workspace}/{layer} | Get information about a specific layer |
geoserver://services/wms/{request} | Handle WMS resource requests |
geoserver://services/wfs/{request} | Handle WFS resource requests |
| Tool | Description |
|---|---|
list_workspaces | List available workspaces in GeoServer |
create_workspace | Create a new workspace in GeoServer |
| Tool | Description |
|---|---|
create_datastore | Create a new datastore in the given workspace |
create_featurestore | Create a new featurestore in the given workspace |
create_gpkg_datastore | Create a GeoPackage (GPKG) datastore |
create_shp_datastore | Create an ESRI Shapefile datastore |
create_coveragestore | Create a new coveragestore in a workspace |
delete_coveragestore | Delete a coveragestore from a workspace |
get_coveragestore | Get details about a single coveragestore |
get_coveragestores | Get all coveragestores for a workspace |
get_datastore | Get a specific datastore by name |
get_datastores | List all datastores in the given workspace |
| Tool | Description |
|---|---|
get_layer_info | Get detailed information about a layer |
list_layers | List layers in GeoServer, optionally filtered by workspace |
create_layer | Create a new layer in GeoServer |
delete_resource | Delete a resource from GeoServer (generic) |
| Tool | Description |
|---|---|
create_layergroup | Create a new layer group with specific layers and (optionally) styles |
get_layergroup | Get a layer group from a workspace |
get_layergroups | List all layer groups in a workspace |
add_layer_to_layergroup | Add a specific layer to a layer group |
remove_layer_from_layergroup | Remove a layer from a group |
delete_layergroup | Delete a layer group from a workspace |
update_layergroup | Update a layer group's details and configuration |
| Tool | Description |
|---|---|
create_user | Create a new user for GeoServer security |
delete_user | Delete a user by name |
get_all_users | List all users in the GeoServer instance |
modify_user | Modify an existing user's properties |
create_usergroup | Create a new user group |
delete_usergroup | Delete a user group |
get_all_usergroups | Return all user groups |
| Tool | Description |
|---|---|
query_features | Query features from a vector layer using CQL filter |
publish_featurestore | Publish an existing featurestore |
publish_featurestore_sqlview | Publish a featurestore using a SQL view definition |
edit_featuretype | Edit the settings of a feature type in a store |
get_featuretypes | List all feature types in a given store |
get_feature_attribute | Get feature attribute schema/details |
| Tool | Description |
|---|---|
create_style | Create a new SLD style in GeoServer |
publish_style | Assign/publish a style to a layer |
create_catagorized_featurestyle | Create a categorized style for features |
create_classified_featurestyle | Create a classified style for features |
create_coveragestyle | Create a raster coverage style |
create_outline_featurestyle | Create a simple outline-only style for features |
| Tool | Description |
|---|---|
get_manifest | Get GeoServer manifest metadata/details |
get_status | Obtain general server status |
get_system_status | Get system status overview/info from GeoServer |
get_version | Fetch GeoServer version string |
reload_geoserver | Reload catalog and config from disk |
reset_geoserver | Reset all GeoServer caches/connections |
update_service | Update selected OGC service options |
publish_time_dimension_to_coveragestore | Add or update a time dimension for a coverage store (for time series) |
| Tool | Description |
|---|---|
style_catagorize_xml | Generate SLD for categorized vector style |
style_classified_xml | Get SLD XML for classified vector style |
style_coverage_style_colormapentry | Generate color map entries for raster SLD |
style_coverage_style_xml | Generate XML for raster/coverage SLD |
style_outline_only_xml | XML for outline-only style for a geometry |
If you're planning to develop your own client to interact with the GeoServer MCP server, you can find inspiration in the example client implementation at examples/client.py. This example demonstrates:
The example client serves as a good starting point for understanding the protocol and implementing your own client applications.
Also, here is the example usgage:
Tool: list_workspaces
Parameters: {}
Response: ["default", "demo", "topp", "tiger", "sf"]
Tool: get_layer_info
Parameters: {
"workspace": "topp",
"layer": "states"
}
Tool: query_features
Parameters: {
"workspace": "topp",
"layer": "states",
"filter": "PERSONS > 10000000",
"properties": ["STATE_NAME", "PERSONS"]
}
Tool: generate_map
Parameters: {
"layers": ["topp:states"],
"styles": ["population"],
"bbox": [-124.73, 24.96, -66.97, 49.37],
"width": 800,
"height": 600,
"format": "png"
}
We welcome contributions! Here's how you can help:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Please ensure your PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
This project is licensed under the MIT License - see the LICENSE file for details.
For broader geospatial data automation and even more GIS-related MCP features, see GIS MCP by mahdin75.
For support, please Open an issue
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for GeoServer MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/geoserver-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.