modelcontextprotocol / modelcontextprotocol/servers

fetch fails without optional settings

Open
#2,035 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug server-fetch
Dominant language
TypeScript
Stars
90.5k
Forks
11.7k
Avg merge
2d 2h
Merged PRs (30d)
5

Description

Describe the bug
The docs clearly say:

fetch - Fetches a URL from the internet and extracts its contents as markdown.
url (string, required): URL to fetch
max_length (integer, optional): Maximum number of characters to return (default: 5000)
start_index (integer, optional): Start content from this character index (default: 0)
raw (boolean, optional): Get raw content without markdown conversion (default: false)

To Reproduce
Steps to reproduce the behavior:

  1. When I run fetch in LibreChat (Docker) + MCP/Fetch (Docker), I receive the attached errors

Expected behavior
It should disregard optional settings

Image

another try:

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the fetch request in the reported LibreChat and MCP/Fetch Docker setup, then inspect the attached errors and the fetch implementation. Confirm that a request with only the required URL succeeds when optional settings are omitted; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.