Wraps the python-geoservercloud library to expose 80+ GeoServer REST API operations through MCP. You can manage workspaces, datastores, layers, and styles using natural language instead of writing API calls. Works with Claude Desktop, VS Code, Cursor, and other MCP clients. The underlying library supports the full GeoServer Cloud REST API, so you get things like PostGIS datastore connections, layer publishing, and style management. Reach for this when you're administering GeoServer instances and want to skip the web UI or manual curl commands. Configuration takes three environment variables: your GeoServer URL, username, and password.
A Model Context Protocol (MCP) server that exposes GeoServer REST API functionality for natural language interaction through AI assistants like Claude, VS Code Copilot, and other MCP-compatible clients.
This MCP server wraps the python-geoservercloud library, exposing 80+ GeoServer operations as MCP tools. This enables AI assistants to manage GeoServer workspaces, datastores, layers, styles, and more through natural language commands.
Once connected, you can ask your AI assistant things like:
pip install geoservercloud-mcp
Or use uvx to run without installing (requires uv):
# Install uv first (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Run the MCP server
uvx geoservercloud-mcp
This server is published to the MCP Registry as:
io.github.ronitjadhav/geoservercloud-mcp
Add to your MCP configuration (.vscode/mcp.json):
{
"servers": {
"geoserver": {
"command": "uvx",
"args": ["geoservercloud-mcp"],
"env": {
"GEOSERVER_URL": "http://localhost:8080/geoserver",
"GEOSERVER_USER": "admin",
"GEOSERVER_PASSWORD": "geoserver"
}
}
}
}
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"geoserver": {
"command": "uvx",
"args": ["geoservercloud-mcp"],
"env": {
"GEOSERVER_URL": "http://localhost:8080/geoserver",
"GEOSERVER_USER": "admin",
"GEOSERVER_PASSWORD": "geoserver"
}
}
}
}
Restart Claude Desktop after saving the configuration.
| Variable | Default | Description |
|---|---|---|
GEOSERVER_URL | http://localhost:8080/geoserver | GeoServer base URL |
GEOSERVER_USER | admin | GeoServer username |
GEOSERVER_PASSWORD | geoserver | GeoServer password |
This MCP server is built on the python-geoservercloud library. For programmatic access without MCP, see the library documentation.
from geoservercloud import GeoServerCloud
geoserver = GeoServerCloud(
url="http://localhost:8080/geoserver",
user="admin",
password="geoserver",
)
geoserver.create_workspace("my_workspace")
Full documentation: https://camptocamp.github.io/python-geoservercloud/
For local development, testing, and publishing, see the Developer Guide.
GEOSERVER_URLGeoServer base URL (default: http://localhost:8080/geoserver)
GEOSERVER_USERGeoServer username (default: admin)
GEOSERVER_PASSWORDsecretGeoServer password (default: geoserver)