draw
enableDraw, disableDraw, getDrawnFeatures
How to use it
draw is exposed by the Openlayers MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the draw 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)
Enable a toolset to register its tools
addFeature, addGeoJSON, removeFeature, updateFeature, listFeatures
screenshot, getFeatureAtPixel, getFeaturesInExtent
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