geoserver-mcp

geoserver-mcp

18

GeoServer MCP Server is a Model Context Protocol implementation designed to connect LLMs with GeoServer's REST API, providing enhanced capabilities for handling geospatial data. It offers a range of tools for workspace, layer management, and visualization, with easy integration for clients.

GeoServer MCP Server

A Model Context Protocol (MCP) server to connect Large Language Models (LLMs) with the GeoServer REST API for interacting with geospatial data services.

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

Prerequisites

  • Python 3.10 or higher
  • Running GeoServer instance with REST API enabled
  • MCP-compatible client

Installation

Choose between Docker or pip for installation. Docker provides an isolated environment while pip is recommended for local setup.

Available Tools

  • Workspace and Layer Management: list, create, and manage workspaces and layers
  • Data Operations: query and update features
  • Visualization: generate maps and apply styles

Planned Features

  • Coverage and raster data management
  • Security and access control
  • Advanced styling

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit changes
  4. Push to the branch
  5. Open a Pull Request

License

MIT License.