Registry / ai-ml / nvidia-nat-mcp

nvidia-nat-mcp

JSON →
library1.7.0pypypiunverified

Subpackage of the NVIDIA NeMo Agent Toolkit (NAT) providing MCP (Model Context Protocol) client integration. Version 1.7.0 targets Python 3.11–3.13. Enables agents to communicate with MCP-compliant tools and servers. Released as part of the NeMo Agent Toolkit ecosystem; follow its release cadence.

pip install nvidia-nat-mcp
INSTALL
IMPORT
SIG · NVIDIA-NAT-MCP
N
nvidia-nat-mcp
ai-mlpythonv1.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MCPClient
✓ from nat import MCPClient
✗ from nvidia_nat_mcp import MCPClient

Initialize an MCP client and call a tool.

import os from nvidia_nat_mcp import MCPClient client = MCPClient( server_url=os.environ.get("MCP_SERVER_URL", "http://localhost:8000"), api_key=os.environ.get("MCP_API_KEY", ""), ) result = client.call_tool("example_tool", {"param": "value"}) print(result)
Debug
Known issues
breakingIn version 1.5.0, the import path changed from `nvidia_nat.mcp` to `nvidia_nat_mcp`. Code using the old path will break.
fix
Update imports to `from nvidia_nat_mcp import ...`.
affects: <1.5.0
deprecatedThe `MCPServer` class constructor signature changed in 1.6.0. The `host` parameter is deprecated in favor of `server_url`.
fix
Replace `host` with `server_url` in MCPServer instantiation.
affects: >=1.6.0
gotchaThe API key is required for all MCP calls except when connecting to a localhost server in development mode.
fix
Always set `api_key` or environment variable `MCP_API_KEY`; use an empty string only for local testing.
affects: >=1.0.0
Upgrade
Version history
1.7.0latest on PyPI · released May 21, 2026
Audit
Dependencies
nvidia-nat-corerequiredCore NeMo Agent Toolkit components.
pydanticrequiredData validation and settings management.
Agent activity
17 hits · last 30 days
node
16
Amazon
1
Resources

No resource links recorded.

nvidia-nat-mcp — pip install nvidia-nat-mcp · libregistry