redfox-data-mcp 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ __pycache__/
2
+ *.pyc
3
+ .venv/
4
+ dist/
5
+ *.egg-info/
6
+ .DS_Store
7
+
8
+ # npm build artifacts (compiled binaries, not source)
9
+ npm/*/bin/
10
+ npm/*/node_modules/
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.5
2
+ Name: redfox-data-mcp
3
+ Version: 0.2.0
4
+ Summary: RedFox data MCP: find, describe, call and result over the RedFoxHub catalog
5
+ License-Expression: MIT
6
+ Keywords: mcp,redfox
7
+ Requires-Python: >=3.10
8
+ Requires-Dist: redfox-mcp-core>=0.1.7
9
+ Description-Content-Type: text/markdown
10
+
11
+ # redfox-data-mcp
12
+
13
+ 红狐数据的单一 MCP 服务。模型只看到 4 个工具,背后是现有各平台接口的同一批 SDK 调用。
14
+
15
+ | 工具 | 作用 |
16
+ | --- | --- |
17
+ | `find` | 用一句话找能力,最多 6 条。按词匹配,没有匹配不换平台 |
18
+ | `describe` | 读 1 到 10 个能力的参数和示例 |
19
+ | `call` | 按能力编号调用一次。参数不合法时不请求上游 |
20
+ | `result` | 用 `call` 超时返回的 `taskId` 查询异步任务 |
21
+
22
+ HTTP 模式在进入会话前检查 API Key(`REDFOX_API_KEY` 或 `Authorization: Bearer`)。`/health` 除外。打到 SDK 的调用走 `redfox-mcp-core` 的 `call()`,因此 `REDFOX_MCP_LOG=1` 时仍写 `mcp_call`。
23
+
24
+ 远程地址:`https://mcp.redfox.hk/data/mcp`
25
+
26
+ ```json
27
+ {
28
+ "mcpServers": {
29
+ "redfox-data": {
30
+ "url": "https://mcp.redfox.hk/data/mcp",
31
+ "headers": { "REDFOX_API_KEY": "YOUR_API_KEY" }
32
+ }
33
+ }
34
+ }
35
+ ```
36
+
37
+ 本地:
38
+
39
+ ```bash
40
+ export REDFOX_API_KEY="YOUR_API_KEY"
41
+ python -m redfox_data_mcp --transport http --host 0.0.0.0 --port 8080
42
+ ```
43
+
44
+ 目录由 `scripts/extract_catalog.py` 从现有 `redfox-*-mcp` 的 `server.py` 生成。那些包本身没有改动。
@@ -0,0 +1,34 @@
1
+ # redfox-data-mcp
2
+
3
+ 红狐数据的单一 MCP 服务。模型只看到 4 个工具,背后是现有各平台接口的同一批 SDK 调用。
4
+
5
+ | 工具 | 作用 |
6
+ | --- | --- |
7
+ | `find` | 用一句话找能力,最多 6 条。按词匹配,没有匹配不换平台 |
8
+ | `describe` | 读 1 到 10 个能力的参数和示例 |
9
+ | `call` | 按能力编号调用一次。参数不合法时不请求上游 |
10
+ | `result` | 用 `call` 超时返回的 `taskId` 查询异步任务 |
11
+
12
+ HTTP 模式在进入会话前检查 API Key(`REDFOX_API_KEY` 或 `Authorization: Bearer`)。`/health` 除外。打到 SDK 的调用走 `redfox-mcp-core` 的 `call()`,因此 `REDFOX_MCP_LOG=1` 时仍写 `mcp_call`。
13
+
14
+ 远程地址:`https://mcp.redfox.hk/data/mcp`
15
+
16
+ ```json
17
+ {
18
+ "mcpServers": {
19
+ "redfox-data": {
20
+ "url": "https://mcp.redfox.hk/data/mcp",
21
+ "headers": { "REDFOX_API_KEY": "YOUR_API_KEY" }
22
+ }
23
+ }
24
+ }
25
+ ```
26
+
27
+ 本地:
28
+
29
+ ```bash
30
+ export REDFOX_API_KEY="YOUR_API_KEY"
31
+ python -m redfox_data_mcp --transport http --host 0.0.0.0 --port 8080
32
+ ```
33
+
34
+ 目录由 `scripts/extract_catalog.py` 从现有 `redfox-*-mcp` 的 `server.py` 生成。那些包本身没有改动。
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "redfox-data-mcp"
7
+ version = "0.2.0"
8
+ description = "RedFox data MCP: find, describe, call and result over the RedFoxHub catalog"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ keywords = ["mcp", "redfox"]
13
+ dependencies = [
14
+ "redfox-mcp-core>=0.1.7",
15
+ ]
16
+
17
+ [project.scripts]
18
+ redfox-data-mcp = "redfox_data_mcp.server:main"
19
+
20
+ [tool.hatch.build.targets.wheel]
21
+ packages = ["src/redfox_data_mcp"]
22
+
23
+ [tool.hatch.build.targets.wheel.force-include]
24
+ "src/redfox_data_mcp/catalog.json" = "redfox_data_mcp/catalog.json"
25
+
26
+ [tool.hatch.build.targets.sdist]
27
+ include = ["src/redfox_data_mcp", "README.md"]
@@ -0,0 +1,3 @@
1
+ """RedFox 数据 MCP:用 find / describe / call / result 访问红狐全部能力。"""
2
+
3
+ __version__ = "0.2.0"
@@ -0,0 +1,4 @@
1
+ from redfox_data_mcp.server import main
2
+
3
+ if __name__ == "__main__":
4
+ main()