Fal.ai OpenAI Image MCP Server

Fal.ai OpenAI Image MCP Server

Enables text-to-image generation using the fal.ai GPT image-1 API. It provides a tool to generate images with customizable parameters like size, quality, and background settings via natural language prompts.

Category
Visit Server

README

Fal.ai OpenAI Image MCPサーバー

fal.aiのGPT image-1 text-to-image APIを使用して画像を生成するFastMCPサーバーです。

セットアップ

  1. 依存関係をインストール:
npm install
  1. 環境変数としてAPIキーを設定:
export FAL_KEY="your_fal_api_key_here"
export OPENAI_API_KEY="your_openai_api_key_here"
  1. プロジェクトをビルド:
npm run build
  1. サーバーを実行:
npm start

使用方法

サーバーは以下のツールを提供します:

generate_image

テキストプロンプトを使用して画像を生成します。

パラメーター:

  • prompt (必須): 生成する画像のテキスト説明
  • image_size (オプション): 生成する画像のサイズ ("auto", "1024x1024", "1536x1024", "1024x1536")
  • num_images (オプション): 生成する画像の数 (1-4)
  • quality (オプション): 生成する画像の品質 ("auto", "low", "medium", "high")
  • background (オプション): 背景のタイプ ("auto", "transparent", "opaque")

例:

{
  "prompt": "夕暮れの静謐なサイバーパンク都市風景",
  "image_size": "1024x1024",
  "num_images": 1,
  "quality": "high"
}

Claude Codeでの使用

Claude Codeでこのサーバーを使用するには、以下のJSONをMCP設定に追加してください:

{
  "mcpServers": {
    "fal-openai-image": {
      "command": "node",
      "args": ["/path/to/fal_openai_image1/dist/index.js"],
      "env": {
        "FAL_KEY": "your_fal_api_key_here",
        "OPENAI_API_KEY": "your_openai_api_key_here"
      }
    }
  }
}

または、開発モードで実行する場合:

{
  "mcpServers": {
    "fal-openai-image": {
      "command": "npm",
      "args": ["run", "dev"],
      "cwd": "/path/to/fal_openai_image1",
      "env": {
        "FAL_KEY": "your_fal_api_key_here",
        "OPENAI_API_KEY": "your_openai_api_key_here"
      }
    }
  }
}

環境変数

  • FAL_KEY: 必須。fal.ai API認証用のAPIキー
  • OPENAI_API_KEY: 必須。BYOK (Bring Your Own Key) システム用のOpenAI APIキー

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured