Skip to main content
Glama
josuekongolo

CompanyIQ MCP Server

by josuekongolo
test-env-loading.js723 B
import dotenv from 'dotenv'; dotenv.config(); console.log('Testing environment variable loading...'); console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n'); const apiKey = process.env.OPENAI_API_KEY; if (apiKey) { console.log(`✅ OPENAI_API_KEY loaded successfully!`); console.log(` Key starts with: ${apiKey.substring(0, 20)}...`); console.log(` Key length: ${apiKey.length} characters`); } else { console.log('❌ OPENAI_API_KEY not found in environment!'); console.log(' Please check your .env file'); } console.log('\n📁 .env file location:', process.cwd() + '/.env'); console.log('🔍 Environment check complete\n');

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/josuekongolo/companyiq-mcp'

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