Skip to main content
Glama

CTS MCP Server

by EricA1019
community_detection.d.tsโ€ข827 B
/** * Community Detection Algorithm * Uses greedy modularity optimization to cluster graph nodes */ export interface GraphNode { id: string; [key: string]: any; } export interface GraphLink { source: string | GraphNode; target: string | GraphNode; [key: string]: any; } export interface ClusterResult { clusters: Map<number, Set<string>>; nodeToCluster: Map<string, number>; modularity: number; } /** * Detect communities using greedy modularity optimization * Based on the Clauset-Newman-Moore algorithm * * @param nodes - Array of graph nodes * @param links - Array of graph edges * @returns Cluster assignments and modularity score */ export declare function detectCommunities(nodes: GraphNode[], links: GraphLink[]): ClusterResult; //# sourceMappingURL=community_detection.d.ts.map

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/EricA1019/CTS_MCP'

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