Self-hosted NVIDIA NIM API-key manager with a Claude MCP connector; deploy your own instance.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Self-hosted, production-ready manager for the API keys of your own NVIDIA Build/NIM account โ encrypted storage, assisted rotation, expiry detection, usage stats, projects, RBAC, audit, a web dashboard, and a Claude MCP connector. Deploy your own instance in a few minutes; everything is configured through environment variables.
NVIDIA Terms of Service. NVIDIA Build offers no public API to create or rotate keys programmatically (you generate them at build.nvidia.com), and API keys must not be shared or redistributed to third parties. This project is therefore designed for you to manage your own keys on your own instance: the only outbound call is the official read-only validation endpoint
GET https://integrate.api.nvidia.com/v1/models. It does not automate or scrape the NVIDIA portal, and it is not a service for handing your keys to other people.
render.yaml and provisions everything automatically:
JWT_SECRET, ENCRYPTION_MASTER_KEY and MCP_OAUTH_JWT_SIGNING_KEY (generated and stored by Render's secret manager),DATABASE_URL injected from the database.FIRST_ADMIN_EMAIL and FIRST_ADMIN_PASSWORD (your initial admin, created on first boot)./, explore the API at /docs.main runs CI (lint + types + tests + build) and redeploys automatically. Migrations (alembic upgrade head) run on container start.Prefer another host? Any platform that runs a Docker container + PostgreSQL works โ see docs/deployment.md.
The same deployment exposes a Model Context Protocol server at โนBASEโบ/mcp so you can add it to Claude as a custom connector. Claude authenticates with OAuth 2.1 (GitHub by default, Google optional) and can list/inspect keys, dispense a ready-to-use key, register/rotate/revoke and manage projects โ with the same RBAC and audit trail as the REST API. Only identities in MCP_ALLOWED_IDENTITIES may connect (fail-closed).
โนBASEโบ/auth/callback; copy the Client ID/Secret.MCP_GITHUB_CLIENT_ID, MCP_GITHUB_CLIENT_SECRET and MCP_ALLOWED_IDENTITIES (your GitHub login/e-mail). The rest is already in render.yaml.โนBASEโบ/mcp โ Connect.Full guide (Google, tool reference, security, troubleshooting): docs/connector.md.
rotated_from_id lineage link).expiring_soon flag.GET /api/v1/keys/dispense returns the least-recently-used active key (LRU), globally or per project, recording usage.admin/manager/viewer, rate limiting, immutable audit of every sensitive operation./mcp (see above)./metrics, health check at /health, OpenAPI at /docs.Pragmatic Clean Architecture: dependencies point inward; the application layer knows nothing about FastAPI and reaches NVIDIA through the KeyValidator port. Details and decisions in docs/architecture.md.
Stack: Python 3.12 ยท FastAPI ยท FastMCP (Claude connector) ยท SQLAlchemy 2 (async) ยท managed PostgreSQL ยท Alembic ยท Docker ยท GitHub Actions ยท Render (Blueprint) ยท structlog ยท Prometheus ยท slowapi ยท APScheduler.
More examples (rotation, projects, stats, audit) in docs/api-examples.md. Interactive OpenAPI at /docs.
| Operation | viewer | manager | admin |
|---|---|---|---|
| View keys, projects and stats | โ | โ | โ |
| Register / validate / rotate / revoke / dispense keys | โ | โ | โ |
| Manage projects | โ | โ | โ |
| Delete keys, manage users, read the audit log | โ | โ | โ |
Not required to deploy, but fully supported:
Threat model, cryptographic details and design decisions in docs/security.md. Key points: AES-256-GCM encryption with a key derived (HKDF) from the secret manager, SHA-256 fingerprints to deduplicate without exposing the secret, short-lived signed JWTs, argon2 password hashing, per-IP rate limiting, audit of every sensitive operation, and no plaintext keys in logs or responses except the explicit dispense endpoint. To report a vulnerability, see SECURITY.md.
Contributions are welcome โ see CONTRIBUTING.md and the Code of Conduct. A short Spanish overview is available in README.es.md.
MIT โ see LICENSE.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/nim-key-manager)<a href="https://allmcps.com/mcp/nim-key-manager"><img src="https://allmcps.com/api/badge/nim-key-manager?style=directory" alt="NIM Key Manager on AllMCPs" /></a>