Skip to main content
Glama
Sanoy24

safe-fetch-mcp-server

by Sanoy24

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind address.127.0.0.1
PORTNoHTTP port.3000
TRANSPORTNoTransport mode. Switch to Streamable HTTP by setting this or using --http flag.stdio
SAFE_FETCH_ALLOWLISTNoComma-separated host allowlist.
SAFE_FETCH_MAX_BYTESNoResponse size cap.5000000
SAFE_FETCH_TIMEOUT_MSNoRequest timeout.10000
SAFE_FETCH_ALLOW_LOCALNoAllow loopback/RFC-1918 targets (never allows metadata/link-local).false
SAFE_FETCH_MAX_REDIRECTSNoRedirect hop limit.5
SAFE_FETCH_RATE_LIMIT_MAXNoRequests per window, per IP (HTTP mode).60
SAFE_FETCH_ALLOWED_ORIGINSNoComma-separated Origin allowlist (CORS) for HTTP mode.
SAFE_FETCH_RATE_LIMIT_WINDOW_MSNoRate-limit window.60000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_urlA

Fetch an http(s) URL and return clean markdown. Read-only; refuses private/loopback/metadata targets by default. Args: url, format ('markdown'|'raw', default 'markdown'), max_bytes?, start_index?. Returns text content plus structuredContent {status, finalUrl, contentType, bytes, truncated}. Example: fetch_url({ url: 'https://example.com' }).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Sanoy24/safe-fetch-mcp-server'

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