Skip to main content
Glama

MCP Webscan Server

by bsmi021

fetch-page

Extracts HTML content from a specified URL and converts it to Markdown. Optional CSS selector allows targeting specific page sections for conversion, simplifying web content extraction and formatting.

Instructions

Fetches the HTML content of a given URL. Optionally, it can select a specific part of the HTML using a CSS selector and convert only that part (or the whole body if no selector is provided) to Markdown format. Returns the resulting Markdown text.

Input Schema

NameRequiredDescriptionDefault
selectorNoOptional CSS selector (e.g., '#main-content', '.article-body'). If provided, only the HTML content within the first matching element will be converted to Markdown. If omitted or if the selector doesn't match, the content of the 'body' tag will be used.
urlYesThe fully qualified URL of the web page to fetch. Must be a valid HTTP or HTTPS URL.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "Optional CSS selector (e.g., '#main-content', '.article-body'). If provided, only the HTML content within the first matching element will be converted to Markdown. If omitted or if the selector doesn't match, the content of the 'body' tag will be used.", "type": "string" }, "url": { "description": "The fully qualified URL of the web page to fetch. Must be a valid HTTP or HTTPS URL.", "format": "uri", "type": "string" } }, "required": [ "url" ], "type": "object" }

Other Tools from MCP Webscan Server

Related Tools

    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/bsmi021/mcp-server-webscan'

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