Skip to main content
Glama
index.ts964 B
#!/usr/bin/env node /** * mcp-resonance * The Harmonic Observer - Listens to the ecosystem, detects patterns, amplifies emergence */ import { ResonanceEngine } from './resonanceEngine.js'; import { createResonanceTools, handleResonanceTool } from './tools.js'; // Initialize the resonance engine const engine = new ResonanceEngine({ maxObservations: 500, patternMinFrequency: 2, couplingThreshold: 0.3, coherenceWindow: 300000, // 5 minutes enableAutoAmplification: true, }); // Export for use as a library export { ResonanceEngine, engine }; export * from './types.js'; export { createResonanceTools, handleResonanceTool }; // If running as a standalone server (for future MCP integration) if (import.meta.url === `file://${process.argv[1]}`) { console.log('mcp-resonance initialized'); console.log('Tools available:'); const tools = createResonanceTools(engine); tools.forEach((tool) => { console.log(` • ${tool.name}`); }); }

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/Atomic-Germ/mcp-resonance'

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