Fetch MCP Server
Reference MCP server that fetches a URL and returns its content as markdown, in chunks, for LLM use.
- Autor
- Model Context Protocol
- Funktioniert mit
- Any MCP client
- Lizenz
- MIT
- Dokumentiert
- Oct 2, 2026
Was Fetch MCP Server ist
A Python MCP server that retrieves web pages and converts HTML to markdown. Responses are truncated, and start_index lets the model read a page in chunks.
Was es kann
- Fetch a URL and return markdown
- Limit output with max_length (default 5000)
- Page through long content with start_index
- Return raw content when raw is true
- Expose a fetch prompt
Wann Sie es einsetzen sollten
Gut geeignet
- Letting an agent read a known web page
- Reading long pages in chunks
Nicht geeignet für
- Locked-down environments: README warns it can reach local/internal IP addresses
- Production use without review: The root README says these are reference implementations meant as educational examples, not production-ready solutions.
So installieren Sie Fetch MCP Server
Sie benötigen: uv/uvx or pip with Python; MCP Python SDK 1.x (mcp>=1.29.0,<2); Node.js optional
- Install uv (recommended) or use pip/Docker
- Run it with uvx mcp-server-fetch, or pip install mcp-server-fetch
- Add the command to your MCP client config
- Optionally install Node.js for a more robust HTML simplifier
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
]
}
}
}Berechtigungen und Sicherheit
Worauf es zugreifen kann
- Network access to fetch any URL, including local/internal addresses
Sicherheitshinweise der Maintainer
- README caution: can access local/internal IP addresses and may expose sensitive data
- The root README says these are reference implementations meant as educational examples, not production-ready solutions.
Prüfen Sie den Quellcode, bevor Sie einem Agenten Zugriff auf Zugangsdaten oder Produktivsysteme geben. Wir dokumentieren die Angaben der Maintainer; Code prüfen wir nicht.
Einschränkungen
- Responses are truncated by default
- Port to MCP SDK 2.0 is in progress
Häufig gestellte Fragen
Is the Fetch MCP server safe to point at internal networks?
The README cautions it can access local and internal IP addresses and may be a security risk. Quelle
How does Fetch MCP read long pages?
It truncates output; use start_index to continue from a later character offset. Quelle
How do I run the Fetch MCP server?
Use uvx mcp-server-fetch, or pip install mcp-server-fetch, or the mcp/fetch Docker image. Quelle
Verwandte Ratgeber
Quellen und Lücken
- https://raw.githubusercontent.com/modelcontextprotocol/servers/main/src/fetch/README.md readme, geprüft Oct 2, 2026
- https://raw.githubusercontent.com/modelcontextprotocol/servers/main/README.md readme, geprüft Oct 2, 2026
Von den Maintainern nicht angegeben: Hosts other than generic MCP clients are not individually named as supported for Claude Code/Cursor/Windsurf/Codex in this README; last_release date not visible in the checked README.