interaction
screenshot, getFeatureAtPixel, getFeaturesInExtent
How to use it
interaction is exposed by the Openlayers MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the interaction tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
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