Spaces:
Running
Gradio MCP Integration problem
I have a really hard time to replicate some of the course example is because library version or other technical issu related. The last one concern the communication between an LLM model/client Claude and the count_letter tool publish on the huggingface space.
None of the config provided that I add to claude_desktop_config.json are working
So I get thta Claude only take STDIO, so I copy the config provided:
{
"mcpServers": {
"gradio": {
"command": "npx",
"args": [
"mcp-remote",
"/gradio_api/mcp/sse",
"--transport",
"sse-only"
]
}
}
}
But I get the error in the log:
[gradio] Unexpected token 'P', "Please set"... is not valid JSON
[gradio] Server transport closed
I have absolutly no d--- idea of what this 'P' token is since there is no token at all. I tried to provide a huggin token if it is not a private repo, but didn't work at all any expert here ?
Best Regards.