Skip to content

Unpin mcp < 1.7.0 #1287

@albertvillanova

Description

@albertvillanova

Unpin mcp < 1.7.0.

In order to fix our CI

we had to pin mcp < 1.7.0

We should revert the pin, once the underlying issue is fixed.

After investigation, I found a 401 Unauthorized HTTP error is raised:

Traceback (most recent call last):
  File "venv/lib/python3.11/site-packages/mcp/client/sse.py", line 53, in sse_client
    event_source.response.raise_for_status()
  File "venv/lib/python3.11/site-packages/httpx/_models.py", line 763, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'http://127.0.0.1:8000/sse'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

There is an open issue in the mcp repo:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions