Skip to main content
Glama

Vite MCP Server

by ESnark

get-element-styles

Retrieve specified CSS styles of an element using its selector; inspect element-specific design properties such as color, fontSize, or backgroundColor with a simple query.

Instructions

Retrieves style information of a specific element

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector of the element to inspect
stylePropertiesYesArray of style property names to retrieve (e.g., ['color', 'fontSize', 'backgroundColor'])

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "CSS selector of the element to inspect", "type": "string" }, "styleProperties": { "description": "Array of style property names to retrieve (e.g., ['color', 'fontSize', 'backgroundColor'])", "items": { "type": "string" }, "type": "array" } }, "required": [ "selector", "styleProperties" ], "type": "object" }

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/ESnark/blowback'

If you have feedback or need assistance with the MCP directory API, please join our Discord server