Skip to main content
Glama
by mohalmah
simple-oauth-test.js712 B
#!/usr/bin/env node /** * Simple OAuth Setup Test */ console.log('🔐 OAuth Setup Test'); console.log('=================='); // Test without any imports first console.log('✅ Console output working'); try { console.log('📦 Testing imports...'); // Test basic import const { TokenManager } = await import('../lib/tokenManager.js'); console.log('✅ TokenManager imported successfully'); const tokenManager = new TokenManager(); console.log('✅ TokenManager instance created'); const tokenInfo = tokenManager.getTokenInfo(); console.log('📊 Token info:', tokenInfo); } catch (error) { console.error('❌ Error:', error.message); console.error('Stack:', error.stack); }

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/mohalmah/google-appscript-mcp-server'

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