Skip to main content
Glama

flux-dev MCP Server

by nicekate
import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import { fileURLToPath } from 'url'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const buildPath = path.join(__dirname, '..', 'build', 'index.js'); // 只在非Windows系统上设置可执行权限 if (os.platform() !== 'win32') { try { fs.chmodSync(buildPath, '755'); console.log('Successfully set executable permissions on build/index.js'); } catch (error) { console.warn('Warning: Could not set executable permissions on build/index.js'); console.warn(error); } } else { console.log('Skipping permission setting on Windows'); }

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/nicekate/flux-dev-mcp'

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