#13833·gradio

No MCP button in View API in Workflow

Author: yvrjsharmaCreated Sep 8, 2026Updated Sep 13, 2026
Labelsbug

Describe the bug

Expected: the Gradio Workflow's View API panel surfaces the MCP connection details, as Blocks does. Actual: it doesn't, so a user has no in-app way to discover the /gradio_api/mcp/ URL or connect a client.

Have you searched existing issues?

  • I have searched and found no existing issues

Reproduction

With gr.Interface:

python
import gradio as gr

def shout(text: str) -> str:
    """Uppercase the text."""
    return text.upper()

# Note that: footer shows "Use via API or MCP"
gr.Interface(shout, "textbox", "textbox").launch(mcp_server=True, )

With gr.Workflow:

python
import gradio as gr

def shout(text: str) -> str:
    """Uppercase the text."""
    return text.upper()

# Workflow: "View API" modal shows only Python/JavaScript/curl, no MCP
gr.Workflow(bind=[shout]).launch(mcp_server=True,)

Screenshot

With gr.Interface: Image

With gr.Workflow: Image****

Logs

bash

System Info

bash
Windows 11
gradio sdk 6.26.0

Severity

I can work around it