interaction
screenshot, getFeatureAtPixel, getFeaturesInExtent
How to use it
Project documentation lists interaction for the Openlayers MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Openlayers MCP
npx openlayers-mcp-runtimeOther tools in Openlayers MCP (8)
enableDraw, disableDraw, getDrawnFeatures
Enable a toolset to register its tools
addFeature, addGeoJSON, removeFeature, updateFeature, listFeatures
addTileLayer, addVectorLayer, removeLayer, listLayers, setLayerVisibility, setLayerOpacity, setLayerZIndex
List all available toolsets and their enabled status
addOverlay, removeOverlay, updateOverlay, listOverlays
setFeatureStyle, setLayerStyle
flyTo, setView, getView, fitExtent, zoomIn, zoomOut