nvidia-nim-mcp
v2.1.2MCP server for NVIDIA NIM - 50+ LLMs, multimodal, image gen, embeddings, reranking
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
chat_completion
Send a multi-turn conversation to a NVIDIA NIM language model and receive a completion. Supports all major open-source LLMs including Llama 3.1, Mistral, Gemma, Qwen, and more.
| Parameter | Type | Description |
|---|---|---|
messages * | array | |
max_tokens | integer | |
model | string | NIM model ID (optional, uses default if not set) |
seed | integer | |
stop | ||
system_prompt | string | System prompt to prepend |
temperature | number | |
top_p | number |
text_generation
Generate text from a single prompt (simplified interface). Ideal for one-shot tasks like summarization, translation, extraction, or Q&A.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt |
max_tokens | integer | |
model | string | |
stop | ||
system_prompt | string | |
temperature | number |
create_embeddings
Convert text(s) into vector embeddings using NVIDIA NIM embedding models. Useful for semantic search, RAG, clustering, and similarity comparisons.
| Parameter | Type | Description |
|---|---|---|
input * | Text or list of texts to embed | |
encoding_format | string | |
model | string | Embedding model ID (e.g. nvidia/nv-embed-v1) |
truncate | string |
rerank_passages
Rerank a list of passages by relevance to a query using NVIDIA NIM reranking models. Essential for RAG pipelines to improve retrieval quality.
| Parameter | Type | Description |
|---|---|---|
passages * | array | |
query * | string | Search query |
model | string | Reranking model ID |
top_k | integer | Return top K results |
truncate | string |
function_calling
Use NIM models with tool/function calling capabilities. The model will decide which function to call and with what arguments.
| Parameter | Type | Description |
|---|---|---|
messages * | array | |
tools * | array | |
max_tokens | integer | |
model | string | |
temperature | number | |
tool_choice |
get_model_info
Get detailed information about a specific NVIDIA NIM model.
| Parameter | Type | Description |
|---|---|---|
model_id * | string | The model ID |
generate_image
Generate images from text prompts using NVIDIA NIM image generation models (Stable Diffusion XL, SDXL Turbo, SD3, FLUX.1). Supports various resolutions, samplers, and schedulers. FLUX.1-schnell and FLUX.1-kontext-dev are available on the free NVIDIA AI Foundation tier. Can save generated images as PNG files to disk.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt describing the image to generate |
aspect_ratio | string | Aspect ratio for output (e.g., 'match_input_image', '1:1', '16:9', '4:3', '3:4', '21:9') |
cfg_scale | number | Classifier-free guidance scale |
height | integer | Image height in pixels |
image | string | Base64 data URL of input image (required for FLUX Kontext image-to-image editing, format: data:image/png;base64,...) |
model | string | Image generation model ID (e.g., nvidia/stable-diffusion-xl, nvidia/sdxl-turbo, stabilityai/sd-3-medium, black-forest-labs/flux.1-dev, black-forest-labs/flux.1-schnell, black-forest-labs/flux.1-kontex… |
negative_prompt | string | Negative prompt to avoid unwanted features |
num_images | integer | Number of images to generate |
response_format | string | Response format: URL or base64 JSON |
sampler | string | Sampler algorithm (e.g., euler, euler_a, dpmpp_2m, dpmpp_sde, ddim) |
save_filename | string | Optional filename (without extension) to auto-generate path in current directory (e.g., 'my-image' creates './my-image.png') |
save_path | string | Optional file path to save the generated image as PNG (e.g., './output/image.png' or '/absolute/path/image.png') |
scheduler | string | Scheduler type (e.g., karras, exponential, simple, ddim_uniform) |
seed | integer | Random seed for reproducibility |
steps | integer | Number of diffusion steps (ignored for FLUX Schnell, fixed at 4) |
width | integer | Image width in pixels |
analyze_image
Analyze and describe images using NVIDIA NIM vision and multimodal models. Provide an image URL and a prompt/question to get detailed analysis, captioning, or visual Q&A.
| Parameter | Type | Description |
|---|---|---|
image_url * | string | URL of the image to analyze |
prompt * | string | Analysis prompt or question about the image (e.g., 'Describe this image', 'What objects are in this image?', 'Extract text from this image') |
detail | string | Image detail level for analysis |
max_tokens | integer | Maximum tokens in response |
model | string | Vision/multimodal model ID (e.g., meta/llama-3.2-90b-vision-instruct, meta/llama-3.2-11b-vision-instruct, nvidia/neva-22b, microsoft/phi-3.5-vision-instruct) |
system_prompt | string | System prompt to guide the analysis |
temperature | number | Sampling temperature |
top_p | number | Nucleus sampling parameter |
multimodal_task
Perform multimodal tasks combining text and images. Send a conversation with mixed text and image content to multimodal models for complex reasoning across modalities.
| Parameter | Type | Description |
|---|---|---|
messages * | array | Conversation messages with optional images. Each message can have text content or an array of text and image_url parts. |
max_tokens | integer | |
model | string | Multimodal model ID (e.g., nvidia/neva-22b, microsoft/phi-3.5-vision-instruct, meta/llama-3.2-90b-vision-instruct) |
stream | boolean | |
temperature | number | |
top_p | number |
list_models
List available NVIDIA NIM models with detailed metadata for agent selection, optionally filtered by category (language, embedding, reranking, vision, code, multimodal, image_generation) and advanced filters.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by model category |
commercial_use | boolean | Filter by commercial license availability |
hardware | array | Filter by GPU hardware type (e.g., Hopper, Blackwell, Ampere) |
include_details | boolean | Include detailed model metadata for agent selection |
min_context_length | integer | Minimum context length in tokens |
supports_function_calling | boolean | Filter by function calling capability |
supports_multimodal | boolean | Filter by multimodal input capability |
supports_reasoning | boolean | Filter by reasoning capability |
supports_vision | boolean | Filter by vision capability |
tags | array | Filter by use case tags |
compare_models
Compare 2-5 models side-by-side across key decision factors: licensing, hardware requirements, benchmarks, capabilities, and use case tags. Returns structured comparison table.
| Parameter | Type | Description |
|---|---|---|
model_ids * | array | Array of 2-5 model IDs to compare (e.g., ['nvidia/nemotron-3-ultra-550b-a55b', 'deepseek-ai/deepseek-v4-pro', 'moonshotai/kimi-k2.6']) |