Fetch MCP Server
获取 MCP 服务器
该 MCP 服务器提供获取各种格式的 Web 内容的功能,包括 HTML、JSON、纯文本和 Markdown。
工具
fetch_html
获取网站内容并以 HTML 格式返回
输入参数:
url(字符串,必需):要获取的网站的 URLheaders(对象,可选):包含在请求中的自定义标头
返回网页的原始 HTML 内容
fetch_json
从 URL 获取 JSON 文件
输入参数:
url(字符串,必需):要获取的 JSON 的 URLheaders(对象,可选):包含在请求中的自定义标头
返回解析后的 JSON 内容
获取文本
获取网站内容并以纯文本形式返回(无 HTML)
输入参数:
url(字符串,必需):要获取的网站的 URLheaders(对象,可选):包含在请求中的自定义标头
返回删除了 HTML 标签、脚本和样式的网页文本内容
fetch_markdown
获取网站内容并以 Markdown 格式返回
输入参数:
url(字符串,必需):要获取的网站的 URLheaders(对象,可选):包含在请求中的自定义标头
返回转换为Markdown格式的网页内容
两种开始方式
包子
bun i
bun start码头工人
docker compose up --build -d用法
{
"mcpServers": {
"fetch-mcp": {
"transport": "sse",
"url": "http://localhost:3000/sse",
"headers": {
"Authorization": "Bearer your-token-here",
"X-Custom-Header": "custom-value"
},
"useNodeEventSource": true
}
}
}资源
此服务器不提供任何持久性资源。它旨在按需获取和转换 Web 内容。
参考
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.47,91441MIT
- AlicenseAqualityDmaintenanceEnables web content scanning and analysis by fetching, analyzing, and extracting information from web pages using tools like page fetching, link extraction, site crawling, and more.613MIT
- AlicenseAqualityCmaintenanceProvides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.42,394812MIT
- AlicenseAqualityDmaintenanceProvides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.4104,4162MIT
Related MCP Connectors
Turns any URL into SEO metadata, contacts, tech stack, and AI-ready Markdown, in one call.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Fetch any URL and get clean Markdown. Web scraping for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/phpmac/fetch_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server