Skip to main content
Glama

nim-audit-mcp

MCP (Model Context Protocol) server for NVIDIA NIM container auditing. Enables AI assistants like Claude to audit NIM containers directly.

Features

  • 11 audit tools exposed via MCP

  • Risk assessment with severity scoring

  • Claude Desktop integration ready

  • Self-contained - minimal dependencies (nim-audit + mcp)

  • Zero configuration - just install and use

Related MCP server: mcp-security-suite

Dependencies

nim-audit-mcp
├── nim-audit    # Core NIM auditing library
├── mcp          # Model Context Protocol SDK
└── pydantic     # Data validation

That's it! No heavyweight frameworks or agents required.

Installation

pip install nim-audit-mcp

Or from source:

git clone https://github.com/ashzak/nim-audit-mcp.git
cd nim-audit-mcp
pip install -e .

Claude Desktop Setup

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "nim-audit": {
      "command": "nim-audit-mcp",
      "args": []
    }
  }
}

Restart Claude Desktop.

Available Tools

Tool

Description

gpu_compat

Check GPU compatibility (A100, H100, etc.)

diff_images

Compare two container versions

analyze_env

Analyze environment variables

lint_config

Lint against security policies

fingerprint

Generate behavioral fingerprint

fingerprint_compare

Compare fingerprints

cluster_scan

Scan K8s cluster for compatibility

env_lint

Lint .env files

env_diff

Compare .env files

env_describe

Describe env variable

env_registry

List known NIM variables

Example Usage with Claude

You: Check if nvcr.io/nim/meta/llama3:latest is compatible with A100 GPUs

Claude: executes gpu_compat tool and returns:

## gpu_compat Results

**Risk Level:** LOW (Score: 0/100)

### Findings

🟢 **[INFO]** GPU A100 is compatible
   All compatibility checks passed for A100

### Recommendations

1. Safe to deploy with standard monitoring

Other Examples

  • "Compare nvcr.io/nim/meta/llama3:1.0 to :1.1"

  • "Run security lint on nvcr.io/nim/meta/llama3:latest"

  • "What does NIM_MAX_BATCH_SIZE do?"

  • "List all NIM environment variables"

Prerequisites

  • Python 3.11+

  • Docker (for container inspection)

  • Claude Desktop (for Claude integration)

Running Standalone

# Test the server
nim-audit-mcp

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      AI-native security research platform that integrates Claude with MCP to execute real offensive security tools in an isolated Docker container, enabling natural language-driven recon, CVE scanning, Active Directory enumeration, and cryptographic posture assessment.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables enterprise MCP security auditing through 12 deterministic no-LLM tools for evidence-gated claims, skill/prompt supply-chain audits, token profiling, and server auth-mode checks.
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Exposes diagnostic tools to AI assistants so they can inspect GPU, driver, CUDA, cuDNN, and Python library compatibility, assess whether AI models fit available hardware, and validate Dockerfiles for GPU issues.
      -
    • A
      license
      C
      quality
      B
      maintenance
      Enables AI assistants and agents to query and orchestrate NVIDIA NIM cloud models for deep reasoning, code review, multimodal vision analysis, document extraction, and status checks through MCP tools, with built-in rate limiting and model alias resolution.
      11
      MIT