Skip to main content
Glama
test-manual-browser.js•1.61 kB
#!/usr/bin/env node /** * Manual Browser Helper - Just opens the URL in your default browser */ import { readFileSync } from 'fs'; import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url'; import { exec } from 'child_process'; const currentDir = dirname(fileURLToPath(import.meta.url)); const tokenPath = resolve(currentDir, 'correct-jwt-new.txt'); const jwtToken = readFileSync(tokenPath, 'utf8').trim(); const baseURL = "https://composer.euconquisto.com/#/embed"; const orgId = "36c92686-c494-ec11-a22a-dc984041c95d"; const embedURL = `${baseURL}/auth-with-token/pt_br/home/${orgId}/${jwtToken}`; console.log('🌐 Opening Composer in your default browser...\n'); console.log('šŸ“‹ After you create and save a composition:'); console.log(' 1. Open browser Developer Tools (F12)'); console.log(' 2. Go to Application → Local Storage'); console.log(' 3. Look for any new keys with composition data'); console.log(' 4. Also check the URL for encoded data\n'); console.log('šŸ”— Opening URL...\n'); // Open in default browser exec(`open "${embedURL}"`, (error) => { if (error) { console.error('Error opening browser:', error); console.log('\nšŸ“‹ Copy this URL and paste in your browser:'); console.log(embedURL); } else { console.log('āœ… Browser opened!'); console.log('\nšŸ’” Tips for finding storage:'); console.log(' - Check localStorage for new keys after saving'); console.log(' - Look for base64 encoded data in the URL'); console.log(' - Check Network tab for any save requests'); } });

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/rkm097git/euconquisto-composer-mcp-poc'

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