Skip to main content

redfox-mcp-core

RedFoxHub 各平台 MCP server 的共享基础包,不直接面向终端用户。

提供能力:

  • RedFoxClient 管理:stdio 模式全局单例;HTTP 模式按请求头 API Key 的多租户缓存(LRU,上限 1000)
  • 统一异常封装:SDK 异常转为结构化结果(auth_failed / rate_limited / api_error),agent 可直接读取出错引导
  • 异步任务辅助:提交后自动轮询至完成,超时返回 taskId 供 result 工具补查
  • server 工厂与启动入口:create_server(name, version) 注册 /health 路由;serve(mcp, prog, description) 解析 --transport stdio|http / --host / --port / --path 并启动

认证方式:

  • stdio:环境变量 REDFOX_API_KEY
  • HTTP:请求头 X-API-Key: ak_xxx(或 Authorization: Bearer ak_xxx

API Key 获取:https://redfox.hk/settings/api-keys?source=mcp

Download files

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

Source Distribution

redfox_mcp_core-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

redfox_mcp_core-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: redfox_mcp_core-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 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_mcp_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c0ee2900e020448353215d6cebf6fb25fb253006378d5a1e447408734462e403
MD5 4eabd1b41c23ed3573f6883b6e6dc769
BLAKE2b-256 616f8314d9138f0b8f1082a4ec1b99654cdd13e0bfb58ee5b221d35db001335e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: redfox_mcp_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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_mcp_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fad0ff2d5bfbedaecfcdcd527b7e58fb2665310b71a549227fc962229ac4c4d
MD5 7a58e16bf55554789fa422790618ac26
BLAKE2b-256 c66e8c1c9313849c13208441de13d1414b53daab3855048d2c7d1ba60d9f68ad

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

2 files

0.1.1

2 files

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