We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AviOfLagos/MCP-coding-assistant'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
searchDocumentation.ts•394 B
import { MemoryVectorStore } from 'langchain/vectorstores/memory';
import { Document } from 'langchain/document';
export async function searchDocumentation(
query: string,
vectorStore: MemoryVectorStore,
): Promise<Document[]> {
// Perform a similarity search using the AI coder's response as the query
const results = await vectorStore.similaritySearch(query, 5);
return results;
}