@lpm-registry/mcp-server
OfficialThe @lpm-registry/mcp-server gives AI agents access to the LPM package registry, enabling package discovery, evaluation, installation, security auditing, and account management.
Search & Discovery
lpm_search— Search packages using natural language or structured filters (category, ecosystem, license, module type, etc.)lpm_search_owners— Search for users or organizations by namelpm_packages_by_owner— List all packages published by a specific user or organization
Package Evaluation & Documentation
lpm_package_info— Get metadata including versions, description, downloads, AI analysis, compatibility, and readmelpm_api_docs— Get structured API documentation (functions, classes, interfaces, types, enums)lpm_llm_context— Get an LLM-optimized usage guide with quickstart code, patterns, and gotchaslpm_package_context— Get complete package context in one call (metadata + API docs + usage guide) before installinglpm_quality_report— Get a quality score and 27-check breakdown (documentation, code, testing, health)lpm_marketplace_info— Get pricing, licensing model, seat management, and purchase status for marketplace packages
Installation
lpm_install— Install a managed dependency (JS → node_modules, Swift → Package.swift)lpm_add— Extract source files directly into a project (for UI components, templates, MCP servers, etc.)
Source Code & Agent Skills
lpm_browse_source— Browse package source code remotely (last resort; requires auth and appropriate subscription)lpm_package_skills— Get author-written agent skills (usage patterns, anti-patterns, best practices) for an installed package
Security & Auditing
lpm_audit— Run a security audit on LPM dependencies, returning behavioral tags, AI security findings, and quality scores
Account & Earnings
lpm_user_info— Get authenticated user info, organizations, plan tier, pool access, and usage limitslpm_pool_stats— Get Pool revenue sharing earnings for the current month with a per-package breakdown
LPM Documentation
lpm_docs— Search or read LPM's own documentation (CLI, publishing, CI/CD, Swift registry, billing, etc.)
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@lpm-registry/mcp-server search for packages related to image processing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@lpm-registry/mcp-server
MCP (Model Context Protocol) server for the LPM package registry. Gives AI tools like Claude Code, Cursor, and other MCP-compatible agents access to search, browse source code, install packages, check quality, and more.
Quick Setup
If you have the LPM CLI installed, one command configures all your editors:
lpm mcp setupThis auto-detects Claude Code, Cursor, VS Code, Claude Desktop, and Windsurf, then writes the correct config to each. Authentication is handled via lpm login (stored in your OS keychain) — no tokens in config files.
The generated command is npx -y @lpm-registry/mcp-server@latest. The latest dist-tag is resolved when the editor starts, so editor restarts pick up the current published MCP server release.
For a custom registry, set LPM_REGISTRY_URL in the environment inherited by your editor or add it to the editor's MCP server environment configuration.
Related MCP server: MCPfinder
Manual Setup
If you prefer manual configuration, add to your editor's MCP config:
Claude Code
{
"mcpServers": {
"lpm-registry": {
"command": "npx",
"args": ["-y", "@lpm-registry/mcp-server@latest"]
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"lpm-registry": {
"command": "npx",
"args": ["-y", "@lpm-registry/mcp-server@latest"]
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"lpm-registry": {
"command": "npx",
"args": ["-y", "@lpm-registry/mcp-server@latest"]
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lpm-registry": {
"command": "npx",
"args": ["-y", "@lpm-registry/mcp-server@latest"]
}
}
}Authentication
LPM_TOKEN has highest priority. When it is unset, the server reads the OS keychain entry created by lpm login for the effective registry URL. Credentials are registry-scoped, so hosted, local, and custom registries do not reuse one another's tokens.
Set LPM_TOKEN explicitly for environments without keychain access:
export LPM_TOKEN=lpm_your_token_hereRegistry URL
Defaults to https://lpm.dev. Override with:
export LPM_REGISTRY_URL=https://your-registry.devFor local development, copy .env.example to .env.local and set your local registry URL. These files are gitignored.
Available Tools
Tool | Description | Auth | Cache |
| Search packages with natural language or structured filters | Optional | 5m |
| Get package metadata, install method, access model, and readme | Optional | 5m |
| Get structured API docs — functions, classes, types, signatures | Optional | 5m |
| Get LLM-optimized usage guide — quickStart, patterns, gotchas | Optional | 5m |
| Get complete package context in one call (pre-install evaluation) | Optional | 5m |
| Get Agent Skills for building with an installed package | Optional | 5m |
| Search or read LPM documentation (setup, CLI, publishing, etc.) | No | 30m |
| Browse package source code remotely (last resort) | Yes | 5m |
| Add a package by extracting source files into the project | Yes | — |
| Install a managed dependency (JS → node_modules, Swift → Package.swift) | Yes | — |
| Security audit — behavioral tags, AI findings, quality scores | Yes | — |
| Marketplace pricing, licensing, and seat management | Optional | 5m |
| Get quality score and 28-check breakdown | Optional | 5m |
| Search for users or organizations by name | No | 5m |
| List packages published by a specific user or org | No | 5m |
| Get your Pool revenue earnings for the current month | Yes | 1h |
| Get authenticated user info, orgs, and usage | Yes | 5m |
Access Control
Pool packages require a Pool subscription ($12/mo). Without one,
lpm_browse_source,lpm_add, andlpm_installreturn an error with subscription info.Marketplace packages require a license purchase. Errors include a link to the package page.
Public metadata (
lpm_package_info,lpm_search,lpm_quality_report) works without auth for public packages.
Troubleshooting
"No LPM token found"
Set the LPM_TOKEN environment variable in your MCP client configuration, or run lpm login first.
"Authentication required"
Some tools (lpm_browse_source, lpm_add, lpm_install) require authentication. Run lpm login or set LPM_TOKEN.
"Authentication failed"
Your token may be expired or revoked. Generate a new token at https://lpm.dev/dashboard/tokens or run lpm login.
"Cannot reach lpm.dev" Check your internet connection. If you're behind a proxy, ensure it allows HTTPS connections to lpm.dev.
"Package not found"
Verify the package name format: owner.package-name (e.g., alice.ui-kit).
"Rate limit exceeded" Source browsing is rate limited to 30 requests per minute. Wait and retry.
"Source browsing is currently disabled" The registry has temporarily disabled source browsing. Try again later.
"Response was truncated"
Use the path parameter with lpm_browse_source to request specific files or directories instead of the entire package.
Available Tools
17 toolslpm_addA
Add an LPM package to the project by extracting source files for customization. Use for UI components, blocks, templates, and MCP servers. Requires LPM CLI installed.
Inputs: name (required), version, path, alias, +4 more.
lpm_api_docsA
Get structured API documentation for an LPM package — functions, classes, interfaces, type aliases, enums, and variables with signatures, params, return types, and descriptions. Use this to understand how to use a package before installing it.
Inputs: name (required), version.
lpm_auditA
Run a security audit on the project's LPM dependencies. Returns behavioral tags (eval, childProcess, shell, dynamicRequire), AI security findings, quality scores, and lifecycle scripts. Requires LPM CLI installed and authentication.
Inputs: path.
lpm_browse_sourceA
LAST RESORT: Browse source code of an LPM package remotely. Only use this when you cannot install the package (e.g., evaluating before purchase, checking capabilities without access). If you can install the package, prefer lpm_add or lpm_install first, then read the local files directly — it is faster.
Requires authentication. Pool packages require Pool subscription, marketplace packages require a license.
If you must use this tool: fetch directory paths (e.g., "src") to get multiple files in one request rather than individual files.
Inputs: name (required), version, path.
lpm_docsA
Search or read LPM documentation. Use this when the user asks how to use LPM itself — setup, CLI commands, publishing, CI/CD, Swift registry, organizations, billing, etc. Without parameters: returns the docs index. With page: returns that specific page. With query: searches page titles and returns matching content.
Inputs: page, query.
lpm_installB
Install an LPM package as a managed dependency. JS packages go to node_modules (like npm install), Swift packages edit Package.swift via SE-0292. Use for libraries, utilities, and SDKs. Requires LPM CLI installed.
Inputs: name (required), version.
lpm_llm_contextA
Get an LLM-optimized usage guide for an LPM package — purpose, quickStart code, key exports with signatures, common usage patterns, gotchas, and when to use it. Use this to quickly understand how to use a package correctly.
Inputs: name (required), version.
lpm_marketplace_infoA
Get marketplace information for an LPM package — pricing, licensing model, seat management, and purchase status. Use this before recommending a paid package to check cost and access.
Inputs: name (required).
lpm_package_contextA
Get complete context for an LPM package in a single call — combines condensed package metadata (name, version, description, install method, dependencies), structured API docs (functions, classes, types), and LLM usage guide (quickStart, patterns, gotchas). Use this BEFORE installing to evaluate and understand a package. If the package is already installed locally, prefer reading local files directly and use lpm_package_skills for usage patterns instead.
Inputs: name (required), version.
lpm_package_infoA
Get metadata for an LPM package including versions, description, downloads, AI analysis, compatibility, and readme
Inputs: name (required).
lpm_packages_by_ownerB
List packages published by a specific user or organization on the LPM registry. Shows public packages with distribution mode.
Inputs: owner (required), limit.
lpm_package_skillsA
Get author-written Agent Skills for an LPM package — usage patterns, anti-patterns, gotchas, and best practices for code generation. Use this when BUILDING with an already-installed package. Skills are version-specific and automatically resolve from local package.json if no version is specified.
Inputs: name (required), version.
lpm_pool_statsA
Get your Pool revenue sharing earnings estimate for the current month. Shows per-package breakdown with installs, share %, and estimated earnings. Requires authentication.
Inputs: no named parameters.
lpm_quality_reportB
Get the quality score and detailed check breakdown for an LPM package (27 checks across documentation, code, testing, health)
Inputs: name (required).
lpm_searchB
Search LPM packages using natural language or structured filters. Uses hybrid semantic search for natural language queries. Supports filtering by category, distribution mode, package type, ecosystem, license, and more.
Inputs: query, category, ecosystem, distribution, +7 more.
lpm_search_ownersB
Search for users or organizations on the LPM registry by name or username.
Inputs: query (required), limit.
lpm_user_infoA
Get information about the authenticated LPM user including organizations, plan tier, pool access, and usage limits. Requires authentication.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool has a clear, distinct purpose: package management, information retrieval, search, user/owner operations, etc. Overlapping tools like lpm_api_docs, lpm_llm_context, and lpm_package_context are well-differentiated by the specific type of information they provide, and descriptions clearly state when to use each.
All tools follow a consistent 'lpm_verb_noun' pattern using lowercase snake_case (e.g., lpm_add, lpm_api_docs, lpm_search_owners). Naming is predictable and makes it easy to infer a tool's function from its name.
17 tools is well-scoped for a package registry server, covering the full workflow: discovery (search, info, docs), installation (add, install, audit), usage (browse_source, package_skills), and administrative actions (user_info, pool_stats). Each tool earns its place.
The tool surface is comprehensive for LPM registry operations, including search, package metadata, installation methods, source browsing, auditing, documentation, user/owner info, marketplace info, and pool earnings. No obvious gaps for common tasks.
Related MCP Connectors
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
Search and install 4,000+ security-scanned MCP servers from inside any MCP-aware AI client.
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server that lets AI agents search the substreams.dev package registry.166 npmMIT
- AlicenseNot gradedqualityBmaintenanceAI-first MCP server discovery tool that enables agents to search, inspect, and install MCP servers from multiple registries.14AGPL 3.0
- AlicenseAqualityDmaintenanceMCP server providing npm registry search, package details, dependency auditing, bundle size estimation, and package comparison tools for AI agents.539 npmMIT
- AlicenseAqualityDmaintenanceMCP server for the Pawn package index, enabling AI assistants to search and inspect Pawn packages, retrieve repository details, and view ecosystem statistics.41MIT