periscope

io.github.oskar-szulc由 GitHub 帳號 oskar-szulc 發布v0.2.5更新於 Oct 24, 2026

A real Safari-engine (WebKit) browser for agents on macOS: sessions, extraction, bot checks.

概覽

AI 產生的概覽

macOS 上的命令列瀏覽器,採用 Safari 的 WebKit 引擎,讓代理具備持久工作階段、頁面讀取、資料擷取與點擊操作。

可以做什麼
  • 開啟網址,並在指令之間保留具名工作階段
  • 以 markdown 讀取頁面正文,或檢視網址、標題、標題層級與可點擊元素
  • 以 JSON 擷取重複項目、結構化資料與下一頁連結,並列出所有連結
  • 擷取頁面顯示結果的 PNG 截圖
  • 透過 click、fill、type、select、scroll、mouse 操作頁面,可用 CSS 或可見文字與標籤定位
  • 接管視窗完成登入,並辨識 CAPTCHA 與機器人檢查頁面
適用情境
適合需要讓代理在 Mac 上以一般 Safari 訪客身分瀏覽真實網站的場合,例如擷取商品、職缺或搜尋結果清單,以及需要維持登入狀態的多步驟流程。
執行需求
需在 macOS 26 或更新版本本機執行,處於已登入的桌面工作階段且螢幕開啟,不能位於 shell 沙箱內。可透過 Homebrew、安裝腳本、以 Xcode 26 從原始碼建置或 .mcpb 套件安裝;MCP 指令為 periscope mcp。未宣告任何帳號、API 金鑰或環境變數。
安裝前請注意
它會驅動真實瀏覽器並保留已登入的工作階段,憑證與 Cookie 存於這些工作階段中;click、fill、type 等操作會改變遠端網站狀態。遇到機器人檢查或 CAPTCHA 頁面時僅以結束碼提示,不會自動解決。安裝腳本會把遠端腳本直接交給 shell 執行,執行前應先檢視。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 periscope,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

periscope

A command-line browser for AI agents on macOS. It runs Safari's engine (WebKit), so websites see a normal Safari, and it keeps sessions open between commands.

bash
periscope navigate https://books.toscrape.com/ --session demoperiscope text --session demo        # the page as markdownperiscope extract --session demo     # the page's records as JSONperiscope click "text:Next" --session demo

Install

bash
brew install oskar-szulc/tap/periscopeperiscope install-skill    # adds the agent skill to this project

Without Homebrew: curl -fsSL https://raw.githubusercontent.com/oskar-szulc/periscope/main/install.sh | sh

To build from source instead (Xcode 26): swift build -c release, then copy .build/release/periscope onto your PATH.

For agents

  • Claude Desktop: download periscope-<version>.mcpb from the latest release and open it
  • Claude Code: /plugin marketplace add oskar-szulc/periscope, then /plugin install periscope@periscope
  • Codex, Cursor and others: npx skills add oskar-szulc/periscope
  • MCP clients: listed in the MCP Registry as io.github.oskar-szulc/periscope; the command is periscope mcp, e.g. claude mcp add periscope -- periscope mcp, or in a JSON config: {"mcpServers": {"periscope": {"command": "periscope", "args": ["mcp"]}}}
  • Any agent with a shell: periscope docs prints the full reference

Reading a page

CommandReturnsUse it to
textThe page's main content as markdown, links includedRead an article or a post
stateURL, title, headings, the start of the content, and every clickable element with a selector and a number (@3)Decide what to click or fill next
extractJSON: the page's repeated items (cards, results, table rows), its structured data, and the next-page linkScrape a list of jobs, products or results
linksEvery link on the page as an absolute URL (--match to filter)Collect URLs to visit next
screenshotA PNG of the page as displayedSee the layout, or check visual content

What else you can do

  • Act: click, fill, type, select, scroll, mouse, targeting CSS or what a person sees (text:Next, label:Email)
  • Stay logged in: named sessions persist; login and show let you take over the window
  • Know when you're blocked: CAPTCHA and bot-check pages exit with code 5

Full reference: PERISCOPE.md. Why and how it was built: Building periscope.

Requirements

  • macOS 26 or newer, in a logged-in desktop session with the display on
  • Not inside a shell sandbox (periscope exits with a message if it is)

License

MIT. Contributions: see CONTRIBUTING.md. Made by Oskar Szulc.

來源:README.md,提交 7d4a01e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v0.2.5最新Oct 1, 2026
  2. v0.2.4Oct 1, 2026
  3. v0.2.1Sep 30, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分