safari-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| safari_get_active_tabA | Get metadata (URL, title) for the currently active Safari tab. Call this FIRST before navigating anywhere — the user may already have the page open. |
| safari_find_tabA | Search all open Safari tabs by URL or title substring. Returns matching tabs with window_index and tab_index so you can activate them. Use this before safari_open_url to avoid opening a duplicate tab or losing the user's existing session (e.g. their logged-in GitHub tab). |
| safari_list_tabsA | List all Safari tabs across all windows (includes private flag per window). Use this to discover what is already open before navigating. |
| safari_list_windowsA | List Safari windows and their tabs. Each window includes a "private" flag — prefer non-private windows to access logged-in sessions. |
| safari_open_urlA | Navigate the existing active Safari tab to a URL. Does NOT open a new window or tab — it reuses the current tab. Prefer this over safari_new_tab whenever you just need to visit a URL. |
| safari_new_tabA | Open a NEW Safari tab in the existing front window (never opens a new window, never opens private/incognito). Only use this when you specifically need a separate tab. For simple navigation, use safari_open_url instead. |
| safari_close_tabC | Close a Safari tab. |
| safari_close_tabsC | Close multiple Safari tabs in a window. |
| safari_activate_tabC | Focus a specific Safari tab. |
| safari_activate_windowC | Bring a Safari window to the front. |
| safari_reload_tabC | Reload a Safari tab. |
| safari_go_backC | Navigate back in a Safari tab. |
| safari_go_forwardC | Navigate forward in a Safari tab. |
| safari_get_page_contentC | Read page content from Safari. |
| safari_get_page_markdownC | Return page content as summary-friendly markdown. |
| safari_snapshot_pageC | Return a Playwright-style structured snapshot of the current Safari page. |
| safari_get_page_htmlC | Return full page HTML from Safari. |
| safari_get_selectionC | Get the selected text from Safari. |
| safari_extract_linksC | Extract links from the current Safari page. |
| safari_extract_imagesC | Extract images from the current Safari page. |
| safari_find_in_pageC | Find text occurrences in the current Safari page. |
| safari_summarize_pageC | Return summary-ready content for the current Safari page. |
| safari_run_javascriptC | Run JavaScript in the current Safari page. |
| safari_query_elementsC | Query DOM elements in the current Safari page. |
| safari_click_elementC | Click an element in the current Safari page. |
| safari_type_into_elementC | Type text into an element in the current Safari page. |
| safari_submit_formC | Submit a form in the current Safari page. |
| safari_scroll_pageC | Scroll the current Safari page. |
| safari_wait_for_elementC | Wait for an element to appear in the current Safari page. |
| safari_wait_for_navigationC | Wait for the current Safari page to navigate and finish loading. |
| safari_wait_for_textC | Wait for text to appear or disappear in the current Safari page. |
| safari_list_formsC | List forms and fields from the current Safari page. |
| safari_screenshot_visible_areaB | Capture a screenshot of the visible Safari area. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 33 tools
Most tools are clearly scoped (navigation, tab management, waiting, DOM interaction), and descriptions explicitly steer between safari_open_url vs safari_new_tab and find_tab vs list_tabs. However there is a cluster of near-duplicate read operations — get_page_content, get_page_markdown, get_page_html, snapshot_page, summarize_page — whose boundaries an agent must guess at, and list_tabs/list_windows/find_tab overlap in purpose.
Every tool uses the same safari_ prefix followed by a snake_case verb_noun pattern (get_active_tab, close_tab, wait_for_element, run_javascript). No camelCase or bare-noun outliers, and singular/plural pairs (close_tab/close_tabs) are used meaningfully.
33 tools is well past the point where the surface stays legible, and several of the extra tools are redundant rather than additive (five different ways to read page content, three different tab-listing tools). Navigation, waiting, extraction, and interaction could be covered comfortably with roughly 20 tools.
Core browser automation is covered: navigation, tab/window lifecycle, waiting, content extraction, clicking, typing, form submission, scrolling, JS execution, and screenshots. But there are real gaps — no hover, no select/dropdown option, no key-press or keyboard shortcuts, no full-page or element-level screenshot, and no handling of alerts/dialogs or iframes — which will dead-end common flows.