Back to Home
mahdin75 icon

geoserver-mcp

Verified Safe

by mahdin75

Overview

Enables Large Language Models (LLMs) to interact with and manage geospatial data and services through the GeoServer REST API.

Installation

Run Command
docker 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_URL
  • GEOSERVER_USER
  • GEOSERVER_PASSWORD
  • GEOSERVER_STORAGE_PATH

Security Notes

The server uses environment variables or command-line arguments for GeoServer credentials (URL, username, password), which is good practice to avoid hardcoding. There are no obvious `eval` or `os.system` calls with unvalidated user input that would indicate direct code injection vulnerabilities. The `resolve_storage_path` function attempts to sandbox file operations to a specified base directory if `--storage` is provided, which mitigates some path traversal risks for file uploads. The primary security consideration is the extensive administrative control granted over GeoServer (e.g., creating/deleting workspaces, layers, users). If the GeoServer instance is not properly secured, or if the LLM is given overly permissive access, a compromised LLM or a malicious prompt could lead to data manipulation, deletion, or exposure.

Similar Servers

Stats

Interest Score46
Security Score8
Cost ClassMedium
Avg Tokens500
Stars48
Forks11
Last Update2025-12-13

Tags

geospatialgeoserverllmapidata-management