Skip to main content
Glama

docs-mcp-server

SearchResultList.tsx804 B
import type { StoreSearchResult } from "../../store/types"; import SearchResultItem from "./SearchResultItem"; /** * Props for the SearchResultList component. */ interface SearchResultListProps { results: StoreSearchResult[]; } /** * Renders the list of search results using SearchResultItem. * Displays a message if no results are found. * @param props - Component props including the array of search results. */ const SearchResultList = ({ results }: SearchResultListProps) => { if (results.length === 0) { return ( <p class="text-gray-500 dark:text-gray-400 italic">No results found.</p> ); } return ( <div class="space-y-2"> {results.map((result) => ( <SearchResultItem result={result} /> ))} </div> ); }; export default SearchResultList;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arabold/docs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server