Skip to main content
Glama

mcp-flux-schnell MCP 서버

Flux Schnell 모델을 사용하여 텍스트-이미지 생성 도구를 구현하는 TypeScript 기반 MCP 서버입니다. 이 서버는 Cloudflare의 Flux Schnell 워커 API와 통합되어 MCP를 통한 이미지 생성 기능을 제공합니다.

특징

도구

  • generate_image - 텍스트 설명에서 이미지 생성

    • 텍스트 프롬프트를 입력으로 받습니다(1~2048자)

    • 생성된 이미지 파일의 경로를 반환합니다.

Related MCP server: MCP Replicate FLUX

환경 변수

다음 환경 변수를 구성해야 합니다.

  • FLUX_API_URL - Flux Schnell API 엔드포인트의 URL

  • FLUX_API_TOKEN - Flux Schnell API에 대한 인증 토큰

  • WORKING_DIR (선택 사항) - 생성된 이미지가 저장될 디렉토리(기본값은 현재 작업 디렉토리)

개발

종속성 설치:

지엑스피1

서버를 빌드하세요:

npm run build
# or
pnpm build

설치

커서 구성

Cursor에서 MCP 서버를 구성하는 방법은 두 가지가 있습니다.

프로젝트 구성

특정 프로젝트에만 사용할 수 있는 도구의 경우 프로젝트 디렉토리에 .cursor/mcp.json 파일을 만듭니다.

{
  "mcpServers": {
    "mcp-flux-schnell": {
      "command": "node",
      "args": ["/path/to/mcp-flux-schnell/build/index.js"],
      "env": {
        "FLUX_API_URL": "your flux api url",
        "FLUX_API_TOKEN": "your flux api token",
        "WORKING_DIR": "your working directory"
      }
    }
  }
}

이 구성은 특정 프로젝트 내에서만 사용할 수 있습니다.

글로벌 구성

모든 프로젝트에서 사용하려는 도구의 경우 홈 디렉토리에 동일한 구성으로 ~/.cursor/mcp.json 파일을 만듭니다.

{
  "mcpServers": {
    "mcp-flux-schnell": {
      "command": "node",
      "args": ["/path/to/mcp-flux-schnell/build/index.js"],
      "env": {
        "FLUX_API_URL": "your flux api url",
        "FLUX_API_TOKEN": "your flux api token",
        "WORKING_DIR": "your working directory"
      }
    }
  }
}

이렇게 하면 모든 커서 작업 공간에서 MCP 서버를 사용할 수 있습니다.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

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/bytefer/mcp-flux-schnell'

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