GeoServer MCP Server
The GeoServer MCP Server enables AI assistants to interact with geospatial data and services via the GeoServer REST API. It acts as a gateway using the Model Context Protocol (MCP) for managing geospatial resources.
Capabilities include:
🔍 List, create, and manage GeoServer workspaces and layers
🗺️ Execute spatial queries on vector data using CQL filters
🎨 Generate map images with WMS GetMap
🛠️ Create and apply SLD styles for map visualization
🗑️ Delete resources (workspaces, layers, styles, etc.)
📊 Retrieve detailed metadata about layers and workspaces
🌐 Interact with OGC-compliant web services (WMS, WFS)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GeoServer MCP Serverlist all layers in the 'public' workspace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GeoServer MCP Server
Version 0.5.0 (Beta) is under active development and will be released shortly. We are open to contributions and welcome developers to join us in building this project.
🎥 Demo
Related MCP server: QGISMCP
📋 Table of Contents
🚀 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
🚀 Deployment Options
GeoServer MCP can run in two ways. They share the same product idea (MCP tools over GeoServer) but are separate artifacts. The Python package is unchanged.
GeoServer MCP
│
┌───────────┴───────────┐
│ │
Python MCP Server GeoServer Extension
│ │
▼ ▼
GeoServer GeoServer
│ │
└───────────┬───────────┘
│
MCP Interface
│
▼
AI AgentsPython MCP Server
Run GeoServer MCP separately (pip, Docker, or Smithery). The process speaks MCP to the agent and calls the GeoServer REST API. This is the original, currently published deployment.
See Installation below.
GeoServer Extension
Install the GeoServer MCP Extension directly into GeoServer and expose a remote MCP endpoint at /geoserver/mcp. No Python sidecar is required. Targets GeoServer 2.28.x.
See extension/README.md for architecture, installation, configuration, security, and client examples.
📋 Prerequisites
Python 3.10 or higher
Running GeoServer instance with REST API enabled
MCP-compatible client (like Claude Desktop or Cursor)
Internet connection for package installation
🛠️ Installation
Choose the installation method that best suits your needs:
Installing via Smithery
To install GeoServer MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mahdin75/geoserver-mcp --client claude🛠️ Installation (Docker)
The Docker installation is the quickest and most isolated way to run the GeoServer MCP server. It's ideal for:
Quick testing and evaluation
Production deployments
Environments where you want to avoid Python dependencies
Consistent deployment across different systems
Run geoserver-mcp:
docker pull mahdin75/geoserver-mcp
docker run -d mahdin75/geoserver-mcpConfigure the clients:
If you are using Claude Desktop, edit claude_desktop_config.json
If you are using Cursor, Create .cursor/mcp.json
{
"mcpServers": {
"geoserver-mcp": {
"command": "docker",
"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"
]
}
}
}🛠️ Installation (pip)
The pip installation is recommended for most users who want to run the server directly on their system. This method is best for:
Regular users who want to run the server locally
Systems where you have Python 3.10+ installed
Users who want to customize the server configuration
Development and testing purposes
Install uv package manager.
pip install uvCreate the Virtual Environment (Python 3.10+):
Linux/Mac:
uv venv --python=3.10Windows PowerShell:
uv venv --python=3.10Install the package using pip:
uv pip install geoserver-mcpConfigure GeoServer connection:
Linux/Mac:
export GEOSERVER_URL="http://localhost:8080/geoserver"
export GEOSERVER_USER="admin"
export GEOSERVER_PASSWORD="geoserver"Windows PowerShell:
$env:GEOSERVER_URL="http://localhost:8080/geoserver"
$env:GEOSERVER_USER="admin"
$env:GEOSERVER_PASSWORD="geoserver"Start the server:
If you are going to use Claude desktop you don't need this step. For cursor or your own custom client you should run the following code.
Linux:
source .venv/bin/activate
geoserver-mcpor
source .venv/bin/activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debugWindows PowerShell:
.\.venv\Scripts\activate
geoserver-mcpor
.\.venv\Scripts\activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debugConfigure Clients:
If you are using Claude Desktop, edit claude_desktop_config.json
If you are using Cursor, Create .cursor/mcp.json
Windows:
{
"mcpServers": {
"geoserver-mcp": {
"command": "C:\\path\\to\\geoserver-mcp\\.venv\\Scripts\\geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}Linux:
{
"mcpServers": {
"geoserver-mcp": {
"command": "/path/to/geoserver-mcp/.venv/bin/geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}🛠️ Development installation
The development installation is designed for contributors and developers who want to modify the codebase. This method is suitable for:
Developers contributing to the project
Users who need to modify the source code
Testing new features
Debugging and development purposes
Install uv package manager.
pip install uvCreate the Virtual Environment (Python 3.10+):
uv venv --python=3.10Install the package using pip:
uv pip install -e .Configure GeoServer connection:
Linux/Mac:
export GEOSERVER_URL="http://localhost:8080/geoserver"
export GEOSERVER_USER="admin"
export GEOSERVER_PASSWORD="geoserver"Windows PowerShell:
$env:GEOSERVER_URL="http://localhost:8080/geoserver"
$env:GEOSERVER_USER="admin"
$env:GEOSERVER_PASSWORD="geoserver"Start the server:
If you are going to use Claude desktop you don't need this step. For cursor or your own custom client you should run the following code.
Linux:
source .venv/bin/activate
geoserver-mcpor
source .venv/bin/activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debugWindows PowerShell:
.\.venv\Scripts\activate
geoserver-mcpor
.\.venv\Scripts\activate
geoserver-mcp --url http://localhost:8080/geoserver --user admin --password geoserver --debugConfigure Clients:
If you are using Claude Desktop, edit claude_desktop_config.json
If you are using Cursor, Create .cursor/mcp.json
Windows:
{
"mcpServers": {
"geoserver-mcp": {
"command": "C:\\path\\to\\geoserver-mcp\\.venv\\Scripts\\geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}Linux:
{
"mcpServers": {
"geoserver-mcp": {
"command": "/path/to/geoserver-mcp/.venv/bin/geoserver-mcp",
"args": [
"--url",
"http://localhost:8080/geoserver",
"--user",
"admin",
"--password",
"geoserver"
]
}
}
}File Storage and --storage Usage
GeoServer MCP server supports an optional --storage flag to specify a base directory for all file read/write operations, such as uploading shapefiles, GeoTIFFs, or exporting results.
Overview
The
--storageflag sets the root folder for file operations from all data-related tools.You may supply relative paths (relative to storage root) or absolute paths (bypassing the storage root) as arguments to relevant tools.
If
--storageis not set, paths are resolved as provided by the user (relative to working directory or absolute).
CLI Example
python -m geoserver_mcp.main --storage D:/my/data/dirThis sets D:/my/data/dir as the base path for all files.
Example tool call in Python:
# Will read from D:/my/data/dir/roads.zip if --storage is set to D:/my/data/dir
create_shp_datastore('workspace', 'datastore_name', 'roads.zip')Absolute paths (e.g. 'C:/input/other.shp') are always used as-is.
When Running in Docker
If using Docker, ensure the storage directory is mounted as a volume, e.g.:
docker run -v D:/my/data:/opt/data ...Then launch the server with:
python -m geoserver_mcp.main --storage /opt/dataBest Practices
Use relative paths when interacting with the API/tools as it keeps your setup portable.
For remote or container deployment, always ensure your file data is accessible within the container (use Docker volumes if needed).
Check tool docstrings for which arguments use the storage system.
The --storage system streamlines file management for all users and makes deployment much more flexible!
🛠️ Available Tools
This section details all the available tools and resources exposed by the GeoServer MCP server. These tools allow LLMs to interact with GeoServer's REST API for comprehensive geospatial data management.
🌍 Resource Endpoints
Resource endpoints provide direct access to GeoServer resources via a URI pattern.
Resource URI | Description |
| List available workspaces |
| Get information about a specific layer |
| Handle WMS resource requests |
| Handle WFS resource requests |
📦 Workspace Management
Tool | Description |
| List available workspaces in GeoServer |
| Create a new workspace in GeoServer |
📁 Datastore & Coveragestore Management
Tool | Description |
| Create a new datastore in the given workspace |
| Create a new featurestore in the given workspace |
| Create a GeoPackage (GPKG) datastore |
| Create an ESRI Shapefile datastore |
| Create a new coveragestore in a workspace |
| Delete a coveragestore from a workspace |
| Get details about a single coveragestore |
| Get all coveragestores for a workspace |
| Get a specific datastore by name |
| List all datastores in the given workspace |
🗺️ Layer Management
Tool | Description |
| Get detailed information about a layer |
| List layers in GeoServer, optionally filtered by workspace |
| Create a new layer in GeoServer |
| Delete a resource from GeoServer (generic) |
🧩 Layer Group Management
Tool | Description |
| Create a new layer group with specific layers and (optionally) styles |
| Get a layer group from a workspace |
| List all layer groups in a workspace |
| Add a specific layer to a layer group |
| Remove a layer from a group |
| Delete a layer group from a workspace |
| Update a layer group's details and configuration |
👥 User & User Group Management
Tool | Description |
| Create a new user for GeoServer security |
| Delete a user by name |
| List all users in the GeoServer instance |
| Modify an existing user's properties |
| Create a new user group |
| Delete a user group |
| Return all user groups |
📊 Feature Type & Attribute Management
Tool | Description |
| Query features from a vector layer using CQL filter |
| Publish an existing featurestore |
| Publish a featurestore using a SQL view definition |
| Edit the settings of a feature type in a store |
| List all feature types in a given store |
| Get feature attribute schema/details |
🎨 Style Management
Tool | Description |
| Create a new SLD style in GeoServer |
| Assign/publish a style to a layer |
| Create a categorized style for features |
| Create a classified style for features |
| Create a raster coverage style |
| Create a simple outline-only style for features |
⚙️ System & Service Operations
Tool | Description |
| Get GeoServer manifest metadata/details |
| Obtain general server status |
| Get system status overview/info from GeoServer |
| Fetch GeoServer version string |
| Reload catalog and config from disk |
| Reset all GeoServer caches/connections |
| Update selected OGC service options |
| Add or update a time dimension for a coverage store (for time series) |
📝 Style XML Utilities
Tool | Description |
| Generate SLD for categorized vector style |
| Get SLD XML for classified vector style |
| Generate color map entries for raster SLD |
| Generate XML for raster/coverage SLD |
| XML for outline-only style for a geometry |
🛠️ Client Development
If you're planning to develop your own client to interact with the GeoServer MCP server, you can find inspiration in the example client implementation at examples/client.py. This example demonstrates:
How to establish a connection with the MCP server
How to send requests and handle responses
Basic error handling and connection management
Example usage of various tools and operations
The example client serves as a good starting point for understanding the protocol and implementing your own client applications.
Also, here is the example usgage:
List Workspaces
Tool: list_workspaces
Parameters: {}
Response: ["default", "demo", "topp", "tiger", "sf"]
Get Layer Information
Tool: get_layer_info
Parameters: {
"workspace": "topp",
"layer": "states"
}
Query Features
Tool: query_features
Parameters: {
"workspace": "topp",
"layer": "states",
"filter": "PERSONS > 10000000",
"properties": ["STATE_NAME", "PERSONS"]
}
Generate Map
Tool: generate_map
Parameters: {
"layers": ["topp:states"],
"styles": ["population"],
"bbox": [-124.73, 24.96, -66.97, 49.37],
"width": 800,
"height": 600,
"format": "png"
}
🔮 Planned Features
Coverage and raster data management
Security and access control
Advanced styling capabilities
WPS processing operations
GeoWebCache integration
🤝 Contributing
We welcome contributions! Here's how you can help:
Fork the repository
Create a feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
Please ensure your PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Related Projects
Model Context Protocol - The core MCP implementation
GeoServer REST API - Official GeoServer REST documentation
GeoServer REST Python Client - Python client for GeoServer REST API
🌐 See Also: GIS MCP
For broader geospatial data automation and even more GIS-related MCP features, see GIS MCP by mahdin75.
📞 Support
For support, please Open an issue
🏆 Badges
Available Tools
9 toolscreate_layerC
Create a new layer in GeoServer.
Args:
workspace: The workspace for the new layer
layer: The name of the layer to create
data_store: The data store to use
source: The source data (file, table name, etc.)
Returns:
Dict with status and layer information
| Name | Required | Description | Default |
|---|---|---|---|
| data_store | Yes | ||
| layer | Yes | ||
| source | Yes | ||
| workspace | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While 'Create' implies a write operation, it doesn't address permission requirements, whether the operation is idempotent, what happens if a layer already exists, rate limits, or error conditions. The return format is mentioned but lacks detail about what 'status and layer information' includes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (Args, Returns) and uses minimal sentences. Each sentence serves a purpose, though the parameter explanations could be more informative. The front-loaded purpose statement is effective.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a write operation with 4 required parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what constitutes valid inputs, error handling, or the structure of returned information. The context signals indicate this is a complex tool that needs more comprehensive documentation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description lists all four parameters with brief explanations, but the schema has 0% description coverage. The parameter explanations ('The workspace for the new layer', 'The name of the layer to create', etc.) add basic semantic context beyond just parameter names, though they don't provide format requirements, examples, or constraints.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Create') and resource ('new layer in GeoServer'), making the purpose immediately understandable. However, it doesn't differentiate this tool from potential sibling alternatives like 'create_workspace' or 'create_style' beyond the resource type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'create_workspace' or 'list_layers'. There's no mention of prerequisites, dependencies, or typical scenarios where layer creation is appropriate versus other operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_styleB
Create a new SLD style in GeoServer.
Args:
name: Name for the style
sld: SLD XML content
workspace: Optional workspace for the style
Returns:
Dict with status and style information
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| sld | Yes | ||
| workspace | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While it states this is a creation operation, it doesn't mention permissions required, whether the style becomes immediately available, what happens on duplicate names, or any rate limits. The return format is mentioned but lacks detail about what 'status and style information' includes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is efficiently structured with a clear purpose statement followed by Args and Returns sections. Every sentence adds value, though the Returns section could be more specific about what information is included. The structure helps with quick scanning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a creation tool with 3 parameters, no annotations, and no output schema, the description provides adequate basics but lacks important context. It covers the purpose and parameters reasonably well but misses behavioral details like error conditions, authentication requirements, and specific return format that would be needed for reliable tool invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description compensates well by explaining all three parameters: 'name' for the style name, 'sld' for XML content, and 'workspace' as optional. It clarifies that workspace is optional and provides context about what each parameter represents, though it doesn't specify format constraints for the SLD XML.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Create a new SLD style'), resource ('in GeoServer'), and technology context ('SLD style'). It distinguishes from siblings like create_layer or create_workspace by specifying it creates a style rather than other GeoServer resources.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. While it's clear this creates styles, there's no mention of when to create a style versus using existing ones, or how this relates to sibling tools like create_layer or generate_map that might involve styling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_workspaceC
Create a new workspace in GeoServer.
Args:
workspace: Name of the workspace to create
Returns:
Dict with status and result information
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a creation operation, implying mutation, but doesn't address critical aspects like required permissions, whether the workspace name must be unique, what happens if it already exists, rate limits, or the format of the return dict. This leaves significant gaps for an agent to understand the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded, with the core purpose stated first. The Args and Returns sections are structured clearly, though the return description ('Dict with status and result information') is somewhat vague. No sentences are wasted, but it could be slightly more informative without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity as a mutation operation with no annotations and no output schema, the description is incomplete. It doesn't explain the return value in detail, error conditions, or behavioral nuances like idempotency. For a tool that creates resources, this leaves the agent with insufficient context to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds minimal semantics beyond the input schema. It names the single parameter ('workspace') and states it's the 'Name of the workspace to create', which slightly clarifies the schema's 'Workspace' title. However, with 0% schema description coverage, this doesn't fully compensate—it lacks details like naming constraints, character limits, or examples. The baseline is 3 since the schema covers the parameter structure, but the description provides only basic clarification.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Create a new workspace') and resource ('in GeoServer'), making the purpose immediately understandable. However, it doesn't differentiate this tool from sibling tools like 'list_workspaces' or 'delete_resource' beyond the obvious verb difference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided about when to use this tool versus alternatives. The description doesn't mention prerequisites (e.g., authentication needs), when not to use it, or how it relates to sibling tools like 'list_workspaces' for checking existing workspaces before creation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_resourceC
Delete a resource from GeoServer.
Args:
resource_type: Type of resource to delete (workspace, layer, style, etc.)
workspace: The workspace containing the resource
name: The name of the resource
Returns:
Dict with status and result information
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| resource_type | Yes | ||
| workspace | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses the destructive nature ('Delete'), but lacks critical behavioral details: it doesn't specify if deletion is permanent, what permissions are required, potential side effects (e.g., cascading deletions), rate limits, or error handling. For a destructive tool with zero annotation coverage, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by a structured breakdown of args and returns. Every sentence earns its place by adding necessary information, though the 'Returns' section could be more detailed given no output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (destructive operation with 3 parameters), lack of annotations, and no output schema, the description is incomplete. It covers basic purpose and parameters but misses critical context: behavioral traits (e.g., irreversibility), usage guidelines, and detailed return values. For a deletion tool, this leaves the agent under-informed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds value by explaining each parameter's purpose (e.g., 'resource_type: Type of resource to delete (workspace, layer, style, etc.)'), which clarifies beyond the schema's bare titles. However, it doesn't provide examples, constraints (e.g., valid resource_type values), or format details, leaving some ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Delete') and target ('a resource from GeoServer'), providing a specific verb+resource combination. It distinguishes from siblings like create_layer, create_style, etc., which are creation operations rather than deletions. However, it doesn't explicitly differentiate from potential other deletion tools (none listed in siblings).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites (e.g., resource must exist), exclusions (e.g., cannot delete if in use), or comparisons to other tools like list_layers for verification. It only states what it does, not when to apply it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_mapB
Generate a map image using WMS GetMap.
Args:
layers: List of layers to include (format: workspace:layer)
styles: Optional styles to apply (one per layer)
bbox: Bounding box [minx, miny, maxx, maxy]
width: Image width in pixels
height: Image height in pixels
format: Image format (png, jpeg, etc.)
Returns:
Dict with map information and URL
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| format | No | png | |
| height | No | ||
| layers | Yes | ||
| styles | No | ||
| width | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions that the tool returns 'Dict with map information and URL', which hints at output format, but lacks details on authentication needs, rate limits, error conditions, or whether it's a read-only operation. For a tool that generates images (potentially resource-intensive), this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and appropriately sized. It starts with a clear purpose statement, followed by a bullet-point list of parameters with brief explanations, and ends with return information. Every sentence earns its place, with no redundant or verbose content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 parameters, no annotations, no output schema), the description is moderately complete. It covers parameter semantics effectively but lacks behavioral context (e.g., performance implications, error handling). Without an output schema, the return statement ('Dict with map information and URL') is vague, leaving the agent uncertain about the exact response structure.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds substantial meaning beyond the input schema, which has 0% description coverage. It explains each parameter's purpose (e.g., 'layers: List of layers to include (format: workspace:layer)', 'bbox: Bounding box [minx, miny, maxx, maxy]'), including format hints and optionality. This compensates well for the schema's lack of descriptions, though it doesn't cover all nuances like default values or null handling.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Generate a map image using WMS GetMap.' It specifies the verb ('generate') and resource ('map image'), and mentions the underlying protocol (WMS GetMap). However, it doesn't explicitly differentiate from sibling tools like 'query_features' or 'get_layer_info', which might also involve map-related operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'query_features' (which might retrieve specific data) or 'get_layer_info' (which might provide metadata), leaving the agent to infer usage context. There are no explicit when/when-not instructions or named alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_layer_infoC
Get detailed information about a layer.
Args:
workspace: The workspace containing the layer
layer: The name of the layer
Returns:
Dict with layer metadata
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| workspace | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Get detailed information' implies a read-only operation, the description doesn't address important behavioral aspects like authentication requirements, rate limits, error conditions, or what specific metadata is returned beyond 'Dict with layer metadata'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections for Args and Returns, and the core purpose is stated upfront. It's appropriately sized for a simple lookup tool, though the 'Returns' section could be more informative given the lack of output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read operation with 2 parameters and no annotations, the description is adequate but has clear gaps. It explains what the tool does and documents parameters, but doesn't provide enough behavioral context or output details. With no output schema, the vague 'Dict with layer metadata' return description is insufficient for understanding what information will be available.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description explicitly lists both parameters ('workspace' and 'layer') with brief explanations, which adds value beyond the schema's 0% description coverage. However, it doesn't provide format details, examples, or constraints for these parameters, so it only partially compensates for the schema's lack of descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get detailed information') and resource ('about a layer'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'list_layers' or 'query_features' which might also provide layer information, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided about when to use this tool versus alternatives. With siblings like 'list_layers' and 'query_features' that might overlap in functionality, the description offers no context about when this specific tool is appropriate versus those other options.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_layersB
List layers in GeoServer, optionally filtered by workspace.
Args:
workspace: Optional workspace to filter layers
Returns:
List of layer information dictionaries
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions the tool lists layers and returns information dictionaries, but lacks details on permissions required, pagination behavior, rate limits, error conditions, or what fields the dictionaries contain. This is a significant gap for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, followed by clear Arg and Returns sections in a structured format. Every sentence earns its place with no redundant information, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, 0% schema description coverage, and no output schema, the description is moderately complete. It covers the purpose and parameter semantics adequately but lacks behavioral details like permissions or error handling. For a simple read operation, this is acceptable but not thorough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It documents the single parameter 'workspace' as optional for filtering, adding meaning beyond the schema's basic type and title. However, it doesn't explain the format of workspace names or provide examples, leaving some ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'List' and resource 'layers in GeoServer', with optional workspace filtering. It distinguishes the tool from siblings like 'get_layer_info' (detailed info) and 'list_workspaces' (different resource). However, it doesn't explicitly contrast with 'query_features' (data querying vs metadata listing).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for listing layers, optionally filtered by workspace, but doesn't explicitly state when to use this versus alternatives like 'get_layer_info' (for detailed info on a specific layer) or 'query_features' (for querying layer data). No guidance on prerequisites or exclusions is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_workspacesB
List available workspaces in GeoServer.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action but doesn't describe what 'available' means (e.g., filtered by permissions), the return format, pagination, or error conditions. This is inadequate for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's appropriately sized for a simple tool and front-loaded with the core purpose, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is minimally adequate but lacks completeness. It doesn't explain what 'available' entails or provide behavioral context, which could help the agent use it correctly despite the low complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters with 100% schema description coverage, so the schema fully documents the lack of inputs. The description doesn't need to add parameter details, and it correctly doesn't mention any, earning a baseline 4 for parameter semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('List') and resource ('available workspaces in GeoServer'), providing a specific purpose. However, it doesn't explicitly differentiate from sibling tools like 'list_layers' or 'create_workspace', which would require a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., before creating layers), or exclusions, leaving the agent to infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
query_featuresB
Query features from a vector layer using CQL filter.
Args:
workspace: The workspace containing the layer
layer: The layer to query
filter: Optional CQL filter expression
properties: Optional list of properties to return
max_features: Maximum number of features to return
Returns:
GeoJSON FeatureCollection with query results
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| layer | Yes | ||
| max_features | No | ||
| properties | No | ||
| workspace | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the return format (GeoJSON FeatureCollection) and that parameters are optional, but lacks details on permissions, rate limits, error handling, or whether this is a read-only operation. For a query tool with zero annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and concise, with a clear purpose statement followed by bullet-pointed Args and Returns sections. Every sentence adds value, and there's no redundant information. It's appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 parameters, no annotations, and no output schema, the description is moderately complete. It covers the purpose, parameters, and return format, but lacks behavioral context (e.g., read/write nature, error cases) and usage guidelines. For a query tool with moderate complexity, this is adequate but has clear gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description lists all 5 parameters with brief explanations (e.g., 'Optional CQL filter expression'), adding meaning beyond the schema, which has 0% description coverage. It clarifies optionality and purposes, though it doesn't provide examples or detailed constraints. Since schema coverage is low, the description compensates well, but not fully.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Query features from a vector layer using CQL filter.' It specifies the action (query), resource (features from a vector layer), and method (CQL filter). However, it doesn't explicitly differentiate from sibling tools like 'list_layers' or 'get_layer_info', which reduces it from a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'list_layers' (for listing layers) or 'get_layer_info' (for layer metadata), nor does it specify use cases or prerequisites. This leaves the agent without contextual usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a clearly distinct purpose with no ambiguity. The tools cover different operations like creation (create_layer, create_style, create_workspace), deletion (delete_resource), retrieval (get_layer_info, list_layers, list_workspaces), querying (query_features), and visualization (generate_map). There is no overlap in functionality.
Tool names follow a consistent verb_noun pattern throughout, using snake_case. All tools start with a clear action verb (create, delete, generate, get, list, query) followed by a specific noun, making them predictable and readable.
With 9 tools, this server is well-scoped for managing a GeoServer instance. It covers essential operations for workspaces, layers, styles, and maps without being overly complex or too sparse, making it efficient for agents to handle geospatial data tasks.
The tool set provides comprehensive coverage for core GeoServer operations, including CRUD for layers, styles, and workspaces, along with querying and map generation. A minor gap exists in updating resources (e.g., update_layer or update_style), but agents can work around this by deleting and recreating.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Geospatial AI MCP server — satellite imagery, embeddings, weather, GNS governance
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA server that enables Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the Model Context Protocol.3,501289MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude AI to QGIS, enabling direct interaction with the GIS software for project creation, layer manipulation, code execution, and processing algorithms through natural language prompts.1510Creative Commons Zero v1.0 Universal
- AlicenseCqualityAmaintenanceA Model Context Protocol server that connects LLMs to GIS operations, enabling AI assistants to perform accurate geospatial analysis including geometric operations, coordinate transformations, and spatial measurements.87189MIT
- FlicenseBqualityDmaintenanceA server application that provides PostGIS database connection using Model Context Protocol (MCP), enabling spatial database functionality through natural language interactions.2217
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mahdin75/geoserver-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server