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

Uploaded Python 3

File details

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

File metadata

  • Download URL: redfox_mcp_core-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fdae2d33da334764519bf3549c2ca9e9ca4f7e1d1cc33d1c65238ffa7275e89f
MD5 b8e3465c3122908c360467d1d7a30145
BLAKE2b-256 28d9c4772a5cc09473c4e8ecc9c8e8169fd326959c24ab6932f8d0776ce117d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: redfox_mcp_core-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60d9bb65c87635158de86d34f07b18f41e111ffd33f9f4fb6c7612d94f35cee1
MD5 5fe193b7b85e94ea2f133a3b28a7163c
BLAKE2b-256 9f22bd18bd38582f6ae6524e90db0a9f3b5e8c8a5d6c1e749f42143f7b5c4e4d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

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