cnhkmcp 1.2.6__py3-none-any.whl → 1.2.7__py3-none-any.whl
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.
- cnhkmcp/__init__.py +1 -1
- cnhkmcp/untracked/platform_functions.py +4 -6
- {cnhkmcp-1.2.6.dist-info → cnhkmcp-1.2.7.dist-info}/METADATA +1 -1
- cnhkmcp-1.2.7.dist-info/RECORD +10 -0
- cnhkmcp-1.2.6.dist-info/RECORD +0 -10
- {cnhkmcp-1.2.6.dist-info → cnhkmcp-1.2.7.dist-info}/WHEEL +0 -0
- {cnhkmcp-1.2.6.dist-info → cnhkmcp-1.2.7.dist-info}/entry_points.txt +0 -0
- {cnhkmcp-1.2.6.dist-info → cnhkmcp-1.2.7.dist-info}/licenses/LICENSE +0 -0
- {cnhkmcp-1.2.6.dist-info → cnhkmcp-1.2.7.dist-info}/top_level.txt +0 -0
cnhkmcp/__init__.py
CHANGED
|
@@ -810,7 +810,7 @@ class BrainApiClient:
|
|
|
810
810
|
self.log(f"Forum search failed: {str(e)}", "ERROR")
|
|
811
811
|
return {"error": str(e)}
|
|
812
812
|
|
|
813
|
-
async def
|
|
813
|
+
async def read_forum_post(self, email: str, password: str, article_id: str,
|
|
814
814
|
headless: bool = False) -> Dict[str, Any]:
|
|
815
815
|
"""Get forum post."""
|
|
816
816
|
try:
|
|
@@ -2030,7 +2030,7 @@ async def search_forum_posts(search_query: str, email: str = "", password: str =
|
|
|
2030
2030
|
return {"error": str(e)}
|
|
2031
2031
|
|
|
2032
2032
|
@mcp.tool()
|
|
2033
|
-
async def
|
|
2033
|
+
async def read_forum_post(article_id: str, email: str = "", password: str = "",
|
|
2034
2034
|
headless: bool = False) -> Dict[str, Any]:
|
|
2035
2035
|
"""
|
|
2036
2036
|
📄 Get a specific forum post by article ID.
|
|
@@ -2444,9 +2444,6 @@ async def get_daily_and_quarterly_payment(email: str = "", password: str = "") -
|
|
|
2444
2444
|
Dictionary containing base payment and other payment data with summaries and detailed records
|
|
2445
2445
|
"""
|
|
2446
2446
|
try:
|
|
2447
|
-
# Initialize client
|
|
2448
|
-
brain_client = BrainApiClient()
|
|
2449
|
-
|
|
2450
2447
|
# Authenticate if credentials provided
|
|
2451
2448
|
if email and password:
|
|
2452
2449
|
auth_result = await brain_client.authenticate(email, password)
|
|
@@ -2507,4 +2504,5 @@ async def get_daily_and_quarterly_payment(email: str = "", password: str = "") -
|
|
|
2507
2504
|
|
|
2508
2505
|
if __name__ == "__main__":
|
|
2509
2506
|
print("🧠 WorldQuant BRAIN MCP Server Starting...", file=sys.stderr)
|
|
2510
|
-
mcp.run()
|
|
2507
|
+
mcp.run()
|
|
2508
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
cnhkmcp/__init__.py,sha256=VI3A7Rs-oPVrJX-aR6KauxyjODzST-gEyIdqFQc9WP0,2758
|
|
2
|
+
cnhkmcp/untracked/forum_functions.py,sha256=QW-CplAsqDkw-Wcwq-1tuZBq48dEO-vXZ8xw7X65EuE,42303
|
|
3
|
+
cnhkmcp/untracked/platform_functions.py,sha256=lJ_ENgn7SU94MoDr0Vta9MwcJS34SE7-4M_j8FMTk88,105451
|
|
4
|
+
cnhkmcp/untracked/user_config.json,sha256=_INn1X1qIsITrmEno-BRlQOAGm9wnNCw-6B333DEvnk,695
|
|
5
|
+
cnhkmcp-1.2.7.dist-info/licenses/LICENSE,sha256=QLxO2eNMnJQEdI_R1UV2AOD-IvuA8zVrkHWA4D9gtoc,1081
|
|
6
|
+
cnhkmcp-1.2.7.dist-info/METADATA,sha256=Yr5UmRTdagf8iX_Xn1p4TId8ApYQ4hhjWHL0Aq-rlvA,5171
|
|
7
|
+
cnhkmcp-1.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
cnhkmcp-1.2.7.dist-info/entry_points.txt,sha256=lTQieVyIvjhSMK4fT-XwnccY-JBC1H4vVQ3V9dDM-Pc,70
|
|
9
|
+
cnhkmcp-1.2.7.dist-info/top_level.txt,sha256=x--ibUcSgOS9Z_RWK2Qc-vfs7DaXQN-WMaaxEETJ1Bw,8
|
|
10
|
+
cnhkmcp-1.2.7.dist-info/RECORD,,
|
cnhkmcp-1.2.6.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
cnhkmcp/__init__.py,sha256=jqCFXwAan-B5a2BJ_At7_gfrb9lkBOvHO06O6VX3_uA,2758
|
|
2
|
-
cnhkmcp/untracked/forum_functions.py,sha256=QW-CplAsqDkw-Wcwq-1tuZBq48dEO-vXZ8xw7X65EuE,42303
|
|
3
|
-
cnhkmcp/untracked/platform_functions.py,sha256=-R_CFxpIRZ7q3YXdD7DUavqTd6f09kWaQLVDwzSFGGE,105521
|
|
4
|
-
cnhkmcp/untracked/user_config.json,sha256=_INn1X1qIsITrmEno-BRlQOAGm9wnNCw-6B333DEvnk,695
|
|
5
|
-
cnhkmcp-1.2.6.dist-info/licenses/LICENSE,sha256=QLxO2eNMnJQEdI_R1UV2AOD-IvuA8zVrkHWA4D9gtoc,1081
|
|
6
|
-
cnhkmcp-1.2.6.dist-info/METADATA,sha256=rlHVfLo9I8KPoxLpJ8HZ9pngFaBMBwi8-KqzBcBSYAM,5171
|
|
7
|
-
cnhkmcp-1.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
cnhkmcp-1.2.6.dist-info/entry_points.txt,sha256=lTQieVyIvjhSMK4fT-XwnccY-JBC1H4vVQ3V9dDM-Pc,70
|
|
9
|
-
cnhkmcp-1.2.6.dist-info/top_level.txt,sha256=x--ibUcSgOS9Z_RWK2Qc-vfs7DaXQN-WMaaxEETJ1Bw,8
|
|
10
|
-
cnhkmcp-1.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|