Skip to main content
Glama
by mohalmah
simple-test.jsโ€ข700 B
import 'dotenv/config'; console.log('๐Ÿงช Simple OAuth Test'); console.log('Environment check:'); console.log('- CLIENT_ID exists:', !!process.env.GOOGLE_APP_SCRIPT_API_CLIENT_ID); console.log('- CLIENT_SECRET exists:', !!process.env.GOOGLE_APP_SCRIPT_API_CLIENT_SECRET); console.log('- REFRESH_TOKEN exists:', !!process.env.GOOGLE_APP_SCRIPT_API_REFRESH_TOKEN); // Test OAuth helper import try { const { getAuthHeaders } = await import('./lib/oauth-helper.js'); console.log('โœ… OAuth helper imported successfully'); const headers = await getAuthHeaders(); console.log('โœ… Headers obtained:', Object.keys(headers)); } catch (error) { console.error('โŒ Error:', error.message); }

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