We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/2501-ai/vmware-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import Fuse from 'fuse.js';
import { GOVC_COMMAND_INDEX, type GovcCommandEntry } from './commands';
const fuse = new Fuse<GovcCommandEntry>(GOVC_COMMAND_INDEX, {
keys: [
{ name: 'name', weight: 6 },
{ name: 'description', weight: 4 },
{ name: 'category', weight: 2 },
],
threshold: 0.4,
includeScore: true,
});
export const searchCommands = (query: string, limit = 15): GovcCommandEntry[] =>
fuse.search(query, { limit }).map((r) => r.item);