Skip to main content
Glama

Smart Connections MCP Server

by msdanyg
types.tsβ€’1.53 kB
/** * Type definitions for Smart Connections MCP Server */ export interface SmartSource { path: string; embeddings: { [modelKey: string]: { vec: number[]; last_embed: { hash: string; tokens: number; }; }; }; last_read: { hash: string; at: number; }; class_name: string; last_import: { mtime: number; size: number; at: number; hash: string; }; blocks: { [heading: string]: [number, number]; // [start_line, end_line] }; } export interface SmartEnvConfig { is_obsidian_vault: boolean; smart_blocks: { embed_blocks: boolean; min_chars: number; }; smart_sources: { single_file_data_path: string; min_chars: number; embed_model: { adapter: string; [key: string]: any; }; excluded_headings: string; file_exclusions: string; folder_exclusions: string; }; smart_chat_threads?: { chat_model: { adapter: string; [key: string]: any; }; active_thread_key?: string; }; } export interface SimilarNote { path: string; similarity: number; blocks?: string[]; matchedContent?: string; } export interface ConnectionNode { root: string; path: string; depth: number; connections: ConnectionNode[]; similarity: number; } export interface ConnectionGraph { root: string; connections: Array<{ path: string; depth: number; similarity: number; }>; } export interface NoteContent { path: string; content: string; blocks: string[]; }

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