nvidia-nat-mcp 1.3.0rc3__py3-none-any.whl → 1.4.0a20251010__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.
- nat/plugins/mcp/client_base.py +1 -1
- nat/plugins/mcp/client_impl.py +7 -1
- nat/plugins/mcp/tool.py +7 -1
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/METADATA +4 -4
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/RECORD +10 -10
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/WHEEL +0 -0
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/licenses/LICENSE-3rd-party.txt +0 -0
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/licenses/LICENSE.md +0 -0
- {nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/top_level.txt +0 -0
nat/plugins/mcp/client_base.py
CHANGED
@@ -634,7 +634,7 @@ class MCPToolClient:
|
|
634
634
|
|
635
635
|
try:
|
636
636
|
# Simple tool call - session context is already in the client instance
|
637
|
-
logger.info("Calling tool %s", self._tool_name)
|
637
|
+
logger.info("Calling tool %s with arguments %s", self._tool_name, tool_args)
|
638
638
|
result = await self._parent_client.call_tool(self._tool_name, tool_args)
|
639
639
|
|
640
640
|
output = []
|
nat/plugins/mcp/client_impl.py
CHANGED
@@ -455,7 +455,13 @@ def mcp_session_tool_function(tool, function_group: MCPFunctionGroup):
|
|
455
455
|
_ = session_tool.input_schema.model_validate(kwargs)
|
456
456
|
return await session_tool.acall(kwargs)
|
457
457
|
except Exception as e:
|
458
|
-
|
458
|
+
if tool_input:
|
459
|
+
logger.warning("Error calling tool %s with serialized input: %s",
|
460
|
+
tool.name,
|
461
|
+
tool_input.model_dump(),
|
462
|
+
exc_info=True)
|
463
|
+
else:
|
464
|
+
logger.warning("Error calling tool %s with input: %s", tool.name, kwargs, exc_info=True)
|
459
465
|
return str(e)
|
460
466
|
|
461
467
|
return FunctionInfo.create(single_fn=_response_fn,
|
nat/plugins/mcp/tool.py
CHANGED
@@ -94,7 +94,13 @@ def mcp_tool_function(tool: MCPToolClient) -> FunctionInfo:
|
|
94
94
|
_ = tool.input_schema.model_validate(kwargs)
|
95
95
|
return await tool.acall(kwargs)
|
96
96
|
except Exception as e:
|
97
|
-
|
97
|
+
if tool_input:
|
98
|
+
logger.warning("Error calling tool %s with serialized input: %s",
|
99
|
+
tool.name,
|
100
|
+
tool_input.model_dump(),
|
101
|
+
exc_info=True)
|
102
|
+
else:
|
103
|
+
logger.warning("Error calling tool %s with input: %s", tool.name, kwargs, exc_info=True)
|
98
104
|
return str(e)
|
99
105
|
|
100
106
|
return FunctionInfo.create(single_fn=_response_fn,
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nvidia-nat-mcp
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.4.0a20251010
|
4
4
|
Summary: Subpackage for MCP client integration in NeMo Agent toolkit
|
5
5
|
Author: NVIDIA Corporation
|
6
6
|
Maintainer: NVIDIA Corporation
|
7
|
-
License: Apache-2.0
|
7
|
+
License-Expression: Apache-2.0
|
8
8
|
Project-URL: documentation, https://docs.nvidia.com/nemo/agent-toolkit/latest/
|
9
9
|
Project-URL: source, https://github.com/NVIDIA/NeMo-Agent-Toolkit
|
10
10
|
Keywords: ai,rag,agents,mcp
|
@@ -14,9 +14,9 @@ Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
15
15
|
Requires-Python: <3.14,>=3.11
|
16
16
|
Description-Content-Type: text/markdown
|
17
|
-
License-File: LICENSE-3rd-party.txt
|
18
17
|
License-File: LICENSE.md
|
19
|
-
|
18
|
+
License-File: LICENSE-3rd-party.txt
|
19
|
+
Requires-Dist: nvidia-nat==v1.4.0a20251010
|
20
20
|
Requires-Dist: aiorwlock~=1.5
|
21
21
|
Requires-Dist: mcp~=1.14
|
22
22
|
Dynamic: license-file
|
@@ -1,12 +1,12 @@
|
|
1
1
|
nat/meta/pypi.md,sha256=EYyJTCCEOWzuuz-uNaYJ_WBk55Jiig87wcUr9E4g0yw,1484
|
2
2
|
nat/plugins/mcp/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
|
3
|
-
nat/plugins/mcp/client_base.py,sha256=
|
3
|
+
nat/plugins/mcp/client_base.py,sha256=nos9NTQ2NlU9vd0PFb1n_q9AZtPKQ5OZ6EU74Ydo1C0,26533
|
4
4
|
nat/plugins/mcp/client_config.py,sha256=l9tVUHe8WdFPJ9rXDg8dZkQi1dvHGYwoqQ8Glqg2LGs,6783
|
5
|
-
nat/plugins/mcp/client_impl.py,sha256=
|
5
|
+
nat/plugins/mcp/client_impl.py,sha256=ekyw-hy5AqBJNkBvVH9Dl4s3wTtadLOcGxOu80Qbv0E,27370
|
6
6
|
nat/plugins/mcp/exception_handler.py,sha256=4JVdZDJL4LyumZEcMIEBK2LYC6djuSMzqUhQDZZ6dUo,7648
|
7
7
|
nat/plugins/mcp/exceptions.py,sha256=EGVOnYlui8xufm8dhJyPL1SUqBLnCGOTvRoeyNcmcWE,5980
|
8
8
|
nat/plugins/mcp/register.py,sha256=HOT2Wl2isGuyFc7BUTi58-BbjI5-EtZMZo7stsv5pN4,831
|
9
|
-
nat/plugins/mcp/tool.py,sha256=
|
9
|
+
nat/plugins/mcp/tool.py,sha256=TS-64B-vdBrQVTojbAx6k3IlhvN7Gc7E_bxa1Uccc4w,6387
|
10
10
|
nat/plugins/mcp/utils.py,sha256=4kNF5FJRiDUn-3fQcsvwvWtG6tYG1y4jU7vpptp0fsA,4522
|
11
11
|
nat/plugins/mcp/auth/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
|
12
12
|
nat/plugins/mcp/auth/auth_flow_handler.py,sha256=2JgK0aH-5ouQCd2ov0lDMJAD5ZWIQJ7SVcXaLArxn6Y,6010
|
@@ -14,10 +14,10 @@ nat/plugins/mcp/auth/auth_provider.py,sha256=BgH66DlZgzhLDLO4cBERpHvNAmli5fMo_SC
|
|
14
14
|
nat/plugins/mcp/auth/auth_provider_config.py,sha256=b1AaXzOuAkygKXAWSxMKWg8wfW8k33tmUUq6Dk5Mmwk,4038
|
15
15
|
nat/plugins/mcp/auth/register.py,sha256=L2x69NjJPS4s6CCE5myzWVrWn3e_ttHyojmGXvBipMg,1228
|
16
16
|
nat/plugins/mcp/auth/token_storage.py,sha256=aS13ZvEJXcYzkZ0GSbrSor4i5bpjD5BkXHQw1iywC9k,9240
|
17
|
-
nvidia_nat_mcp-1.
|
18
|
-
nvidia_nat_mcp-1.
|
19
|
-
nvidia_nat_mcp-1.
|
20
|
-
nvidia_nat_mcp-1.
|
21
|
-
nvidia_nat_mcp-1.
|
22
|
-
nvidia_nat_mcp-1.
|
23
|
-
nvidia_nat_mcp-1.
|
17
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
18
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
19
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/METADATA,sha256=SiuoE4J0XIqm-ApDSMuAUh6CYhP5lMcD5DqtdLOafnA,2330
|
20
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
21
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/entry_points.txt,sha256=rYvUp4i-klBr3bVNh7zYOPXret704vTjvCk1qd7FooI,97
|
22
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
23
|
+
nvidia_nat_mcp-1.4.0a20251010.dist-info/RECORD,,
|
File without changes
|
{nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|
{nvidia_nat_mcp-1.3.0rc3.dist-info → nvidia_nat_mcp-1.4.0a20251010.dist-info}/licenses/LICENSE.md
RENAMED
File without changes
|
File without changes
|