
Nvidia Nim Mcp
io.github.david-eve-za由 GitHub 账号 david-eve-za 发布v2.1.2更新于 Oct 24, 2026
MCP server for NVIDIA NIM - 50+ LLMs, multimodal, image gen, embeddings, reranking
发布方自己的服务:NVIDIA CUDA Docs
概览
本地 MCP 服务器,让助手调用 NVIDIA NIM 模型完成对话、文本生成、向量嵌入、重排、图像生成与视觉分析。
- 可以做什么
- 运行多轮对话补全与单提示文本生成
- 生成文本向量嵌入并对段落按相关性重排
- 根据提示生成图像,分析图像或处理图文混合任务
- 调用模型函数/工具,并对比多个模型
- 列出并查看模型元数据,按许可证、推理、视觉、上下文长度和硬件筛选
- 适用场景
- 当你希望助手直接使用 NVIDIA 托管或自建的 NIM 模型处理文本、嵌入、重排、图像生成或视觉任务,又不想自己写 API 客户端时适用;也适合需要模型元数据来挑选模型的场景。
- 运行要求
- 通过 npm 包 nvidia-nim-mcp 以 stdio 在本地运行,需要 Node.js 18+(或 Docker)。必须提供 NVIDIA NGC API 密钥,放在 NVIDIA_API_KEY 中;可选变量可设置默认模型、基础 URL、速率限制、令牌上限、重试和功能开关。需要能访问 NIM 接口的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Nvidia Nim Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
来源:README.md,提交 fe161a7
工具
0版本历史
1- v2.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Nvidia 集成
NVIDIA CUDA Docs
com.nvidia.ngc.nsight.copilot.api官方发布者
一个远程 MCP 端点,让 AI 编程助手搜索 NVIDIA CUDA 文档和代码示例。

NVIDIA NemoClaw CKG
由 GitHub 账号 Yarmoluk 发布
面向 NVIDIA NemoClaw 的知识图谱服务器,让助手在 55 个带类型的节点上回答问题、追溯前置依赖并核验来源。

NVIDIA AI CKG
由 GitHub 账号 Yarmoluk 发布
为助手提供覆盖 20 个领域的 NVIDIA AI 知识图谱,并带有来源哈希与省 token 的检索能力。

NVIDIA Elements
由 GitHub 账号 NVIDIA 发布
NVIDIA Elements MCP 服务器,让助手获取 Elements UI 设计系统的组件 API、设计令牌、示例与项目工具。