GeoServer MCP Server

MIT License
10
  • Linux
  • Apple

query_features

Extract vector layer data from GeoServer using CQL filters to specify query conditions, return properties, and limit results.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
filterNo
layerYes
max_featuresNo
propertiesNo
workspaceYes

Input Schema (JSON Schema)

{ "properties": { "filter": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Filter" }, "layer": { "title": "Layer", "type": "string" }, "max_features": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 10, "title": "Max Features" }, "properties": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Properties" }, "workspace": { "title": "Workspace", "type": "string" } }, "required": [ "workspace", "layer" ], "title": "query_featuresArguments", "type": "object" }

You must be authenticated.

Other Tools from GeoServer MCP Server

Related Tools

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