Skip to main content
Glama

MCP Safari Server

by stevenayl
MIT License
1
  • Apple

execute_script

Run JavaScript code on the active Safari page to automate tasks, test functionality, or debug web applications using the MCP Safari Server.

Instructions

Execute JavaScript in the current Safari page

Input Schema

NameRequiredDescriptionDefault
scriptYesJavaScript code to execute

Input Schema (JSON Schema)

{ "properties": { "script": { "description": "JavaScript code to execute", "type": "string" } }, "required": [ "script" ], "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