sa

sammcj/mcp-package-version

๐Ÿ“‡ ๐Ÿ  An MCP Server to help LLMs suggest the latest stable package versions when writing code.

#LLM#package management#coding assistant
Publishersammcj/mcp-package-version
Submitted date4/19/2025

Overview: Package Version MCP Server

Title

Package Version MCP Server

How to Use

The MCP server provides tools for checking the latest stable package versions across multiple registries, including npm, PyPI, Maven Central, Go Proxy, Swift Packages, AWS Bedrock, Docker Hub, GitHub Container Registry, and GitHub Actions.

Installation

  1. Requirements: A modern Go version installed.
  2. Installation Methods:
    • Recommended: Use go install:
      go install github.com/sammcj/mcp-package-version/v2@HEAD
    • Manual Build: Clone the repository and compile:
      git clone https://github.com/sammcj/mcp-package-version.git cd mcp-package-version make
    • Docker: Run in a container:
      docker run -p 18080:18080 ghcr.io/sammcj/mcp-package-version:latest

Configuration

Configure your MCP client to use the server via:

  • Command-line path (for local installations)
  • URL (for Docker/SSE mode)

Key Features

  • Multi-Registry Support: Check versions from npm, PyPI, Maven, Go, Swift, AWS Bedrock, Docker, and GitHub registries.
  • Transport Modes: Supports stdio (default) and SSE (Server-Sent Events).
  • Tool Integration: Works with VSCode, Claude Desktop, and GoMCP.
  • Version Constraints: Apply filters (e.g., major version locks) when checking updates.

Use Cases

  1. Dependency Management: Ensure recommended package versions in code are up-to-date.
    • Example: Verify react and react-dom versions in a Node.js project.
  2. CI/CD Pipelines: Automate version checks in build workflows.
  3. AI-Assisted Coding: Help LLMs suggest current package versions.
  4. Container Image Updates: Check latest tags for Docker/GitHub Container Registry images.
  5. AWS Bedrock Model Tracking: List or search for the latest AI models.

Example Tools

  • NPM Packages: Check react and lodash versions with constraints.
  • Python Packages: Validate requirements.txt or pyproject.toml dependencies.
  • Docker Images: Fetch tags for nginx with regex filtering.
  • AWS Bedrock: Search for the latest claude models.

For detailed tool syntax, refer to the Usage section.


Note: Version 2.0.0+ requires Go and updated client configurations. See Installation for setup guidance.

Visit More

View All