Skip to main content
Glama

Vite MCP Server

by ESnark

get-element-html

Extract HTML content of a specific webpage element using a CSS selector, with options to include or exclude outer HTML. Integrates with Vite Dev server for real-time updates and web development workflows.

Instructions

Retrieves the HTML content of a specific element and its children

Input Schema

NameRequiredDescriptionDefault
includeOuterNoIf true, includes the selected element's outer HTML; otherwise returns only inner HTML (default: false)
selectorYesCSS selector of the element to inspect

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "includeOuter": { "description": "If true, includes the selected element's outer HTML; otherwise returns only inner HTML (default: false)", "type": "boolean" }, "selector": { "description": "CSS selector of the element to inspect", "type": "string" } }, "required": [ "selector" ], "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