MCP servers · npm · MCP server
Connect Gemini CLI to npm
One line gives Gemini CLI your npm account as tools: 6 endpoints, read packages, publish, more, called with your own connection. No key in the prompt, a receipt for every call, revoke Gemini CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect npm. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Gemini CLI. Google's terminal agent. One command at user scope.
- Ask Gemini CLI: whoami. Then: "Get a package in npm".
Install (user scope)
gemini mcp add --scope user --transport http 0n3 https://0n3.app/mcp -H "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Gemini CLI and fills it in.
What Gemini CLI can then do in npm
Read packages · Package metadata, versions, search and download counts2
Get a package
GET /{pkg}Publish a package
PUT /{pkg}Publish · Publish a package version (use the npm_publish_mcp_server app to build one)0
Publish a package version (use the npm_publish_mcp_server app to build one)
More · Everything else this app exposes.4
Whoami
GET /-/whoamiGet a version
GET /{pkg}/{version}Search
GET /-/v1/searchDownloads last week
GET /downloads/point/last-week/{pkg}npm in other AI clients
Claude Code + npmMCP server + skillClaude (desktop & claude.ai) + npmconnectorChatGPT + npmconnector · GPT actionCodex CLI + npmMCP serverCursor + npmMCP serverVS Code (Copilot) + npmMCP serverWindsurf + npmMCP server
