MCP Directory

How to add Package Registry MCP Server to Cursor

Search NPM, crates.io, NuGet, PyPI, Go registries and GitHub Security Advisories for up-to-date package info. Paste the config into ~/.cursor/mcp.json and restart Cursor.

Last updated June 14, 2026 · 38 · stdio · no auth

Cursor config for Package Registry MCP Server

npx package-registry-mcp
{
  "mcpServers": {
    "package-registry-mcp-server": {
      "command": "npx",
      "args": [
        "package-registry-mcp"
      ]
    }
  }
}

Setup steps

  1. 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
  2. 2Paste the Package Registry MCP Server config below into the "mcpServers" object.
  3. 3Fill in placeholder secrets, then save.
  4. 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
  5. 5Ask Cursor to use one of Package Registry MCP Server's tools to confirm it's connected.

Before you start

  • Node.js 18+ or Bun runtime
  • Internet connection for package registry access

What Package Registry MCP Server can do in Cursor

search-npm-packages

Search the NPM registry for packages matching a query (params: query, optional limit 1-100, default 10).

get-npm-package-details

Get detailed information about a specific NPM package — metadata, dependencies, maintainers, repo/homepage links, and last 50 versions.

list-npm-package-versions

List all versions of a specific NPM package, sorted newest first (params: name, optional limit 1-1000, default 100).

search-cargo-packages

Search crates.io for Rust crates matching a query (params: query, optional limit 1-100, default 10).

get-cargo-package-details

Get detailed information about a specific crate from crates.io — metadata, keywords, categories, download stats, features, links, and last 50 versions.

list-cargo-package-versions

List all versions of a specific crate from crates.io, sorted newest first, with latest and max stable version info.

search-nuget-packages

Search the NuGet registry for .NET packages matching a query (params: query, optional limit 1-100, default 10).

get-nuget-package-details

Get detailed information about a specific NuGet package — metadata, authors, target frameworks, dependencies, download stats, and last 50 versions.

Package Registry MCP Server + Cursor FAQ

Where is the Cursor config file?

Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Package Registry MCP Server config there under the "mcpServers" key and restart the client.

Does it support searching PyPI and Go packages?

No. PyPI and pkg.go.dev do not provide a JSON search API, so only package-details and version-listing are supported for those ecosystems. Use the PyPI or pkg.go.dev websites for search.

Does it require an API key?

No. The server fetches data directly from the public package registries and the GitHub Security Advisory Database; no authentication is configured in the docs.

Which registries are covered?

NPM, crates.io (Rust), NuGet (.NET), PyPI (Python), Go modules (pkg.go.dev), plus the GitHub Security Advisory Database.

View repo Full Package Registry MCP Server page