Skip to main content
Glama
get-path.js1.8 kB
#!/usr/bin/env node // Simple script to get the absolute path for MCP configuration import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const serverPath = join(__dirname, 'build', 'index.js'); console.log('=== FAL Reve MCP Server Configuration ===\n'); console.log('🎨 Image Generation with Reve\n'); console.log('🚀 Universal npx Configuration (Works Everywhere)\n'); const config = { "mcpServers": { "fal-reve": { "command": "npx", "args": [ "-y", "https://github.com/PierrunoYT/fal-reve-mcp-server.git" ], "env": { "FAL_KEY": "YOUR_FAL_API_KEY_HERE" } } } }; console.log(JSON.stringify(config, null, 2)); console.log('\n=== Available Tools ==='); console.log('📸 reve_generate - Generate images from text prompts'); console.log('⏳ reve_generate_async - Generate images (async queue)'); console.log('\n=== Instructions ==='); console.log('1. Get your FAL API key from https://fal.ai/'); console.log('2. Replace "YOUR_FAL_API_KEY_HERE" with your actual API key'); console.log('3. Add this configuration to your MCP settings file'); console.log('4. Restart your MCP client'); console.log('\n✅ Benefits of npx configuration:'); console.log(' • Works on any machine with Node.js'); console.log(' • No local installation required'); console.log(' • Always uses the latest version'); console.log(' • Cross-platform compatible'); console.log('\n🎨 Reve Features:'); console.log(' • Detailed visual output closely following instructions'); console.log(' • Strong aesthetic quality'); console.log(' • Accurate text rendering'); console.log(' • Multiple aspect ratios and output formats');

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/PierrunoYT/fal-reve-mcp-server'

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