// src/application/managers/interfaces/ISearchManager.ts
import {IManager} from './IManager.js';
import type {Graph} from '@core/index.js';
/**
* Interface for search-related operations in the knowledge graph.
* Defines the contract for searching nodes based on queries and retrieving specific nodes.
*/
export interface ISearchManager extends IManager {
/**
* Searches for nodes in the knowledge graph based on a query.
*/
searchNodes(query: string): Promise<Graph>;
/**
* Retrieves specific nodes from the knowledge graph by their names.
*/
openNodes(names: string[]): Promise<Graph>;
/**
* Reads and returns the entire knowledge graph.
*/
readGraph(): Promise<Graph>;
}
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/CheMiguel23/MemoryMesh'
If you have feedback or need assistance with the MCP directory API, please join our Discord server