Skip to content

Fetch extension fails with "Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/')" #767

Closed

Description

@ch3rn0v

Describe the bug
I installed https://github.com/block/goose/ cli and use ollama to manage a local LLM.
Adding fetch extension worked fine.
I tried both uvx mcp-server-fetch and uvx mcp-server-fetch --ignore-robots-txt to run extension.
Either way fetching any url ends up with Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/'). This is somehow marked as "status":"success" in the tool result.

To Reproduce
Steps to reproduce the behavior:

  1. Install block/goose cli
  2. Set up any llm provider
  3. Install and add fetch extension
  4. Run goose and ask something like this: "read this doc - https://block.github.io/goose/docs/tutorials/custom-extensions/"

Logs

{"role":"assistant","created":1741517422,"content":[{"type":"text","text":""},{"type":"toolRequest","id":"call_7jc59c1n","toolCall":{"status":"success","value":{"name":"mcp_server_fetch__fetch","arguments":{"max_length":2048,"url":"https://block.github.io/goose/docs/tutorials/custom-extensions/"}}}}]}
{"role":"user","created":1741517422,"content":[{"type":"toolResponse","id":"call_7jc59c1n","toolResult":{"status":"success","value":[{"type":"text","text":"Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/')"}]}}]}

Expected behavior
It should return the web page's contents upon a correct call. It shouldn't return status: success if the page's content isn't available.

Additional context
Sometimes it does work: aaif-goose/goose#1329 . But I'm yet to witness it myself.

Activity

  1. added this to the v2.0.0 milestone on Oct 4, 2026
  2. added
    server-fetchReference implementation for the Fetch MCP server - src/fetch
    on Oct 4, 2026
  3. self-assigned this
    on Oct 4, 2026
  4. cliffhall commented on Oct 5, 2026

    @cliffhall
    Member

    Fixed by #5024, merged into v2/main (Wave 5 of #5004).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserver-fetchReference implementation for the Fetch MCP server - src/fetchv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions