
Gradio MCP Test
from yownas
A Python-based MCP server that provides tools to get cat images, either as a direct PNG or a URL for Markdown display.
๐ฅโ VerifiedFreeQuick setup
Setup:
- Create a virtualenv with
python -m venv venv - Activate it
source venv/bin/activate - Install requirements
pip install -r requirements - Run the server
python app.py
Edit MCP.json:
{
"mcpServers": {
"gradio-mcp-test": {
"url": "http://localhost:7860/gradio_api/mcp/sse"
}
}
}The server has two tools. cat_image which will return a PNG image of a cat and cat_url that only return the url and ask the LLM to display it using Markdown.
This tool doesn't publish a standard install command โ the repository README on GitHub covers its setup.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.