auth-fetch-mcp

v4.0.0
auth-fetch-mcp Checked 4 days ago Published 2 months ago

MCP server that lets AI read Notion, Google Docs, Jira & any login-protected page via a real browser

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

auth_fetch Auth Fetch

Read a login-protected page using a local browser and human-approved capture. Use for authenticated pages or when normal web reading returns a login screen or empty content. Tell the user to sign in and click Capture page before calling. Returns a loaded-DOM snapshot, source URL, time, links, media and completeness warnings. Prefer format=text for reading; html preserves markup. Canvas, frame contents and unloaded content are not extracted. This call waits for the user.

ParameterTypeDescription
url *stringThe URL to fetch content from
formatstringDefaults to readable text. Select html when markup is needed.
max_charsintegerMaximum returned content characters. Defaults to 20000; check truncated.
timeout_secondsintegerTime allowed for manual login and Capture page. Configure the client's tool timeout to be longer.
wait_forstringCSS selector that must be visible after the user captures. A missing selector returns an error.

download_media Download Media

Download only attachments needed for the user's task using saved browser cookies. Returns local paths, sizes, and per-file errors. Check downloaded before reporting success. Cookies may not cover sites that require JavaScript-generated authorization headers. Use include_preview to return small PNG/JPEG/WebP images directly to the AI; larger files need a local file viewer. Run after auth_fetch finishes.

ParameterTypeDescription
urls *arrayOne or more URLs to download
include_previewbooleanInclude small PNG/JPEG/WebP images as MCP image content, within a shared 1 MiB preview budget. Local paths are always returned.
output_dirstringOptional directory to save files to. Defaults to ~/.auth-fetch-mcp/downloads/<timestamp>/

list_pages List Pages

Inspect open browser tabs without navigating. Returns URLs and titles; it does not capture page content.

close_browser Close Browser

Close the browser when the user asks to cancel. An active capture will fail; saved login sessions are retained. Do not call during capture unless cancellation is intended.