style
setFeatureStyle, setLayerStyle
How to use it
style is exposed by the Openlayers MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the style 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
screenshot, getFeatureAtPixel, getFeaturesInExtent
addTileLayer, addVectorLayer, removeLayer, listLayers, setLayerVisibility, setLayerOpacity, setLayerZIndex
List all available toolsets and their enabled status
addOverlay, removeOverlay, updateOverlay, listOverlays
flyTo, setView, getView, fitExtent, zoomIn, zoomOut