pub async fn browse_mcp_registry(
query: Option<String>,
cursor: Option<String>,
limit: usize,
) -> Result<RegistryBrowsePage, AppError>Expand description
Fetch a single page from the MCP Registry with optional full-text search.
Unlike list_popular_mcp_servers, this function:
- Fetches one page only (no multi-page accumulation).
- Includes all active servers regardless of transport or env-var requirements.
- Marks servers that pass the zero-config npm/stdio criteria via
RegistryBrowseEntry::quick_addso the UI can surface a “Quick Add” button.
§Parameters
query– Optional search string forwarded to the registrysearch=param. PassNoneor an empty string to list all servers alphabetically.cursor– Opaque pagination cursor from a previousRegistryBrowsePage::next_cursor.limit– Number of servers to request per page (typically 20).