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.7
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.7.tar.gz | 6.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| redfox_mcp_core-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / redfox_mcp_core-0.1.7.tar.gz
| Download URL | redfox_mcp_core-0.1.7.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccc27a897c05e1e9d721159336fd10bef6f4fc0a3ef4b5c639b72c20a3229360
|
|
BLAKE2b-256 checksum How to use checksums |
60e38868dfd93580718e06f66d856fc6abc87b64d8110a31f735ab9dfa3784bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.7-py3-none-any.whl
| Download URL | redfox_mcp_core-0.1.7-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82f2bf2aba78f01a68454ef9dee4035da32063818be40bc754d2e0521f37b667
|
|
BLAKE2b-256 checksum How to use checksums |
1b84bb4f9008c0ec58ae378b5922a54cc75d08f2496f88f92c23e9ced8fb3ff8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.7
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.