An agent has a documentation URL and one question to answer. Before giving it a browser session, try a narrower tool: fetch the page, read the relevant passage, and keep the source attached to the answer.
Fetch MCP handles that retrieval step. The upstream reference server retrieves web content and converts HTML to Markdown for model consumption. See the upstream project documentation.
This review covers the documentation. We have not installed the server or measured its extraction accuracy; the acceptance test below is a proposal for evaluating it on your own pages.
Where Fetch belongs
Start with a question that already has a likely source: “What does this migration guide say about the renamed option?” Give the agent that guide’s URL and require it to identify the passage supporting its answer.
For that first test, give each step a separate check:
- Choose a source relevant to the question.
- Retrieve its contents.
- Find the supporting passage.
- Check whether the passage actually answers the question.
- Return the answer with the source, or report what is missing.
A page can be accessible and irrelevant. Grade the answer against the passage the agent cites. A tool call returning text tells you only that retrieval worked.
For background on the connection itself, see what MCP tools are.
Install from the upstream instructions
There is an important discrepancy in our directory snapshot. The Fetch listing records npx @modelcontextprotocol/server-fetch. The upstream README instead recommends uvx mcp-server-fetch and documents a Python package. Use the maintainer’s installation instructions rather than copying the directory command.
The upstream configuration example uses this shape:
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
That example comes from the upstream Claude.app setup. Check where your client expects MCP configuration before adding it.
Record the package version you actually test alongside the client configuration. You’ll need that combination when you repeat the test after an upgrade.
Give the network boundary its own review
The upstream main-branch README documents private-address blocking and an optional host allowlist. Confirm those controls in the release you install. The README also describes limits to the address guard, including DNS rebinding and hosts that only a proxy can resolve. Review the network controls before deployment. The collection’s maintainers describe these servers as educational reference implementations and warn against treating them as production-ready solutions. See the repository warning.
I’d start with approved public documentation hosts. Keep confidential material out of URLs and block requests to internal services. Expand access when a specific reading task needs it.
Keep retrieved content outside the instruction boundary, too. A page telling an agent to upload a file should never become authorization to do so. Our guide to handling untrusted MCP tool results covers that distinction.
A small acceptance test before rollout
Build a fixture set from pages your team actually reads. For each fixture, write down the expected fact before asking the agent anything.
| Fixture | What to check |
|---|---|
| Short documentation page | The answer names the fact and its source |
| Long reference page | The agent identifies any material it could not retrieve |
| Redirecting URL | The final source still fits your approved policy |
| Unavailable page | Failure is reported without invented content |
| Page with hostile instructions | The agent treats those instructions as page data |
Add a sixth case: a reachable page that does not answer the question. Require the agent to say so. Even with working networking, it can still produce an unsupported answer.
Save the retrieved excerpt with each result so a reviewer can check the answer against the text the agent received. For long pages, upstream documents a start_index argument for reading further chunks. Include a fact near the end of one fixture to check whether the agent follows through.
FAQ
Should Fetch replace every browser workflow?
Start with documentation reading. A workflow that requires clicking through an application needs its own evaluation; a successful page fetch tells you little about that task.
Which install command should I use?
Follow upstream’s documented uvx mcp-server-fetch path, subject to your environment and client requirements. The AgentNDX snapshot needs reconciliation; it should not override the maintainer’s instructions.
Does the tool respect robots.txt?
Upstream documents different behavior for model-initiated tool requests and user-initiated prompt requests. Read that distinction before setting an access policy. The behavior is documented in the robots.txt section; review the implementation when auditing a deployment.
Before adding Fetch to a shared agent, keep a copy of the tested configuration and the fixture results. Re-run those same pages after upgrades so you can see which answers or failures changed.