Back to MCP directory
publicPublicdnsLocal runtime

iracing-mcp

iRacing MCP是一个Python项目,通过Model Context Protocol整合iRacing数据,提供获取用户数据、构建自定义应用的工具。

article

README

🚀 iRacing MCP 项目

iRacing MCP 是一个基于 Python 的项目,它将 iRacing 与模型上下文协议(MCP)集成在一起,提供了用于与 iRacing 数据交互并构建自定义应用程序的工具和资源。

🚀 快速开始

前置条件

✨ 主要特性

  • 获取 iRacing 用户配置文件统计信息。
  • 获取任意类别的 iRating 图表。
  • 更多功能即将推出。

💻 使用示例

基础用法

独立运行服务器

要启动 MCP 服务器,请运行:

IRACING_USERNAME="your username" IRACING_PASSWORD="your-password" uvx iracing-mcp

在 VSCode 中运行服务器

在 settings.json 中添加以下内容(在 mcp.servers 中):

"iracing": {
    "command": "uvx",
    "args": [
        "iracing-mcp@latest"
    ],
    "env": {
        "IRACING_USERNAME": "your@email.com",
        "IRACING_PASSWORD": "your password"
    }
}

在 Claude Desktop 上运行 MCP 服务器

在 settings.json 中添加以下内容:

[
    "mcpServers": {
        "iracing": {
            "command": "uvx",
            // 原文档此处未完整,保持原样
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client