Skip to main content
Glama

MCP Safari Server

by stevenayl
MIT License
1
  • Apple

get_element_text

Extracts text content from a web element using a CSS selector in Safari. Enables web automation, testing, and debugging on macOS via the MCP Safari Server.

Instructions

Get the text content of an element

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector for the element

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS selector for the element", "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/stevenayl/mcp-safari-server'

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