nvidia-nim-mcp
v2.1.2MCP server for NVIDIA NIM - 50+ LLMs, multimodal, image gen, embeddings, reranking
Runs scripts at install time.
Values you need
| Variable | What it is | |
|---|---|---|
NVIDIA_API_KEY | required secret | Your NVIDIA API key for accessing NIM models. Get one at https://build.nvidia.com |
NVIDIA_NIM_BASE_URL | optional | Base URL for self-hosted NIM endpoints |
NVIDIA_AI_FOUNDATION_URL | optional | Base URL for NVIDIA AI Foundation Models (free tier available) |
DEFAULT_MODEL | optional | Default model to use for chat/text generation |
ENABLE_IMAGE_GENERATION | optional | Enable image generation tools |
ENABLE_VISION | optional | Enable vision/image analysis tools |
ENABLE_MULTIMODAL | optional | Enable multimodal tools |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add nvidia-nim-mcp -e 'NVIDIA_API_KEY=<NVIDIA_API_KEY>' -- npx -y nvidia-nim-mcp@2.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"nvidia-nim-mcp": {
"args": [
"-y",
"nvidia-nim-mcp@2.1.2"
],
"command": "npx",
"env": {
"NVIDIA_API_KEY": "<NVIDIA_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"nvidia-nim-mcp": {
"args": [
"-y",
"nvidia-nim-mcp@2.1.2"
],
"command": "npx",
"env": {
"NVIDIA_API_KEY": "<NVIDIA_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NVIDIA_API_KEY",
"id": "nvidia-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"nvidia-nim-mcp": {
"args": [
"-y",
"nvidia-nim-mcp@2.1.2"
],
"command": "npx",
"env": {
"NVIDIA_API_KEY": "${input:nvidia-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.nvidia-nim-mcp]
command = "npx"
args = ["-y", "nvidia-nim-mcp@2.1.2"]
env = { "NVIDIA_API_KEY" = "<NVIDIA_API_KEY>" }For AI agents
- Ask the user for: NVIDIA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: chat_completion, text_generation, create_embeddings, rerank_passages, function_calling, get_model_info, generate_image, analyze_image, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json