Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Facebook Playwright

БесплатноНе проверен

Model Context Protocol (MCP) server for personal Facebook automation using Playwright.

GitHubEmbed

Описание

Model Context Protocol (MCP) server for personal Facebook automation using Playwright.

README

Python 3.10+ MCP Playwright License: MIT

A Model Context Protocol (MCP) server for personal Facebook automation using Playwright.

Features

  • check_login_status: Verify whether your Facebook session is active.
  • read_newsfeed: Retrieve recent posts from your personal newsfeed.
  • post_personal_status: Publish new status updates directly to your timeline.
  • search_facebook: Search for posts, people, groups, or pages.
  • read_page_or_group: Extract readable content from any specific Facebook link.

Architecture

AI Client (Antigravity / Claude)
              │
              ▼  (JSON-RPC / stdio)
   Facebook MCP Server (FastMCP)
              │
              ▼  (Local Playwright Session)
   Chromium with Persistent Profile
              │
              ▼  (User Actions)
         Facebook.com

Installation

git clone https://github.com/thieuhoang2002/facebook-playwright-mcp.git
cd facebook-playwright-mcp
pip install -e .
playwright install chromium

Quick Start (One-Time Authentication)

Run the interactive login command:

facebook-mcp-login
  1. A visible Chrome window will open to facebook.com.
  2. Log into your account (complete 2FA if enabled).
  3. Once your feed is visible, switch back to your terminal and press ENTER.
  4. Your browser profile will be saved locally to ~/.facebook_mcp/browser_profile/.

MCP Client Configuration

Claude Desktop / Antigravity (mcp_config.json)

{
  "mcpServers": {
    "facebook": {
      "command": "facebook-mcp"
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "facebook": {
      "command": "facebook-mcp"
    }
  }
}

Contributing

See CONTRIBUTING.md for local setup and contribution workflow.

Security & Privacy

See SECURITY.md for security notes and credential protection details.

from github.com/thieuhoang2002/facebook-playwright-mcp

Установить Facebook Playwright в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install facebook-playwright

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add facebook-playwright -- uvx --from git+https://github.com/thieuhoang2002/facebook-playwright-mcp facebook-playwright-mcp

Пошаговые гайды: как установить Facebook Playwright

FAQ

Facebook Playwright MCP бесплатный?

Да, Facebook Playwright MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Facebook Playwright?

Нет, Facebook Playwright работает без API-ключей и переменных окружения.

Facebook Playwright — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Facebook Playwright в Claude Desktop, Claude Code или Cursor?

Открой Facebook Playwright на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Facebook Playwright with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории browse