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)
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdae2d33da334764519bf3549c2ca9e9ca4f7e1d1cc33d1c65238ffa7275e89f
|
|
| MD5 |
b8e3465c3122908c360467d1d7a30145
|
|
| BLAKE2b-256 |
28d9c4772a5cc09473c4e8ecc9c8e8169fd326959c24ab6932f8d0776ce117d8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60d9bb65c87635158de86d34f07b18f41e111ffd33f9f4fb6c7612d94f35cee1
|
|
| MD5 |
5fe193b7b85e94ea2f133a3b28a7163c
|
|
| BLAKE2b-256 |
9f22bd18bd38582f6ae6524e90db0a9f3b5e8c8a5d6c1e749f42143f7b5c4e4d
|