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.8

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.8
File Size Uploaded Provenance
redfox_mcp_core-0.1.8.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 15.6 kB

Release files / redfox_mcp_core-0.1.8.tar.gz

Download URL redfox_mcp_core-0.1.8.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7a0268c403b3ba576d891b54c6beaddfa72e39d3542ad0baf0f31af516aaa6f4
BLAKE2b-256 checksum
How to use checksums
4f7f6be1cd85f716b59f002cc51c75311ef567b8d401571e584864404b1b0de5
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.8-py3-none-any.whl

Download URL redfox_mcp_core-0.1.8-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a894b8e0a06e77959a532b65579ed00d23999e2d5f29633e2c9953204a41ea9
BLAKE2b-256 checksum
How to use checksums
7c532e85c6b5454742f1e92b8ab6ed8efc82fcfbfd892840609c7a89b59717ef
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.8

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