Gradio MCP Test Server

एक Python-आधारित MCP सर्वर जो बिल्ली की छवियाँ प्राप्त करने के लिए उपकरण प्रदान करता है, या तो सीधे PNG के रूप में या Markdown प्रदर्शन के लिए URL के रूप में।

दस्तावेज़

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.