fal.ai MCP by usefulapi

Run fal.ai models, poll the inference queue and read model schemas.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
99%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,384토큰 (도구 정의)
~1.3 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.08%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "falai": {
      "url": "https://falai.usefulapi.io/mcp"
    }
  }
}

원격 엔드포인트

https://falai.usefulapi.io/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (7)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢falai_list_models(keywords, page, total)

List or search fal.ai models in the registry (paginated). fal.ai API: GET /models (query: keywords, page, total).

입력 스키마

{
  "type": "object",
  "properties": {
    "keywords": {
      "description": "Optional search string to filter models by.",
      "type": "string"
    },
    "page": {
      "description": "1-based page number (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "total": {
      "description": "Page size (number of models per page).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢falai_get_model_schema(model_id)

Get the OpenAPI 3 schema for a model — its input/output fields (components.schemas). Use this to learn what inputs a model accepts before submitting. fal.ai API: GET /openapi/queue/openapi.json?endpoint_id={model_id}.

입력 스키마

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "minLength": 1,
      "description": "The fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'."
    }
  },
  "required": [
    "model_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢falai_get_request_status(model_id, request_id, logs)

Get the status of a queued request (IN_QUEUE | IN_PROGRESS | COMPLETED). fal.ai queue: GET {queue}/{model_id}/requests/{request_id}/status (optional logs=1).

입력 스키마

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "minLength": 1,
      "description": "The fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'."
    },
    "request_id": {
      "type": "string",
      "minLength": 1,
      "description": "The queue request id returned when the request was submitted."
    },
    "logs": {
      "description": "Include queue logs in the response (?logs=1).",
      "type": "boolean"
    }
  },
  "required": [
    "model_id",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢falai_get_request_result(model_id, request_id)

Get the final output of a COMPLETED queued request. fal.ai queue: GET {queue}/{model_id}/requests/{request_id}.

입력 스키마

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "minLength": 1,
      "description": "The fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'."
    },
    "request_id": {
      "type": "string",
      "minLength": 1,
      "description": "The queue request id returned when the request was submitted."
    }
  },
  "required": [
    "model_id",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴falai_submit_request(model_id, input)

Submit an inference request to the queue and return immediately (async — does NOT wait for completion). Returns { request_id, response_url, status_url, cancel_url, queue_position }. Consumes fal credits when the model runs. fal.ai queue: POST {queue}/{model_id} with body = the model input.

입력 스키마

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "minLength": 1,
      "description": "The fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'."
    },
    "input": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "The model's input object — arbitrary params for that model, e.g. { \"prompt\": \"a cat\" }. Use falai_get_model_schema to learn the fields."
    }
  },
  "required": [
    "model_id",
    "input"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴falai_run_model(model_id, input, max_wait_seconds, poll_interval_seconds)

Convenience 'subscribe': submit a request, poll its status until COMPLETED, then return the result. Consumes fal credits. If it does not complete within the wait budget, returns a { status, request_id, status_url, note } object (NOT an error) so you can keep polling with falai_get_request_status / falai_get_request_result.

입력 스키마

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "minLength": 1,
      "description": "The fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'."
    },
    "input": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "The model's input object — arbitrary params for that model, e.g. { \"prompt\": \"a cat\" }. Use falai_get_model_schema to learn the fields."
    },
    "max_wait_seconds": {
      "description": "Max seconds to wait for completion (default 60, capped at 300).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "poll_interval_seconds": {
      "description": "Seconds between status polls (default 3, min 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "model_id",
    "input"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴falai_cancel_request(model_id, request_id)

Request cancellation of a queued (not-yet-started) request. Returns 202 { status: 'CANCELLATION_REQUESTED' }. fal.ai queue: PUT {queue}/{model_id}/requests/{request_id}/cancel.

입력 스키마

{
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "minLength": 1,
      "description": "The fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'."
    },
    "request_id": {
      "type": "string",
      "minLength": 1,
      "description": "The queue request id returned when the request was submitted."
    }
  },
  "required": [
    "model_id",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개