f1-mcp-server / README.md
arre99's picture
deleted unused files and folders. cleaned up front-end UI a bit. Tidied up the notebooks for both APIs. Added mcp.json config info in the README
d69ce5a
|
raw
history blame
1.16 kB
metadata
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:

{
  "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:

{
  "mcpServers": {
    "gradio": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://agents-mcp-hackathon-f1-mcp-server.hf.space/gradio_api/mcp/sse",
        "--transport",
        "sse-only"
      ]
    }
  }
}