MCP.so
登录
G

Geoserver MCP Server

@ronitjadhav

基本信息

分类

开发工具

传输方式

stdio

作者

ronitjadhav

提交者

Ronit Jadhav

关于 Geoserver MCP Server

A Model Context Protocol (MCP) server that exposes GeoServer REST API functionality for natural language interaction. Built on the python-geoservercloud library, this MCP server provides 80+ tools for managing:

#geoserver#gis#geospatial#maps#geodata#postgis#wms#wfs#ogc#spatial#mapping#geography#vector#raster#layers#styles

Geoserver MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "geoserver": {
      "command": "uvx",
      "args": [
        "geoservercloud-mcp"
      ]
    }
  }
}

Geoserver MCP Server 工具

76

Get current GeoServer connection information. Shows the configured URL and username (password is hidden). Check 'configured' field to see if connection was explicitly set. If configured is 'false', ask the user for connection details and use configure_geoserver_connection() to set them.

Configure the GeoServer connection at runtime. Use this to set the GeoServer URL and credentials when they are not pre-configured via environment variables.

Get GeoServer version information. Returns version details about the connected GeoServer instance.

List all GeoServer workspaces. Returns a list of all workspaces configured in GeoServer.

Get details of a specific workspace.

Create a new workspace in GeoServer. If the workspace already exists, it will be updated.

Delete a workspace and all its contents recursively. WARNING: This will delete all datastores, layers, and styles in the workspace.

Recreate a workspace by first deleting it if it exists, then creating it fresh. WARNING: This will delete all existing content in the workspace.

Get WMS service settings for a workspace.

Enable and publish WMS service for a workspace with default settings.

Set a default language for localized WMS requests.

Remove the default language configured for localized WMS requests.

List all datastores in a workspace.

Get details of a specific datastore.

Get details of a PostGIS datastore, including its connection parameters.

Delete a datastore from a workspace.

Create a PostGIS datastore connection.

Create a PostGIS datastore from a JNDI resource.

Create a PMTiles datastore.

Create a generic datastore with custom connection parameters.

Get details of a WMS store.

Create a cascaded WMS store to proxy an external WMS service.

Delete a WMS store and all its layers.

Get details of a WMS layer.

Publish a layer from a cascaded WMS store.

Delete a WMS layer.

Create a cascaded WMTS store to proxy an external WMTS service.

Delete a WMTS store and all its layers.

Publish a layer from a cascaded WMTS store.

List all feature types (vector layers) in a datastore.

Get details of a specific feature type.

Create a feature type (vector layer) from a database table.

Delete a feature type and its associated layer.

List all coverages (raster layers) in a coverage store.

Get details of a specific coverage.

Get details of a coverage store.

Create a coverage store for raster data.

Publish a coverage layer from a coverage store.

Delete a coverage store and all its coverages.

Create an ImageMosaic coverage store from a directory of raster files.

Harvest additional granules (raster files) into an existing ImageMosaic store.

Publish a single granule (raster file) to an existing ImageMosaic coverage store.

List all layer groups in a workspace.

Get details of a specific layer group.

Create a layer group combining multiple layers.

Delete a layer group.

List all styles. If workspace is provided, list workspace styles, otherwise list global styles.

Get the definition of a style.

Create a style from an SLD string.

Create a style by uploading a local style file (SLD, or a ZIP bundling an SLD with its images). The path is read from the machine running the MCP server.

Create a style catalog entry pointing at an existing style file on the server.

Set the default style for a layer.

Get GeoWebCache configuration for a layer.

Enable tile caching for a layer in GeoWebCache.

Remove tile caching for a layer from GeoWebCache.

Create a gridset for GeoWebCache. Supported EPSG codes: 2056, 21781, 3857.

Get WMS capabilities and list all layers for a workspace.

Get WFS capabilities and list all feature types for a workspace.

WFS GetFeature request to retrieve features from a layer.

WFS DescribeFeatureType request to get schema information.

WFS GetPropertyValue request to get values of a specific property.

Create a GeoServer user.

Update a GeoServer user.

Delete a GeoServer user.

Create a GeoServer role.

Delete a GeoServer role.

Get all roles assigned to a user.

Assign a role to a user.

Remove a role from a user.

Get all GeoServer ACL data rules.

Create a GeoServer ACL data rule.

Create one ACL data rule per request type in a single call.

Create a GeoServer ACL admin rule.

Delete an ACL admin rule by ID.

Delete all ACL data rules. WARNING: This removes all access control rules.

Delete all ACL admin rules. WARNING: This removes all admin access control rules.

概览

What is Geoserver?

Geoserver is a Model Context Protocol (MCP) server that exposes GeoServer REST API functionality for natural language interaction. Built on the python-geoservercloud library, it provides over 80 tools for managing geospatial data and infrastructure, targeting users who need to interact with GeoServer through an AI assistant.

How to use Geoserver?

Configure your GeoServer URL and credentials via environment variables, then connect the MCP server to any compatible AI client. No specific commands or config keys are described in the README beyond setting the endpoint and authentication.

Key features of Geoserver

  • 80+ tools for GeoServer management
  • Manage workspaces, datastores, layers, and styles
  • Supports PostGIS, GeoPackage, and Shapefile sources
  • Apply SLD, CSS, and MBStyle formats
  • Organize layers into groups
  • Control access rules and permissions

Use cases of Geoserver

  • Natural-language creation and configuration of GeoServer workspaces
  • Automated publishing of vector and raster layers from existing datastores
  • Styling geospatial data with SLD, CSS, or Mapbox styles via chat
  • Bulk setup of layer groups and security rules

常见问题

1

What GeoServer instances does the server work with?

It works with any GeoServer instance (local or remote) after you configure the GeoServer URL and credentials via environment variables.

2

How many tools are included?

The server provides over 80 tools covering workspaces, datastores, layers, styles, layer groups, and security.

3

What underlying library does this MCP server use?

It is built on the python-geoservercloud library.

4

What can I manage with this server?

You can manage workspaces, datastores (PostGIS, GeoPackage, Shapefile), feature types and layers, styles (SLD/CSS/MBStyle), layer groups, and access rules/permissions.

5

How do I provide authentication credentials?

Credentials are configured through environment variables—set your GeoServer URL and related authentication details before launching the MCP server.

评论

开发工具 分类下的更多 MCP 服务器