Five Big Improvements to Gradio MCP Servers
read at source ↗ huggingface.co
Five Big Improvements to Gradio MCP Servers
Source: HuggingFace Date: 2025-07-17 URL: https://huggingface.co/blog/gradio-mcp-updates
Summary
Library update (Gradio v5.38.0): five improvements to Gradio MCP server capabilities. (1) Local file upload support for MCP agents without requiring public URLs. (2) Real-time progress streaming to MCP clients during long tasks. (3) OpenAPI-to-MCP one-liner via gr.load_openapi() — any REST API with an OpenAPI spec becomes an MCP server. (4) gr.Header type for automatic auth header extraction. (5) api_description parameter for custom tool descriptions beyond auto-generated text.
Implications
HF as open-source ML hub. The gr.load_openapi() conversion is the most consequential addition: it means any existing REST API can be surfaced as an MCP tool through a Gradio Space, with no additional MCP server development. This dramatically expands the supply of MCP tools available to open-weights agents using HuggingChat or Claude Code with HF MCP.
Transformers library trajectory — agent/tool thread. Gradio MCP improvements track directly with MCP adoption growth. Progress notifications during long-running tool calls is specifically valuable for agent use cases where model calls, embedding, or data processing run for seconds or minutes — previously a silent wait that gave no client feedback.