MCPSafari
未认领MCPSafari: Native Safari MCP Server for AI Agents
安装
claude mcp add --scope user mcp-safari mcp-safari更多Search & Web服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
27 个工具中显示 27 个
文档中列出的工具 (27)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
click
Click by UID, CSS selector, text, or coordinates
close_tab
Close a tab by ID
drag
Drag and drop between elements along an interpolated pointer path; native: true performs a real macOS mouse drag
drop_file
Drop local files onto an element
find
Find elements by CSS selector, visible text or accessible name, or ARIA role (up to 50 matches)
form_input
Batch fill form fields (CSS selector → value map)
handle_dialog
Accept or dismiss alerts, confirms, and prompts
hover
Hover to trigger tooltips, menus, or hover handlers (pointer + mouse events); native: true moves the real OS pointer for true :hover
JavaScript
navigate
Go to a URL, or use back / forward / reload actions
press_key
Press key combinations (e.g., Enter, Meta+a, Control+c); native: true sends a real macOS key event
read_console
Read console messages with level and regex filtering
read_network
Read captured XHR/fetch requests or opt-in resource timings with type, URL-regex, and count filtering
read_page
Get page content as text, html, or snapshot
resize_window
Resize the browser window to specific dimensions
run_steps
Run up to 10 interaction or wait steps sequentially, stopping on the first failure
screenshot
Capture the visible tab area as a PNG image, with viewport, scale, page visibility, and window focus
scroll
Scroll page or element in any direction
select_option
Select a dropdown option by value or label
select_tab
Pin a tab as the default context for future calls
snapshot
Accessibility tree with element UIDs for interaction
status
Report listener, authenticated bridge, version, and token health without requiring a Safari connection
tabs_context
List all open tabs with IDs, URLs, and titles
tabs_create
Open a new tab, optionally with a URL
type_text
Type into an element with optional clearFirst and submitKey
upload_file
Attach local files to an <input type="file">
wait
Wait for a duration, CSS selector, or text to appear