Skip to main content
Glama

Context MCP Server

by LangGPT
MIT License
  • Apple
  • Linux

fetch_and_save

Fetches web content from a URL, converts it to markdown via Jina Reader API (or standard fetch as backup), and saves it to a file. Automatically generates a filename if no path is specified.

Instructions

Fetches a URL from the internet using Jina Reader API (with fallback to standard fetch) and saves the content to a file.

This tool first tries to fetch content using Jina Reader API for better markdown conversion, and falls back to the standard fetch method if Jina fails. Files are saved in the configured working directory. If no file path is specified, an automatic filename will be generated based on the URL.

Input Schema

NameRequiredDescriptionDefault
file_pathNoFile path to save the content (optional, will auto-generate if not provided)
rawNoGet the actual HTML content of the requested page, without simplification.
urlYesURL to fetch

Input Schema (JSON Schema)

{ "description": "Parameters for fetching a URL and saving to file.", "properties": { "file_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "File path to save the content (optional, will auto-generate if not provided)", "title": "File Path" }, "raw": { "default": false, "description": "Get the actual HTML content of the requested page, without simplification.", "title": "Raw", "type": "boolean" }, "url": { "description": "URL to fetch", "format": "uri", "minLength": 1, "title": "Url", "type": "string" } }, "required": [ "url" ], "title": "FetchAndSave", "type": "object" }
Install Server

Other Tools from Context MCP 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/LangGPT/context-mcp-server'

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