Skip to main content
Glama
msdanyg

Smart Connections MCP Server

by msdanyg
search-engine.d.ts1.41 kB
/** * Semantic search engine for Smart Connections */ import type { SimilarNote, ConnectionGraph, NoteContent } from './types.js'; import type { SmartConnectionsLoader } from './smart-connections-loader.js'; export declare class SearchEngine { private loader; private embeddingModelKey; constructor(loader: SmartConnectionsLoader); /** * Find similar notes to a given note path */ getSimilarNotes(notePath: string, threshold?: number, limit?: number): SimilarNote[]; /** * Get embedding neighbors for a given embedding vector */ getEmbeddingNeighbors(embeddingVector: number[], k?: number, threshold?: number): SimilarNote[]; /** * Build a connection graph starting from a note */ getConnectionGraph(notePath: string, depth?: number, threshold?: number, maxPerLevel?: number): ConnectionGraph; /** * Search notes by content similarity */ searchByQuery(queryText: string, limit?: number, threshold?: number): SimilarNote[]; /** * Get note content with matched blocks highlighted */ getNoteWithContext(notePath: string, includeBlocks?: string[]): NoteContent; /** * Get statistics about the knowledge base */ getStats(): { totalNotes: number; totalBlocks: number; embeddingDimension: number; modelKey: string; }; } //# sourceMappingURL=search-engine.d.ts.map

Latest Blog Posts

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/msdanyg/smart-connections-mcp'

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