
Nvidia Nim Mcp
io.github.david-eve-zaPublished by GitHub account david-eve-zav2.1.2Updated Oct 24, 2026
MCP server for NVIDIA NIM - 50+ LLMs, multimodal, image gen, embeddings, reranking
The publisher's own server: NVIDIA CUDA Docs
Overview
Local MCP server that connects an assistant to NVIDIA NIM models for chat, text generation, embeddings, reranking, image generation and vision tasks.
- What you can do
- Run multi-turn chat completions and single-prompt text generation on NIM language models
- Create vector embeddings and rerank passages for retrieval and search
- Generate images from prompts and analyze or combine text with images
- Call model functions/tools and compare models side by side
- List and inspect models with metadata and filters for license, reasoning, vision, context length and hardware
- When to use it
- Useful when you want an assistant to reach NVIDIA-hosted or self-hosted NIM models for text, embeddings, reranking, image generation or vision without building your own API client, and when you want model metadata to pick a model.
- Requirements
- Runs locally over stdio via the npm package nvidia-nim-mcp, needing Node.js 18+ (or Docker). Requires an NVIDIA NGC API key in NVIDIA_API_KEY; optional variables set the default model, base URLs, rate limits, token caps, retries and feature flags. Network access to the NIM endpoint is needed.
Installation
In SourceWeft
- Open Nvidia Nim Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
NVIDIA NIM MCP Server
A production-ready Model Context Protocol (MCP) server for consuming NVIDIA NIM (NVIDIA Inference Microservices) models. Supports 50+ LLMs, multimodal models, image generation, embeddings, reranking, function calling, vision, and code-specialized models with rich metadata for intelligent agent selection.
🚀 Features
- 10 MCP Tools: chat completion, text generation, embeddings, reranking, function calling, model listing, model info, image generation, image analysis, multimodal tasks, model comparison
- 50+ Supported Models: Llama 3.1/3.2, Nemotron 3 Ultra (550B), MiniMax M3, Kimi K2.6 (1T), DeepSeek V4 Pro, GLM 5.1, Qwen 3.5 397B, Mistral Large 3 (675B), GPT-OSS 120B, DiffusionGemma, FLUX.1, SDXL, SD3, and more
- Rich Model Metadata: licensing, hardware requirements, benchmarks, image generation specs, reasoning modes, tags for agent selection
- Advanced Filtering: by commercial use, reasoning, vision, function calling, multimodal, context length, tags, hardware
- Production-Grade: automatic retries with exponential backoff, per-minute rate limiting, structured JSON logging
- Type-Safe: full TypeScript, Zod input validation on every tool
- Docker-Ready: multi-stage Dockerfile with non-root user, health checks
- Configurable: all settings via environment variables
- Single Required Env: Only
NVIDIA_API_KEYrequired; all others have sensible defaults
📋 Prerequisites
- Node.js 18+ (for NPM installation) or Docker (for container deployment)
- A NVIDIA NGC API key (
nvapi-...)
⚙️ Installation
Option 1: NPM Global Installation (Recommended)
Option 2: NPM Local Installation
Option 3: From Source
Option 4: Docker
🔑 Configuration
Copy .env.example to .env and fill in your API key:
Only NVIDIA_API_KEY is required — all other variables have production-ready defaults:
🚀 Running
NPM Global Installation
NPM Local Installation
From Source
Docker
Standalone Executable
🔧 MCP Client Configuration
For Global NPM Installation
For Local NPM Installation
For Direct Executable Path
🛠️ Available Tools
chat_completion
Multi-turn conversation with any NIM LLM.
text_generation
Single-prompt text generation (simplified interface).
create_embeddings
Convert text(s) to vector embeddings for RAG/search.
rerank_passages
Rerank passages by relevance to a query.
function_calling
Use NIM models with tool/function calling.
generate_image
Generate images from text prompts using FLUX.1, SDXL, SD3, DiffusionGemma.
analyze_image
Analyze and describe images using vision/multimodal models.
multimodal_task
Perform multimodal tasks combining text and images.
list_models
List available models with rich metadata and advanced filtering.
Filter Options:
category:language,embedding,reranking,vision,code,multimodal,image_generation,allcommercial_use: Filter by commercial licensesupports_reasoning: Filter by reasoning capabilitysupports_vision: Filter by vision capabilitysupports_function_calling: Filter by function callingsupports_multimodal: Filter by multimodal inputmin_context_length: Minimum context window (tokens)tags: Filter by use case tagshardware: Filter by GPU type (Hopper, Blackwell, Ampere)include_details: Include full metadata (benchmarks, image specs, etc.)
get_model_info
Get complete metadata for a specific model.
Returns: licensing, hardware requirements, benchmarks, image gen specs, reasoning modes, tags, supported languages, etc.
compare_models
Compare 2-5 models side-by-side across all decision factors.
Returns: Structured comparison table with licensing, hardware, benchmarks, capabilities, tags, image generation specs, etc.
📦 Supported Models (50+)
Language Models (Frontier Reasoning)
Code-Specialized Models
Multimodal / Vision Models
Image Generation Models
*Non-commercial default; commercial via contact
**Requires Stability AI membership
Embeddings & Reranking
🏭 Production Checklist
- Environment variable validation on startup
- Exponential backoff retry (configurable)
- Per-minute rate limiter
- Request/response logging with Winston
- Structured JSON logs in production
- Zod input validation for all tools
- Graceful shutdown (SIGINT/SIGTERM)
- Unhandled exception/rejection handlers
- Docker multi-stage build (minimal image)
- Non-root Docker user
- Token cap enforcement
- Single required env var (
NVIDIA_API_KEY) - Feature flags for optional capabilities
🧪 Testing
The project includes a comprehensive test suite:
- Unit Tests: Configuration, logging, model handling, tool validation
- Integration Tests: All 10 MCP tools with various input scenarios
- Error Handling: Validation of edge cases and failure modes
- Schema Validation: Zod-based input validation for all tools
Running Tests
Current Test Status: ✅ All tests passing (96 tests)
🛠️ Development
Building the Project
Code Quality
🤝 Contributing
Contributions are welcome!
- Fork the Repository
- Create a Feature Branch:
git checkout -b feature/your-feature-name - Make Your Changes: Follow the existing code style and patterns
- Add Tests: Ensure new functionality is properly tested
- Run Checks:
npm run checkto verify code quality and tests - Commit Changes: Use clear, descriptive commit messages
- Push to Your Fork:
git push origin feature/your-feature-name - Open a Pull Request: Describe your changes and their benefits
Code Standards
- TypeScript: Strict type checking enabled
- ESLint: Code formatting and best practices
- Zod: Runtime validation for all external inputs
- Testing: Comprehensive test coverage for new features
- Documentation: Update README.md for user-facing changes
Development Workflow
- Setup: Follow the installation instructions
- Development: Use
npm run devfor continuous development - Testing: Run
npm testto verify your changes - Building: Use
npm run buildto compile the project - Linting: Run
npm run lintto check code quality
📦 Packaging & Distribution
NPM Package
- Published to npm registry for easy installation
- Includes compiled JavaScript and TypeScript definitions
- Global and local installation options
- Runs as a standard CLI tool
Docker Image
- Multi-stage build for minimal image size
- Runs as non-root user for security
- Includes health check endpoint
- Easy deployment to containerized environments
Standalone Executable
- Self-contained JavaScript file with shebang
- Can be run directly on any system with Node.js
- No installation required beyond Node.js
Building Packages
📄 License
MIT
Source: README.md at commit fe161a7
Tools
0Version history
1- v2.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Nvidia integrations
NVIDIA CUDA Docs
com.nvidia.ngc.nsight.copilot.apiOfficial publisher
A remote MCP endpoint that lets AI coding agents search NVIDIA CUDA documentation and code samples.

NVIDIA NemoClaw CKG
Published by GitHub account Yarmoluk
A knowledge-graph server for NVIDIA NemoClaw that lets an assistant answer questions, trace prerequisites and verify sources across 55 typed concept nodes.

NVIDIA AI CKG
Published by GitHub account Yarmoluk
Provides an assistant with NVIDIA AI knowledge graphs spanning 20 domains, with provenance hashing and token-efficient retrieval.

NVIDIA Elements
Published by GitHub account NVIDIA
NVIDIA Elements MCP server that gives an assistant the Elements UI design system's component APIs, tokens, examples and project tooling.