Installation¶
Requirements¶
- Node.js >= 18 (the server is built and run with Node; the plugin launcher
resolves
nodefrom your PATH or common version-manager locations). - Outbound HTTPS to the registries you query.
Claude Code plugin (recommended)¶
/plugin marketplace add 88plug/claude-code-plugins
/plugin install use-latest-version@88plug
Enable auto-update once (/plugin -> Marketplaces -> 88plug -> Enable
auto-update) and you will always get the latest at startup.
The plugin ships source only. On first launch, scripts/mcp-server.sh:
- resolves a Node >= 18 binary (PATH, then nvm / volta / fnm / bun / homebrew),
- installs dependencies and compiles TypeScript (
npm ci && npm run build), - execs
node build/index.js stdio.
All build output goes to stderr, so the stdio MCP channel stays clean.
Manual / standalone¶
Clone and run either transport directly:
git clone https://github.com/88plug/use-latest-version-mcp
cd use-latest-version-mcp
npm install
npm run build
# stdio (for MCP clients)
node build/index.js stdio
# or HTTP (Streamable HTTP transport)
node build/index.js http # listens on $PORT (default 3000)
Register with any MCP client¶
Point your client's MCP config at the launcher (stdio):
{
"mcpServers": {
"use-latest-version": {
"command": "/absolute/path/to/use-latest-version-mcp/scripts/mcp-server.sh"
}
}
}
Docker (HTTP transport)¶
docker build -t use-latest-version-mcp .
docker run --rm -p 3000:3000 use-latest-version-mcp
curl localhost:3000/health