Skip to main content
Glama
josuekongolo

CompanyIQ MCP Server

by josuekongolo
test-complete-flow.js857 B
import { CompanyDatabase } from './build/database/db.js'; import { BrregClient } from './build/apis/brreg.js'; import { autoScrapeFinancials } from './build/tools/auto_scrape_financials.js'; console.log('🧪 Testing Complete Auto Scrape Flow\n'); console.log('═'.repeat(60)); const db = new CompanyDatabase(); const brreg = new BrregClient(); // Test 1: Check database cache (should return instantly) console.log('\n📊 TEST 1: Auto scrape with database cache'); console.log('─'.repeat(60)); try { const result = await autoScrapeFinancials( { org_nr: '999059198' }, db, brreg ); console.log('\n✅ RESULT FROM TOOL:'); console.log(result.content[0].text); } catch (error) { console.error('❌ Test failed:', error.message); console.error(error.stack); } console.log('\n═'.repeat(60)); console.log('Test 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