Skip to main content
Glama
kazuph
by kazuph

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_FETCH_TIMEOUT_MSNoRequest timeout in milliseconds12000
MCP_FETCH_MAX_REDIRECTSNoMaximum number of redirects to follow3
MCP_FETCH_MAX_HTML_BYTESNoMaximum HTML response size in bytes2000000
MCP_FETCH_MAX_IMAGE_BYTESNoMaximum image response size in bytes10000000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
imageFetchA

画像取得に強いMCPフェッチツール。記事本文をMarkdown化し、ページ内の画像を抽出・最適化して返します。

新APIの既定(imagesを指定した場合)

  • 画像: 取得してBASE64で返却(最大3枚を縦結合した1枚JPEG)

  • 保存: しない(オプトイン)

  • クロスオリジン: 許可(CDN想定)

パラメータ(新API)

  • url: 取得先URL(必須)

  • images: true | { output, layout, maxCount, startIndex, size, originPolicy, saveDir }

    • output: "base64" | "file" | "both"(既定: base64)

    • layout: "merged" | "individual" | "both"(既定: merged)

    • maxCount/startIndex(既定: 3 / 0)

    • size: { maxWidth, maxHeight, quality }(既定: 1000/1600/80)

    • originPolicy: "cross-origin" | "same-origin"(既定: cross-origin)

  • text: { maxLength, startIndex, raw }(既定: 20000/0/false)

  • security: { ignoreRobotsTxt }(既定: false)

旧APIキー(enableFetchImages, returnBase64, saveImages, imageMax*, imageStartIndex 等)は後方互換のため引き続き受け付けます(非推奨)。

Examples(新API) { "url": "https://example.com", "images": true }

{ "url": "https://example.com", "images": { "output": "both", "layout": "both", "maxCount": 4 } }

Examples(旧API互換) { "url": "https://example.com", "enableFetchImages": true, "returnBase64": true, "imageMaxCount": 2 }

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

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