MCP Node Fetch
MCP 节点获取
一个 MCP 服务器,可使用 Node.js undici库来获取 Web 内容。
特征
使用各种 HTTP 方法从任意 URL 获取内容
支持标头和请求正文
以各种格式返回内容(文本、JSON、二进制、HTML 片段)
优雅地处理错误
配置超时和重定向行为
Related MCP server: MCP Server Fetch Python
MCP 工具
该服务器提供以下 MCP 工具:
fetch-url
从 URL 获取内容并返回。
参数:
url(字符串,必需):要获取的 URLmethod(字符串,可选):HTTP 方法(默认值:“GET”)headers(对象,可选):要包含的 HTTP 标头body(字符串,可选):POST/PUT 请求的请求正文timeout(数字,可选):请求超时(以毫秒为单位)responseType(字符串,可选):如何解析响应(“文本”,“json”,“二进制”,“html片段”)fragmentSelector(字符串,可选):CSS 选择器用于提取特定的 HTML 片段(当 requestType 为“html-fragment”时)followRedirects(布尔值,可选):是否遵循重定向(默认值:true)
extract-html-fragment
使用 CSS 选择器从网页中提取特定的 HTML 内容,并选择性地导航到锚点。
参数:
url(字符串,必需):要获取的 URLselector(字符串,必需):要提取的 HTML 片段的 CSS 选择器anchorId(字符串,可选):用于定位特定片段的可选锚点 IDmethod(字符串,可选):HTTP 方法(默认值:“GET”)headers(对象,可选):要包含的 HTTP 标头body(字符串,可选):POST 请求的请求正文timeout(数字,可选):请求超时(以毫秒为单位)followRedirects(布尔值,可选):是否遵循重定向(默认值:true)
check-status
检查 URL 是否可以访问而无需下载完整内容。
参数:
url(字符串,必需):要检查的 URLtimeout(数字,可选):请求超时(以毫秒为单位)
Claude 用于桌面配置
要与 Claude for Desktop 一起使用,请将其添加到您的claude_desktop_config.json中:
{
"mcpServers": {
"node-fetch": {
"command": "node",
"args": ["dist/index.js"]
}
}
}执照
麻省理工学院
Maintenance
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
- AlicenseAqualityCmaintenanceAn MCP server for fetching and transforming web content into various formats.48MIT
- AlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to fetch web content in multiple formats (HTML, JSON, text, Markdown) with intelligent content extraction, chunk management, and browser automation support.55215MIT
- Alicense-qualityDmaintenanceMCP server for fetching web pages without robots.txt restrictions, supporting all standard HTTP methods, custom headers, body, redirect control, and timeout settings.7MIT
Related MCP Connectors
Free remote MCP server for fetching public web pages through a rotating proxy pool.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
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/mcollina/mcp-node-fetch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server