Familiar Mcp

io.github.dominion525由 GitHub 账号 dominion525 发布v0.1.2更新于 Oct 24, 2026

MCP server that drives the user's real macOS Chrome via AppleScript. 32 tools.

概览

AI 生成的概览

通过 AppleScript 驱动用户真实的 macOS Chrome,为助手提供 32 个工具来管理标签页、导航、读取页面和填写表单。

可以做什么
  • 管理标签页:列出、新建普通或无痕标签页、关闭,并查看当前标签页、窗口模式和加载状态
  • 导航与历史控制:打开网址、读取标签页网址、刷新、后退、前进、停止
  • 等待页面加载、等待元素出现或等待 JavaScript 条件成立
  • 读取页面:获取 DOM 的 HTML、元素文本、属性、值、是否存在以及全部匹配项
  • 操作元素与表单:点击、填写、清空、选择选项、设置勾选、按键、提交、滚动到可视区域
  • 执行任意 JavaScript,可内联或从文件运行
适用场景
适合希望助手在用户日常使用的 Chrome 配置中操作,而不是在无头或自动化浏览器中操作的场景,例如对自动化浏览器区别对待的网站,或在 Mac 上进行按标签页隔离的浏览与表单任务。
运行要求
需要 macOS 与已安装的 Google Chrome,并通过 npx 以 stdio 运行本地 npm 包。需在 Chrome 中启用“允许来自 Apple Events 的 JavaScript”,并在首次运行时批准 macOS 自动化权限提示。未声明任何 API 密钥或环境变量。
安装前请注意
它会操作用户真实的浏览器会话,包括无痕标签页,因此已登录的账号和 Cookie 会暴露给助手所执行的操作。execute_js 与 execute_js_file 会在页面上下文中运行任意 JavaScript,而 click、fill、submit、set_checked 会修改页面并可能提交数据。授予自动化与 Apple Events JavaScript 权限会扩大该进程在 Chrome 中的能力范围。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Familiar Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

familiar

Control your real macOS Chrome via AppleScript — no DevTools Protocol, no Playwright.

A Claude Code skill that drives Google Chrome on macOS through AppleScript (Apple Events). It uses your everyday browser instead of a headless/automated one, so pages behind bot/WAF defenses tend to treat it as a normal user.

日本語版は README.ja.md を参照してください。

What it does

Everything is tab-scoped (windowId + tabId); it never relies on the "active tab".

  • list_tabs / new_tab / new_incognito_tab / close_tab — tab management (new_tab uses a normal window, new_incognito_tab an incognito one)
  • active_tab / window_mode / is_loading — inspect active tab / window mode / tab loading state
  • navigate / get_tab_url — navigation
  • reload / go_back / go_forward / stop — history & reload control
  • wait_for_load / wait_for_selector / wait_for_function — wait for page load / element / a JS condition
  • get_html — get the current DOM as HTML
  • get_text / get_attribute / get_value / exists / query_all — read element text / attribute / value / presence / all matches
  • click / fill / clear / select_option / set_checked / press_key / submit / scroll_into_view — interact with elements and forms
  • execute_js / execute_js_file — run arbitrary JavaScript (use the file form for complex scripts)

Selectors accept CSS (default), text=, xpath=, and label= forms.

Prerequisites

  • macOS with Google Chrome
  • Enable Chrome's "Allow JavaScript from Apple Events" (View → Developer → Allow JavaScript from Apple Events)
  • Approve the Automation permission prompt on first run

Install

Claude Code plugin

/plugin marketplace add dominion525/familiar/plugin install familiar@familiar

For local development / testing:

/plugin marketplace add /path/to/familiar/plugin install familiar@familiar

Vercel Skills (agent-skills)

npx skills add dominion525/familiar

This places the skill under ~/.agents/skills/familiar/. Any client that follows the agent-skills spec (Claude Code, Cursor, and others) picks it up automatically. The registry is at https://skills.sh.

MCP server

The mcp/ directory contains an MCP server implementation (TypeScript) that exposes the same 32 actions to any MCP-compatible client (Claude Code, Claude Desktop, Cursor, Codex CLI, and others).

Quick install (Claude Code):

bash
claude mcp add familiar -- npx @dominion525/familiar-mcp@latest

See mcp/README.md for full per-client install and configuration.

Standalone (no install)

The script also runs standalone, without installing the skill:

osascript skills/familiar/familiar.applescript list_tabs

See skills/familiar/SKILL.md for full usage.

License

MIT

来源:README.md,提交 d4b1b3c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分