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.1.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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: redfox_mcp_core-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f5348703eba3264cbc6841b31b363f049af1842b4e5590297fa84d32ca616b9e
MD5 e0465dd2f15cb7f9891dcccc27402de3
BLAKE2b-256 6e1e775e50b0204daece0a809635d167e498dc3ca27169edd9f636b410845ee0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: redfox_mcp_core-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37a2e33c6d37bcece59407e6b25c6318740ba78f093fa6f4fc1118222bb7bd60
MD5 b31a3fa265b4fc4af1a2ae06a367574e
BLAKE2b-256 3ec950784bd861c10f04ecc53e960549318f0c125237a7dc5ec3620c48b30a84

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

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