Skip to content

Conversation

@neonwatty
Copy link
Contributor

mcp 1.9.0 has a breaking change for gradio mcp endpoints currently under investigation.

The example gradio endpoint in unit 1 https://abidlabs-mcp-tools.hf.space/gradio_api/mcp/sse uses this latest version and returns 404 errors at present when invoked via the example code.

This PR replaces the endpoint with a duplicated space created by the same author https://abidlabs-mcp-tools2.hf.space/gradio_api/mcp/sse that pins mcp to 1.8.1, avoiding the breaking change allowing the example to function as expected.

This is a temporary solution but at least prevents 404 returns from the current endpoint. It likewise addresses #57.

@neonwatty neonwatty changed the title Unit 1 update gradio mcp client to work around mcp 1.9.0 breaking change Unit 1 update gradio mcp client endpoint to work around mcp 1.9.0 breaking change May 30, 2025
@julien-c
Copy link
Member

pinging @abidlabs just in case

@burtenshaw burtenshaw changed the base branch from main to update-abidlabs-space-in-unit2 June 2, 2025 09:23
@burtenshaw
Copy link
Collaborator

Thanks @neonwatty . This is really use because we received some community queries.

I'm actually changing the mcp clients in unit 1 to not use smolagents, and instead jus InferenceClient. Therefore, I've brought your changes into unit 2 instead, where we use this space, mcp, and smolagents.

#75

@burtenshaw burtenshaw merged commit 3b87be4 into huggingface:update-abidlabs-space-in-unit2 Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants