Skip to main content
Glama
index.ts344 B
#!/usr/bin/env node async function main(): Promise<void> { const transportType = process.env.MCP_TRANSPORT || 'stdio'; if ( transportType === 'http' ) { await import( './streamableHttp.js' ); } else { await import( './stdio.js' ); } } main().catch( ( error ) => { console.error( 'Fatal error in main():', error ); throw error; } );

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/ProfessionalWiki/MediaWiki-MCP-Server'

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