GeoServer MCP ServerServer

mahdin75
GitHub
GeoServerGeospatial DataAI Integration

Loading subscription status...

💡 Description

A Model Context Protocol server that connects large language models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language interactions.

📝 JSON Entries

{
  "mcpServers": [
    {
      "geoserver-mcp": {
        "env": {
          "GEOSERVER_URL": "http://localhost:8080/geoserver",
          "GEOSERVER_USER": "admin",
          "GEOSERVER_PASSWORD": "geoserver"
        },
        "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"
        ],
        "command": "docker"
      }
    }
  ]
}

🛠️ Tools

list_workspacescreate_workspaceget_layer_infolist_layerscreate_layerdelete_resourcequery_featuresupdate_featuresdelete_featuresgenerate_mapcreate_styleapply_style

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

💬 Example Queries

  • List available workspaces
  • Get layer information for states
  • Run a query to find states with population over 10 million
  • Generate a map for population visualization