MCP Server LogoMCP Server
MCPsカテゴリディレクトリ投稿する
投稿する
MCPsカテゴリディレクトリ投稿する
投稿する

MCPサーバー

MCPサーバーのリスト、Awesome MCPサーバーとClaude MCP統合を含む。AIの能力を強化するためのMCPサーバーを検索して発見します。

お問い合わせ

[email protected]

MCPサーバーについて

プライバシーポリシー利用規約

リソース

モデルコンテキストプロトコルMCPスターターガイドClaude MCPサーバー

コミュニティ

GitHub

© 2025 mcpserver.cc © 2025 MCPサーバー. 全著作権所有.

プライバシーポリシー利用規約
  1. Home
  2. /Categories
  3. /Media & Content
  4. /Flux Img Mcp
Flux Img Mcp

Flux Img Mcp

作成者 ckz•3 months ago
サイトを訪問する

Media & Content
image-generationMCP-serverFlux-Schnell

Flux Image MCP Server

This MCP server provides image generation capabilities using the Flux Schnell model on Replicate.

Installation

  1. Install the MCP SDK globally:
npm install -g @modelcontextprotocol/sdk@latest
  1. Clone this repository to your MCP servers directory:
cd ~/Documents/Cline/MCP
git clone https://github.com/yourusername/flux-img-mcp.git
cd flux-img-mcp
npm install
  1. Build the server:
npm run build
  1. Add the server configuration to your MCP settings file (either global or workspace):
{
  "mcpServers": {
    "flux-img": {
      "command": "node",
      "args": ["/path/to/flux-img-mcp/build/index.js"],
      "env": {
        "REPLICATE_API_TOKEN": "your-replicate-api-token"
      },
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

Configuration

The server requires the following environment variable:

  • REPLICATE_API_TOKEN: Your Replicate API token. You can get this from your Replicate account settings.

Usage

Once installed and configured, the server provides the following tool:

generate_image

Generates an image using the Flux Schnell model based on a text prompt.

Parameters:

  • prompt (string, required): Text description of the desired image

Example usage:

<use_mcp_tool>
<server_name>flux-img</server_name>
<tool_name>generate_image</tool_name>
<arguments>
{
  "prompt": "A beautiful sunset over mountains"
}
</arguments>
</use_mcp_tool>

The tool will return a JSON response containing:

  • status: The status of the generation request
  • output: The URL of the generated image (if successful)
  • error: Any error message (if failed)

Development

To make changes to the server:

  1. Modify the source code in src/index.ts
  2. Rebuild the server: npm run build
  3. Restart the MCP server for changes to take effect

Error Handling

The server includes comprehensive error handling for:

  • Missing API token
  • Invalid parameters
  • API request failures
  • Network issues

Security

  • Never commit your Replicate API token to version control
  • Always provide the token through environment variables
  • The server validates all input parameters before making API requests

前提条件

  • •サーバーのドメインに精通している
  • •関連技術の基本的な理解
  • •Media & Contentの知識

おすすめのサーバー

Mcp Brianknows

Mcp Brianknows

Unofficial MCP to use BrianKnows API for DeFI knowledge

Mcp Crypto Price

Mcp Crypto Price

A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.

Mcp Mistral Codestral

Mcp Mistral Codestral

もっと見る → →

詳細

作成日

August 27, 2025

最終更新日

August 27, 2025

カテゴリー

Media & Content

作成者

ckz

シェアする

もっと見る

Chromia Mcp

Chromia Mcp

Mac Shell Mcp

Mac Shell Mcp

An MCP (Model Context Protocol) server for executing macOS terminal commands with ZSH shell. This server provides a secure way to execute shell commands with built-in whitelisting and approval mechanisms.

Raindrop Io Mcp Server

Raindrop Io Mcp Server

Perplexity Mcp Server

Perplexity Mcp Server

This Model Context Protocol (MCP) server enables LLMs like Claude to perform internet research using the Perplexity API. It provides real-time, up-to-date information with source citations.