Skip to main content

redfox-auto-mcp

RedFoxHub 汽车垂类数据 MCP Server — 聚合懂车帝、汽车之家、易车三个平台共 13 个 MCP 工具,适用于 dsh、Claude Code、Cursor 等任意 MCP 客户端。

工具(13)

工具 平台 说明
dongchedi_search_works 懂车帝 关键词搜索作品(综合/视频)
dongchedi_get_work 懂车帝 获取作品详情(video/article)
dongchedi_get_user_works 懂车帝 获取用户作品列表
dongchedi_search_users 懂车帝 关键词搜索账号
autohome_search_works 汽车之家 关键词搜索作品(论坛/文章/视频)
autohome_get_article 汽车之家 获取文章详情(支持长文分页)
autohome_get_video 汽车之家 获取视频详情(原创/车家号)
autohome_get_user_works 汽车之家 获取作者作品列表
yiche_search_works 易车 关键词搜索作品(社区/视频/文章)
yiche_get_article 易车 获取文章详情
yiche_get_video 易车 获取视频详情
yiche_get_user_works 易车 获取用户作品列表
yiche_search_users 易车 关键词搜索账号

认证

  1. 前往 https://redfox.hk/settings/api-keys?source=mcp 获取 API Key
  2. 设置环境变量:
export REDFOX_API_KEY="YOUR_API_KEY"

未配置 key 时,每个工具都会返回结构化的获取引导。

安装与运行(本地 stdio)

需要 Python ≥ 3.10,推荐使用 uv

uvx redfox-auto-mcp

或:

pip install redfox-auto-mcp
redfox-auto-mcp

客户端配置

Claude Code:

claude mcp add redfox-auto --env REDFOX_API_KEY=YOUR_API_KEY -- uvx redfox-auto-mcp

Cursor / 其他 MCP 客户端:

{
  "mcpServers": {
    "redfox-auto": {
      "command": "uvx",
      "args": ["redfox-auto-mcp"],
      "env": { "REDFOX_API_KEY": "YOUR_API_KEY" }
    }
  }
}

远程 HTTP 模式(多租户)

适用于 MCP 市场与托管场景,每个用户携带自己的 API Key:

redfox-auto-mcp --transport http --host 0.0.0.0 --port 8000
# 或环境变量:REDFOX_MCP_TRANSPORT=http REDFOX_MCP_HOST=0.0.0.0 REDFOX_MCP_PORT=8000
  • MCP 端点:http://<host>:8000/mcp(Streamable HTTP);健康检查:GET /health
  • 每个请求通过请求头 X-API-Key: <key>(或 Authorization: Bearer <key>)携带自己的 key,按 key 建独立客户端缓存,额度互不共享

客户端配置(远程 URL + 请求头):

{
  "mcpServers": {
    "redfox-auto": {
      "url": "http://<host>:8000/mcp",
      "headers": { "X-API-Key": "ak_your_key" }
    }
  }
}

Docker 部署

本包目录自带 Dockerfile,可独立构建部署:

cd packages/redfox-auto-mcp
docker build -t redfox-auto-mcp .
docker run -d -p 8000:8000 redfox-auto-mcp

镜像不内置任何 API Key,调用方通过请求头携带自己的 key。

底层实现

基于官方 SDK redfox-python-sdk。API 文档:https://redfox.hk/?source=mcp

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redfox_auto_mcp-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redfox_auto_mcp-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file redfox_auto_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: redfox_auto_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for redfox_auto_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9bcab286686b00c870a4321c5c27d5267ba18bb58547f3058ce95af0cae6dd3e
MD5 51c378cd3cecf742e45ef353b4c81db3
BLAKE2b-256 31236c75e55a16bdb17bcc8d53eb52f7feaf76b91f3bdaf7f2f99066acfa957f

See more details on using hashes here.

File details

Details for the file redfox_auto_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: redfox_auto_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for redfox_auto_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ffdc5aa6e91996e82d6acd417e77d76b35b395bec4b0c67c9f28cb4804b7dd
MD5 5db05172321dde684c9cf04ce52cc18b
BLAKE2b-256 3db8ca170f19b764918e2fe54e89806ff1b8ad4d38f92f041f5bc6f77d8d2ab6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page