Skip to main content
Glama

MCP RSS

by ronnycoding
quick-ingest.js1.69 kB
// Quick ingestion without embeddings - just import feeds and basic articles require('dotenv').config(); // Temporarily disable OpenAI to skip embeddings const originalKey = process.env.OPENAI_API_KEY; delete process.env.OPENAI_API_KEY; const { initDatabase } = require('./dist/config/database'); const { OpmlService } = require('./dist/services/OpmlService'); const { RssService } = require('./dist/services/RssService'); const opmlFilePath = process.env.OPML_FILE_PATH || './engblogs.opml'; async function quickIngest() { console.log('Quick ingestion (without embeddings for speed)...\n'); try { console.log('1. Initializing database...'); await initDatabase(); console.log(' ✅ Database ready\n'); console.log('2. Importing feeds from OPML...'); const opmlService = new OpmlService(); await opmlService.parseAndSaveFeeds(opmlFilePath); console.log(' ✅ Feeds imported\n'); console.log('3. Fetching first 10 articles per feed (quick sample)...'); console.log(' (Embeddings disabled for speed)\n'); const rssService = new RssService(); await rssService.fetchAllFeeds(); console.log(' ✅ Sample articles fetched\n'); // Restore API key if (originalKey) { process.env.OPENAI_API_KEY = originalKey; } console.log('🎉 Quick ingestion complete!'); console.log('\nNow you can:'); console.log('- Use get_sources to see all your blogs'); console.log('- Mark favorites based on your interests'); console.log('- Later: Run full ingestion with embeddings'); process.exit(0); } catch (error) { console.error('❌ Error:', error.message); process.exit(1); } } quickIngest();

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/ronnycoding/my_mcp_rss'

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