POST
/gradio_api/call/generate_mcp_config_controllerGenerate an MCP client configuration
Generates an MCP client configuration using the client name supplied in data. Include exactly one string containing the MCP client name. Use GET /gradio_api/call/{api_name}/{event_id} with the returned event_id to read the result stream.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Input for MCP client configuration generation.
dataarrayrequired
An array containing exactly one string with the MCP client name.
200Returns an
event_id you can use to retrieve the job's result stream.event_idstringrequired
Identifier used to retrieve the result stream.
Error handling
data is required and must contain exactly one string for the MCP client name.