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:请求头 REDFOX_API_KEY: ak_xxx(或 Authorization: Bearer ak_xxx / X-API-KEY)
  • HTTP 建连:默认无 Key 返回 401、不建 session(/health 除外);REDFOX_MCP_REQUIRE_API_KEY=0 可关闭拦截(仍打 mcp_connect 日志)
  • 日志:REDFOX_MCP_LOG=1 时记录 mcp_connect(含空连是否带 Key)与 mcp_call

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

Metadata

Release files for redfox-mcp-core 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redfox-mcp-core 0.1.9
File Size Uploaded Provenance
redfox_mcp_core-0.1.9.tar.gz 7.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for redfox-mcp-core 0.1.9
File Interpreter ABI Platform
redfox_mcp_core-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / redfox_mcp_core-0.1.9.tar.gz

Download URL redfox_mcp_core-0.1.9.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9602682c4536aeebae94e8951f21c5b7a0fc8f57b49d3f92ac41e913222f779c
BLAKE2b-256 checksum
How to use checksums
500414ec7f71f0e0dff13164d127a7e812528bb414ff2d25105f1241a3b8829d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / redfox_mcp_core-0.1.9-py3-none-any.whl

Download URL redfox_mcp_core-0.1.9-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ace5e1b4b7fb17bd64a270db74e7587d93bf7910c8328f5af097210ef4de04f
BLAKE2b-256 checksum
How to use checksums
4ed79ea1e0c5f61d56cf683814503cf938ab7fd7885a03d95667a48b56ea479b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for redfox-mcp-core 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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