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
Metadata
Release files for redfox-mcp-core 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| redfox_mcp_core-0.1.10.tar.gz | 7.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| redfox_mcp_core-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / redfox_mcp_core-0.1.10.tar.gz
| Download URL | redfox_mcp_core-0.1.10.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72711b38773148324301f32a9d62adfccc08301a186a9f0d27ea750a0258f9f9
|
|
BLAKE2b-256 checksum How to use checksums |
e23af46b3a6aa8b947e6dec886a7810d79be8b16025134270af3152573e9d36c
|
| 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.10-py3-none-any.whl
| Download URL | redfox_mcp_core-0.1.10-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2ad19a7471fe7098e1d37f6879404708fb91950340ab57300442dff04607c49
|
|
BLAKE2b-256 checksum How to use checksums |
b12db53ff0b179956310b418cf971d399a0124b11aa6f2990c57da24532ff8d9
|
| 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.10
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.