kl-mcp-client 2.0.1__py3-none-any.whl → 2.0.3__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.
- kl_mcp_client/asyncio/client.py +2 -2
- kl_mcp_client/client.py +2 -2
- {kl_mcp_client-2.0.1.dist-info → kl_mcp_client-2.0.3.dist-info}/METADATA +1 -1
- {kl_mcp_client-2.0.1.dist-info → kl_mcp_client-2.0.3.dist-info}/RECORD +6 -6
- {kl_mcp_client-2.0.1.dist-info → kl_mcp_client-2.0.3.dist-info}/WHEEL +0 -0
- {kl_mcp_client-2.0.1.dist-info → kl_mcp_client-2.0.3.dist-info}/top_level.txt +0 -0
kl_mcp_client/asyncio/client.py
CHANGED
|
@@ -23,7 +23,7 @@ class MCPClient:
|
|
|
23
23
|
headers: Optional[Dict[str, str]] = None,
|
|
24
24
|
timeout: int = 30,
|
|
25
25
|
retries: int = 1,
|
|
26
|
-
proxies
|
|
26
|
+
proxies=None,
|
|
27
27
|
):
|
|
28
28
|
"""
|
|
29
29
|
base_url: full MCP HTTP endpoint e.g. http://localhost:3000/mcp
|
|
@@ -47,7 +47,7 @@ class MCPClient:
|
|
|
47
47
|
self._client = httpx.AsyncClient(
|
|
48
48
|
headers=self.headers,
|
|
49
49
|
timeout=httpx.Timeout(self.timeout),
|
|
50
|
-
|
|
50
|
+
proxy=proxies,
|
|
51
51
|
)
|
|
52
52
|
|
|
53
53
|
# local session cache
|
kl_mcp_client/client.py
CHANGED
|
@@ -22,7 +22,7 @@ class MCPClient:
|
|
|
22
22
|
headers: Optional[Dict[str, str]] = None,
|
|
23
23
|
timeout: int = 30,
|
|
24
24
|
retries: int = 1,
|
|
25
|
-
proxies
|
|
25
|
+
proxies=None,
|
|
26
26
|
):
|
|
27
27
|
"""
|
|
28
28
|
base_url: full MCP HTTP endpoint e.g. http://localhost:3000/mcp
|
|
@@ -49,7 +49,7 @@ class MCPClient:
|
|
|
49
49
|
base_url=self.base_url,
|
|
50
50
|
headers=self.headers,
|
|
51
51
|
timeout=httpx.Timeout(self.timeout),
|
|
52
|
-
|
|
52
|
+
proxy=proxies,
|
|
53
53
|
)
|
|
54
54
|
|
|
55
55
|
def close(self):
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
kl_mcp_client/__init__.py,sha256=pdJdBcEH5HaRuHSe2B7VUyRgH5ad3u1dDc4euZMDRMY,106
|
|
2
2
|
kl_mcp_client/__version__.py,sha256=CCYQUt19bi0kfo0Q8q8snnwgw_c9F3s6FFxTMsX1yDE,22
|
|
3
|
-
kl_mcp_client/client.py,sha256=
|
|
3
|
+
kl_mcp_client/client.py,sha256=ujhRp0zC5GJKnBYziIPMdKZqrhv8K2t6tBAuwYw7q_k,4513
|
|
4
4
|
kl_mcp_client/tools.py,sha256=kcxg4Cw1sAf8QmPCF6DW7pET55hZs64ztQxBDoe27go,9350
|
|
5
5
|
kl_mcp_client/asyncio/__init__.py,sha256=pdJdBcEH5HaRuHSe2B7VUyRgH5ad3u1dDc4euZMDRMY,106
|
|
6
|
-
kl_mcp_client/asyncio/client.py,sha256=
|
|
6
|
+
kl_mcp_client/asyncio/client.py,sha256=bgooGIzdU-BKAo0f2wHZKkuIHlKrj5GJ8vxAuwU6Xn4,4409
|
|
7
7
|
kl_mcp_client/asyncio/tools.py,sha256=tCeHUc4ao99Hu4ck0BmvDo95vmTtG1ChvwHamaIx_zE,7655
|
|
8
|
-
kl_mcp_client-2.0.
|
|
9
|
-
kl_mcp_client-2.0.
|
|
10
|
-
kl_mcp_client-2.0.
|
|
11
|
-
kl_mcp_client-2.0.
|
|
8
|
+
kl_mcp_client-2.0.3.dist-info/METADATA,sha256=6Mjh6aH0oD4sPy4V_5wbCksbheNuSrWRBjBGOvxE2Z4,4443
|
|
9
|
+
kl_mcp_client-2.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
kl_mcp_client-2.0.3.dist-info/top_level.txt,sha256=wd_HFFyGjiKavwACuj8Ny0svtVyNsrxCSVU48EkoQ7c,14
|
|
11
|
+
kl_mcp_client-2.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|