Location Services · Research & Data

Geoserver MCP Server logo

Geoserver MCP Server

mahdin75/geoserver-mcp

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.

Install

docker run -i --rm -e GEOSERVER_URL=<value> -e GEOSERVER_USER=<value> -e GEOSERVER_PASSWORD=<value> -p 8080:8080 mahdin75/geoserver-mcp

Client configuration

{
  "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"
      ]
    }
  }
}

Environment variables

GEOSERVER_URLGEOSERVER_USERGEOSERVER_PASSWORD
GitHub stars
11
Author
@mahdin75
Category
Location Services, Research & Data
License
MIT
Updated
Oct 6, 2026

About Geoserver MCP Server

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.

Features

  • Query and manipulate GeoServer workspaces, layers, and styles

  • Execute spatial queries on vector data

  • Generate map visualizations

  • Access OGC-compliant web services (WMS, WFS)

  • Easy integration with MCP-compatible clients

Tools (40)

  • list_workspaces

    List available workspaces in GeoServer

  • create_workspace

    Create a new workspace in GeoServer

  • 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

  • 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)

  • 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

  • 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

  • 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

  • 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

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

Related MCP servers

More servers
Baidu Map logo

Baidu Map

baidu-maps/mcp

240

Baidu Map MCP Server is a fully MCP-compliant, open-source Location-Based Service (LBS) solution, providing a comprehensive suite of geospatial APIs and tools for developers and AI agents.

Location Services
Open Streetmap MCP logo

Open Streetmap MCP

jagan-shanmugam/open-streetmap-mcp

41

An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.

Location Services
Awesome MCP Server Cn logo

Awesome MCP Server Cn

LeslieLeung/awesome-mcp-server-cn

39

A curated list of MCP Server resources for common services in China, covering maps, weather, cloud services and more.

Location Services
Google Maps (Travel Planner) logo

Google Maps (Travel Planner)

gongrzhe/travel-planner-mcp-server

37

A Travel Planner Model Context Protocol (MCP) server implementation for interacting with Google Maps and travel planning services. This server enables LLMs to perform travel-related tasks such as location search, place details lookup, and travel time calculations.

Location Services
MCP Server Ipinfo logo

MCP Server Ipinfo

briandconnelly/mcp-server-ipinfo

18

A Model Context Protocol server that exposes the ipinfo.io API to AI agents. Geolocate IPv4 and IPv6 addresses, identify ISPs and ASNs, detect VPN/proxy/Tor exit nodes, and generate interactive maps for sets of IPs.

Location Services
MCP-Geo logo

MCP-Geo

webcoderz/MCP-Geo

16

All dependencies are specified in requirements.txt for easy installation.

Location Services