geoserver-mcp
Verified Safeby mahdin75
Overview
Enables Large Language Models (LLMs) to interact with and manage geospatial data and services through the GeoServer REST API.
Installation
docker run -i --rm -e GEOSERVER_URL=http://localhost:8080/geoserver -e GEOSERVER_USER=admin -e GEOSERVER_PASSWORD=geoserver -p 8080:8080 mahdin75/geoserver-mcpEnvironment 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
mcp-neo4j
The MCP Neo4j Cypher server enables AI models to interact with a Neo4j graph database, execute Cypher queries (read and write), explore the graph schema, and manage query performance and response sizes.
gis-mcp
A Model Context Protocol (MCP) server that provides AI agents and LLMs with comprehensive GIS capabilities, enabling geospatial analysis, data gathering, and transformations through natural language.
Web-Algebra
Translates natural language instructions into JSON-formatted domain-specific language operations for loading, querying, and writing RDF Linked Data, consumable by AI agents.
enhanced-postgres-mcp-server
This server acts as a Model Context Protocol interface for PostgreSQL, enabling LLMs to query data, modify records, and manage database schema objects with read and write capabilities.