Skip to main content
Glama

RISEN Prompt Engineering MCP Tool

test-standalone.js1.15 kB
// Test if the server can start without MCP import sqlite3 from 'sqlite3'; import { promisify } from 'util'; import path from 'path'; import { fileURLToPath } from 'url'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); console.log('Testing RISEN server startup...'); console.log('Directory:', __dirname); try { // Test database creation const dbPath = path.join(__dirname, 'test.db'); console.log('Creating database at:', dbPath); const db = new sqlite3.Database(dbPath, (err) => { if (err) { console.error('Database creation failed:', err); process.exit(1); } else { console.log('Database created successfully!'); // Test a simple query db.run('CREATE TABLE IF NOT EXISTS test (id INTEGER)', (err) => { if (err) { console.error('Table creation failed:', err); } else { console.log('Table created successfully!'); console.log('All tests passed! The server should work.'); } db.close(); }); } }); } catch (error) { console.error('Error during startup:', error); }

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/Futuretechaiguy/risen-prompts-mcp-server'

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