Skip to main content
Glama
run-demo.js904 B
#!/usr/bin/env node /** * Simple launcher script for the ThoughtMCP cognitive client demo * This script imports and runs the compiled TypeScript example */ import { PerformanceBenchmark, ThoughtMCPClient, } from "../dist/examples/cognitive-client.js"; async function main() { const args = process.argv.slice(2); console.log("🧠 ThoughtMCP Cognitive Architecture Demo"); console.log("========================================="); if (args.includes("--benchmark") || args.includes("-b")) { console.log("Running performance benchmarks...\n"); const benchmark = new PerformanceBenchmark(); await benchmark.benchmarkThinking(); } else { console.log("Running comprehensive cognitive demo...\n"); const client = new ThoughtMCPClient(); await client.runFullDemo(); } } main().catch((error) => { console.error("❌ Demo failed:", error); process.exit(1); });

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/keyurgolani/ThoughtMcp'

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