Skip to main content
Glama

webfetch-mcp

A minimal read-only MCP server that fetches hard-to-scrape web pages via an anti-detection browser and returns clean, token-efficient markdown.

It exposes exactly one toolfetch(url) → markdown — annotated readOnlyHint: true, so MCP clients that gate writes behind approval prompts (such as a Cloudflare OS MCP gatekeeper) run it without asking.

Why

camofox-mcp exposes 47 browser-automation tools, none annotated read-only, so every fetch queues for manual approval. For the common case — just get me the page text — that friction is needless: a fetch reads a page and mutates nothing. This server declares that honestly and returns the most token-efficient representation available.

Related MCP server: defuddle-fetch-mcp-server

Extraction strategy

camofox-browser has no markdown or readability endpoint — only Playwright ARIA snapshots (a role/name tree, not prose) and arbitrary JS evaluation. This server bundles @mozilla/readability + turndown (via esbuild into IIFE strings at build time) and ships them into the page in a single /evaluate call:

  1. Readability — clean main-article markdown (best; ~10× smaller than a snapshot)

  2. innerText — real prose, falls back here for SPAs / dashboards Readability can't parse

  3. snapshot — ARIA tree, last resort for canvas-heavy or empty-text pages

The output carries a Strategy: marker so the caller knows which ran.

Usage

# Build
npm install
npm run build   # bundles libs + compiles TS

# Run (defaults: port 8090, browser at localhost:9377, no auth)
node dist/src/index.js

Configuration (env)

Var

Default

Purpose

CAMOFOX_URL

http://localhost:9377

camofox-browser REST API base URL

WEBFETCH_HTTP_PORT

8090

MCP Streamable HTTP listen port

WEBFETCH_API_KEY

(unset)

If set, clients must send Authorization: Bearer <key>

MCP protocol check

# initialize + tools/list (expect 1 tool, readOnlyHint=true)
curl -X POST localhost:8090/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"t","version":"0.0.0"}}}'

Deployment

Built by a Komodo Build → registry.zxcapp.de/docker/webfetch-mcp, then deployed as a sibling of camoufox-mcp in the camoufox stack. Shares netbird-client's network namespace so it reaches camofox-browser at localhost:9377.

See services/komodo/plans/webfetch-mcp/ in home-infra for the full deploy plan.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that fetches web pages and extracts clean, AI-friendly Markdown content using Mozilla Readability. It provides secure web access for LLMs with built-in SSRF protection and automated content cleaning for improved context retrieval and summarization.
    1
    65
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server that fetches web content and converts it to clean markdown using the Defuddle library, enabling LLMs to read web pages with better extraction than the default fetch server.
    49
    5
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    MCP server that fetches web pages, extracts clean markdown (reducing token count), caches results, and provides searchable reading history.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server that provides read_page, screenshot, and pdf tools using a real browser, enabling agents to fetch clean markdown, screenshots, and PDFs from any URL.
    5
    53
    MIT

View all related MCP servers

Related MCP Connectors

  • Read any web page as clean Markdown for AI agents: fetch, search, metadata, links. SSRF-safe.

  • Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.

  • Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sashkachan-corp/webfetch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server