Loading...
Loading...
Fetch a single URL and convert its content to Markdown. Use when you need to read a web page, documentation page, or API reference without indexing it. The content is returned as plain Markdown text on stdout.
npx skill4agent add arabold/docs-mcp-server fetch-urlscrapenpx @arabold/docs-mcp-server@latest fetch-url <url> [options]| Flag | Default | Description |
|---|---|---|
| | Follow HTTP redirects |
| Disable following redirects | |
| | HTML processing strategy |
| Custom HTTP header (repeatable) | |
| Suppress non-error diagnostics | |
| Enable debug logging |
| Mode | When to use |
|---|---|
| Default. Tries a simple HTTP fetch first, falls back to Playwright for JS-rendered pages. |
| Force a plain HTTP fetch. Fastest, but misses content rendered by JavaScript. |
| Force a headless browser. Use for SPAs or pages that require JavaScript to render. |
# Fetch a documentation page
npx @arabold/docs-mcp-server@latest fetch-url https://react.dev/reference/react/useEffect
# Fetch with custom auth header
npx @arabold/docs-mcp-server@latest fetch-url https://docs.internal.com/api \
--header "Authorization: Bearer tok_xxx"
# Force Playwright for a JS-heavy page
npx @arabold/docs-mcp-server@latest fetch-url https://some-spa.dev/docs --scrape-mode playwright
# Disable redirect following
npx @arabold/docs-mcp-server@latest fetch-url https://example.com/old-page --no-follow-redirects--output--verboseLOG_LEVEL=INFO--quietnpx @arabold/docs-mcp-server@latest fetch-url <url> > page.mdsearch--header