NVM MCP Server
Enables execution of Node.js scripts and commands with version management capabilities, allowing agents to run JavaScript code with specific Node.js versions regardless of system PATH configuration.
Provides tools for running npm commands with version-managed Node.js environments, enabling package management operations (install, run scripts, etc.) with controlled Node.js versions.
Provides tools for managing Node.js versions through NVM (Node Version Manager), including listing installed and available versions, installing new versions, switching active versions, setting aliases, and running Node.js, npm, and npx commands with specific versions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NVM MCP Serverinstall Node 22 and run npm install in my project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NVM MCP Server for Antigravity
An MCP server that wraps NVM (Node Version Manager),
giving Antigravity agents full control over Node.js versions — without needing Node
or npm to already be on $PATH.
Why this exists
Antigravity agents run in a non-interactive subprocess and never source your shell's
.zshrc / .bashrc. Because NVM adds Node to $PATH only in interactive shells,
agents can't find node or npm. This server sources nvm.sh directly before every
command, completely bypassing the $PATH problem.
Related MCP server: Pare
Requirements
Python 3.10+
NVM installed at
~/.nvm(or setNVM_DIRin the config)pip install mcp(orpip 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 Configuration
Open (or create) ~/.gemini/antigravity/mcp_config.json and add:
{
"mcpServers": {
"nvm-manager": {
"command": "python3",
"args": ["/Users/YOUR_USERNAME/.nvm-mcp-server/nvm_server.py"],
"env": {
"NVM_DIR": "/Users/YOUR_USERNAME/.nvm"
}
}
}
}Venv users: replace
"python3"with the absolute path to the venv Python, e.g."/Users/YOUR_USERNAME/.nvm-mcp-server/.venv/bin/python3".
Restart Antigravity after saving the config. The nvm-manager server will appear under MCP Servers.
Available Tools
Tool | What it does |
| List all locally installed Node versions |
| List versions available to install (accepts filter: |
| Download and install a version ( |
| Switch the session-active version — persists for all subsequent calls |
| Show which version is currently active in the session |
| Set an NVM alias, e.g. point |
| Run |
| Run |
| Run |
All three runner tools accept an optional version field that overrides the
session-active version for that one call, and an optional cwd field.
Example agent 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 defaultCustom NVM location
If NVM is installed somewhere other than ~/.nvm, set NVM_DIR in the
env block of mcp_config.json:
"env": {
"NVM_DIR": "/opt/homebrew/opt/nvm"
}Troubleshooting
Symptom | Fix |
| Verify |
| Increase the subprocess timeout in |
Version not found | Run |
Server not appearing | Check 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
- Alicense-qualityDmaintenanceCustom 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.Last updated8614MIT
- Alicense-qualityBmaintenanceProvides 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.Last updated15136MIT
- 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.Last updated1516MIT
- Flicense-qualityBmaintenanceA 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.Last updated
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