Skip to content

AutoWebMCP v0.3.0

Latest

Choose a tag to compare

@apartsin apartsin released this 09 Mar 10:36
· 4 commits to main since this release

What's New

Facebook MCP Server (18 tools)

Generated MCP server for Facebook with 18 semantic tools covering news feed, posts, notifications, composer, and navigation. First obfuscated-DOM app — all selectors use ARIA attributes and text content matching (zero CSS class selectors).

Tools: search_facebook, open_notifications, open_messenger, open_menu, open_composer, set_post_text, close_dialog, navigate_to, get_feed_posts, like_post, react_to_post, comment_on_post, open_post_actions, save_post, hide_post, scroll_feed, get_notifications, get_page_state

20 Framework Robustness Improvements

Template fixes (commands-template.mjs):

  • Fix offsetParent visibility check — replaced with offsetHeight > 0 across all utilities. Elements with position: fixed (Facebook menus, overlays) were incorrectly detected as hidden.
  • Broaden clickMenuItem() — now searches both [role="menuitem"] and [role="button"] within menus. Facebook uses non-standard role="button" for menu items.
  • New utility: findMenuItemByText(text) — find menu item element without clicking (for __clickCoords)
  • New utility: extractTextContent(el, opts) — smart text extraction handling Lexical, ProseMirror, and plain contentEditable editors
  • New utility: retryWithFallback(primary, fallback) — reduces try/catch boilerplate in generated commands
  • Lexical editor note on setContentEditableValue() — readback delay guidance for Lexical-based editors

Server template fixes (mcp-server-template.mjs):

  • Session expiry detectionexec() now detects auth redirects (/login, /signin, /checkpoint) and returns a clear state_error instead of cryptic selector failures
  • --smoke-test CLI flag — run node index.mjs --smoke-test for CI integration
  • Comprehensive exec() JSDoc — all signal patterns (__clickCoords, __hoverCoords, __keyPress, __navigate, __followUp) fully documented

Learning skill improvements (SKILL.md):

  • DOM portal detection — React createPortal awareness; search globally when dialog children are missing
  • Click-to-activate detection — elements that don't exist in DOM until placeholder is clicked
  • Editor framework detection — identify Lexical, ProseMirror, Quill, TinyMCE for correct input strategy
  • Hover interaction exploration — detect hover-dependent UI (reaction bars, tooltip menus)
  • Feed/card discovery — anchor-based container discovery with getRepeatingContainers()
  • Dynamic exploration budgets — scale budget to app complexity (element count heuristic)
  • Parallel exploration guidance — use Agent tool for independent regions in complex apps
  • Selector validation cache — skip re-validating selectors already confirmed working
  • _validate_all() handles __clickCoords — trusted-click tools properly validated

MCP Catalogue

App Tools Confidence
Google Sites 33 91%
Google Forms 30 90%
Facebook 18 80%

Full Changelog

v0.2.0...v0.3.0