--- title: F1 MCP Server emoji: 🏎️ colorFrom: red colorTo: gray sdk: gradio sdk_version: 5.32.0 app_file: app.py pinned: false license: apache-2.0 short_description: 'Historical & real-time F1 data and strategy' tag: 'mcp-server-track' --- ## MCP Server The MCP server is defined inside `app.py` and is hosted on HuggingFace spaces using the Gradio template. ## MCP Client The MCP client is defined inside `mcp_client.py` and allows interaction with the MCP server through server side events (SSE) transport. For MCP clients that support SSE transport (Not Claude Desktop, see below for info), the following configuration can be used: ```json { "mcpServers": { "gradio": { "url": "https://agents-mcp-hackathon-f1-mcp-server.hf.space/gradio_api/mcp/sse" } } } ``` For Claude Desktop, the following configuration can instead be used, but make sure you have Node.js installed: ```json { "mcpServers": { "gradio": { "command": "npx", "args": [ "mcp-remote", "https://agents-mcp-hackathon-f1-mcp-server.hf.space/gradio_api/mcp/sse", "--transport", "sse-only" ] } } } ```