agenteyes-mcp is a Node.js MCP server that uses stdio transport and provides agents with web observation capabilities backed by headless Chromium. Its core positioning is "the agent's eyes": a single tool call returns a screenshot PNG, an accessibility tree snapshot, and page text at the same time, making it easy for agents to understand web pages by combining visual and structured content.
Purpose and Positioning This project is used to let agents in an MCP host access and observe public web pages. It does not provide a hosted API; instead, it runs as a local MCP server, or is started by the MCP host in its environment.
Main Capabilities The server provides the screenshot_url tool with the following parameters: url (required): a public http(s) URL. full_page (optional, default false): whether to capture the full scroll height. segment_height (optional, default 0): when full_page is true and the page height exceeds this value, capture multiple viewport PNGs from top to bottom at this height, then return one merged accessibility and text block. width / height (optional): viewport dimensions, default 1280×720. Segmented full-page capture returns multiple PNGs rather than a single stitched image.
Usage The process communicates using the MCP protocol over stdio and can be connected from MCP hosts such as Claude Desktop, Cursor, etc. On first installation, Playwright downloads the Chromium headless shell via a postinstall script. The repository contains installation and running sections, but the materials do not provide specific installation commands; the materials state that it can also be run from a cloned repository. In Claude Desktop, it must be added to claude_desktop_config.json; in Cursor, add a stdio server via Settings → MCP. The specific configuration JSON is not provided at this time.
Security Mechanism (SSRF) The URL is checked before navigation and checked again on the final URL after redirects: Only http: and https: are allowed. DNS resolution results must not point to private or local addresses, including localhost, loopback addresses, RFC1918, link-local 169.254.0.0/16, fe80::/10, ::1,IPv4-mapped IPv6, etc. Only public URLs are supported; private networks and metadata endpoints are blocked.
Use Cases Suitable for MCP workflows that need to let agents view web page screenshots, read page text and accessibility structure, and perform page summaries or visual inspections.
Limitations Only Chromium is supported; Firefox/WebKit are not supported. Login sessions are not retained between calls. Uses one browser process, one page per tool call, and the page is always closed after the call. Rendering is best-effort: heavy SPAs, infinite scrolling, or bot blocking may cause incomplete captures. The server itself has no authentication or rate limiting. No hosted API; it must be run locally or started by the host.
License The project is licensed under the MIT License; see LICENSE for details.