Skip to main content
Glama

MCP Node Fetch

fetch-url

Retrieve web content from a URL using HTTP methods like GET, POST, PUT, and DELETE. Supports custom headers, request body, timeout, and response formats. Built with Node.js undici library.

Instructions

Fetch content from a URL

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body for POST/PUT/PATCH requests
followRedirectsNoWhether to follow redirects
headersNoHTTP headers
methodNoHTTP methodGET
responseTypeNoHow to parse the responsetext
timeoutNoRequest timeout in milliseconds
urlYesURL to fetch

Input Schema (JSON Schema)

{ "properties": { "body": { "description": "Request body for POST/PUT/PATCH requests", "type": "string" }, "followRedirects": { "default": true, "description": "Whether to follow redirects", "type": "boolean" }, "headers": { "additionalProperties": { "type": "string" }, "description": "HTTP headers", "type": "object" }, "method": { "default": "GET", "description": "HTTP method", "enum": [ "GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "PATCH" ], "type": "string" }, "responseType": { "default": "text", "description": "How to parse the response", "enum": [ "text", "json", "binary", "html-fragment" ], "type": "string" }, "timeout": { "description": "Request timeout in milliseconds", "type": "number" }, "url": { "description": "URL to fetch", "type": "string" } }, "required": [ "url" ], "type": "object" }
Install Server

Other Tools from MCP Node Fetch

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/mcollina/mcp-node-fetch'

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