NVM MCP Server
NVM MCP-Server für Antigravity
Ein MCP-Server, der NVM (Node Version Manager) kapselt und Antigravity-Agenten die volle Kontrolle über Node.js-Versionen gibt – ohne dass Node oder npm bereits im $PATH vorhanden sein müssen.
Warum existiert dies?
Antigravity-Agenten laufen in einem nicht-interaktiven Subprozess und laden niemals die .zshrc / .bashrc Ihrer Shell. Da NVM Node nur in interaktiven Shells zum $PATH hinzufügt, können Agenten node oder npm nicht finden. Dieser Server lädt nvm.sh direkt vor jedem Befehl und umgeht damit das $PATH-Problem vollständig.
Related MCP server: Pare
Anforderungen
Python 3.10+
NVM installiert unter
~/.nvm(oder setzen SieNVM_DIRin der Konfiguration)pip install mcp(oderpip install -r requirements.txt)
Installation
# 1. Clone / copy this folder somewhere permanent
cp -r nvm-mcp-server ~/.nvm-mcp-server
# 2. Install the one dependency
pip install -r ~/.nvm-mcp-server/requirements.txt
# Or, if you prefer a venv:
python3 -m venv ~/.nvm-mcp-server/.venv
~/.nvm-mcp-server/.venv/bin/pip install mcpAntigravity-Konfiguration
Öffnen (oder erstellen) Sie ~/.gemini/antigravity/mcp_config.json und fügen Sie Folgendes hinzu:
{
"mcpServers": {
"nvm-manager": {
"command": "python3",
"args": ["/Users/YOUR_USERNAME/.nvm-mcp-server/nvm_server.py"],
"env": {
"NVM_DIR": "/Users/YOUR_USERNAME/.nvm"
}
}
}
}Venv-Benutzer: Ersetzen Sie
"python3"durch den absoluten Pfad zum venv-Python, z. B."/Users/IHR_BENUTZERNAME/.nvm-mcp-server/.venv/bin/python3".
Starten Sie Antigravity nach dem Speichern der Konfiguration neu. Der nvm-manager-Server erscheint unter MCP-Server.
Verfügbare Werkzeuge
Werkzeug | Was es tut |
| Listet alle lokal installierten Node-Versionen auf |
| Listet die zur Installation verfügbaren Versionen auf (akzeptiert Filter: |
| Lädt eine Version herunter und installiert sie ( |
| Wechselt die sitzungsaktive Version – bleibt für alle nachfolgenden Aufrufe bestehen |
| Zeigt an, welche Version aktuell in der Sitzung aktiv ist |
| Setzt einen NVM-Alias, z. B. |
| Führt |
| Führt |
| Führt |
Alle drei Ausführungswerkzeuge akzeptieren ein optionales version-Feld, das die sitzungsaktive Version für diesen einen Aufruf überschreibt, sowie ein optionales cwd-Feld.
Beispiel für einen Agenten-Workflow
Agent: nvm_list → sees v20.11.0 and v22.3.0 installed
Agent: nvm_use "22" → session set to Node 22
Agent: npm_run "install" → runs npm install under Node 22
Agent: node_run "index.js" → runs the script under Node 22
# Need a version that isn't installed yet?
Agent: nvm_install "lts" → downloads latest LTS
Agent: nvm_use "lts" → switches to it
Agent: nvm_alias "default" "lts" → makes it the permanent defaultBenutzerdefinierter NVM-Speicherort
Wenn NVM an einem anderen Ort als ~/.nvm installiert ist, setzen Sie NVM_DIR im env-Block der mcp_config.json:
"env": {
"NVM_DIR": "/opt/homebrew/opt/nvm"
}Fehlerbehebung
Symptom | Lösung |
| Überprüfen Sie, ob |
| Erhöhen Sie das Subprozess-Timeout in |
Version nicht gefunden | Führen Sie |
Server erscheint nicht | Überprüfen Sie Antigravity → |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceCustom MCP server for n8n automation, providing 27 tools to manage workflows, executions, credentials, variables, and more via the n8n REST API. Designed to fix compatibility issues with Antigravity AI assistant.276314MIT
- AlicenseNot gradedqualityAmaintenanceProvides MCP servers that wrap common developer tools (git, npm, docker, etc.) returning structured JSON output, enabling AI agents to reliably interact with these tools without parsing fragile terminal text.4137MIT
- AlicenseAqualityAmaintenanceAn MCP server that bridges Claude Code with Antigravity CLI using a Swarm Agent architecture to optimize local development workflows and minimize LLM token costs. Includes a web UI for monitoring agent workflows.2117MIT
- FlicenseNot gradedqualityBmaintenanceA lightweight Node.js MCP server with zero dependencies offering 9 built-in tools for system info, web fetching, GitHub search, file operations, shell execution, and key-value memory, enabling AI agents to perform these tasks via the Model Context Protocol.
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/realjacoblinder/nvm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server