
Hugging Face Blog
· 2 min read
Five Big Improvements to Gradio MCP Servers
Gradio is an open-source Python package for creating AI-powered web applications. Gradio is compliant with the MCP server protocol and powers thousands of MCP servers hosted on Hugging Face Spaces. The Gradio team is betting big on Gradio and Spaces being the best way to build and host AI-powered MCP servers.
To that end, here are some of the big improvements we've added to Gradio MCP servers as of version 5.38.0.
Seamless Local File Support
If you've tried to use a remote Gradio MCP server that takes a file as input (image, video, audio), you've probably encountered this error:
This happens because the Gradio server is hosted on a different machine, meaning any input files must be accessible via a public URL so they can be downloaded remotely.
While many ways exist to host files online, they all add a manual step to your workflow. In the age of LLM agents, shouldn't we expect them to handle this for you?
Gradio now includes a "File Upload" MCP server that agents can use to upload files directly to your Gradio application. If any tools in your Gradio MCP server require file inputs, the connection documentation will now show you how to start the "File Upload" MCP server:
Learn more about using this server (and important security considerations) in the Gradio Guides.
Real-time Progress Notifications
Depending on the AI task, getting results can take some time. Now, Gradio streams progress notifications to your MCP client, allowing you to monitor the status in real-time!
As an MCP developer, it's highly recommended to implement your MCP tools to emit these progress statuses. Our guide shows you how.
Transform OpenAPI Specs to MCP in One Line
If you want to integrate an existing backend API into an LLM, you have to manually map API endpoints to MCP tools. This can be a time-consuming and error prone chore. With this release, Gradio can automate the entire process for you! With a single line of code, you can integrate your business backend into any MCP-compatible LLM.
Original source
This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on huggingface.co


