
How to add Package Registry MCP Server to Windsurf
Search NPM, crates.io, NuGet, PyPI, Go registries and GitHub Security Advisories for up-to-date package info. Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.
Last updated June 14, 2026 · 38★ · stdio · no auth
Windsurf config for Package Registry MCP Server
npx package-registry-mcp{
"mcpServers": {
"package-registry-mcp-server": {
"command": "npx",
"args": [
"package-registry-mcp"
]
}
}
}Setup steps
- 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
- 2Paste the Package Registry MCP Server config below.
- 3Fill in placeholder secrets, then save.
- 4Click Refresh in the MCP panel.
- 5Package Registry MCP Server's tools become available to Cascade.
Before you start
- Node.js 18+ or Bun runtime
- Internet connection for package registry access
What Package Registry MCP Server can do in Windsurf
search-npm-packagesSearch the NPM registry for packages matching a query (params: query, optional limit 1-100, default 10).
get-npm-package-detailsGet detailed information about a specific NPM package — metadata, dependencies, maintainers, repo/homepage links, and last 50 versions.
list-npm-package-versionsList all versions of a specific NPM package, sorted newest first (params: name, optional limit 1-1000, default 100).
search-cargo-packagesSearch crates.io for Rust crates matching a query (params: query, optional limit 1-100, default 10).
get-cargo-package-detailsGet detailed information about a specific crate from crates.io — metadata, keywords, categories, download stats, features, links, and last 50 versions.
list-cargo-package-versionsList all versions of a specific crate from crates.io, sorted newest first, with latest and max stable version info.
search-nuget-packagesSearch the NuGet registry for .NET packages matching a query (params: query, optional limit 1-100, default 10).
get-nuget-package-detailsGet detailed information about a specific NuGet package — metadata, authors, target frameworks, dependencies, download stats, and last 50 versions.
Package Registry MCP Server + Windsurf FAQ
Where is the Windsurf config file?
Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.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.