protoface-mcp
v0.1.1MCP server for Protoface media generation: discover models, submit async runs, and collect outputs from Codex, Claude Code, and other MCP clients.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
submit_run
Submit an async media-generation run. Returns immediately with status 'queued'. Build `payload` from the model's `request_schemas` (see `get_model`) — every model has its own input contract. Pass an `idempotency_key` when retrying so a duplicate submit returns the original run instead of spending credits twice.
| Parameter | Type | Description |
|---|---|---|
model_id * | string | |
payload * | object | |
idempotency_key |
get_run
Retrieve a run with its outputs. Terminal statuses carry `outputs` (each entry has `type`: asset/text/data; asset entries include a downloadable `file.url` and an `asset_id`).
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
get_run_status
Poll lightweight run status. In-flight: 'queued' (see `capacity_wait`) or 'running' (see `progress`). Terminal: 'completed', 'failed' (see `error`), or 'canceled'. This endpoint is cheap — poll it, not `get_run`.
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
cancel_run
Cancel a queued or running run.
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
delete_run
Tombstone an enterprise run and enqueue irreversible content purge. The run id stays listable with empty content so deletion is auditable. Billing rows are not removed. Enterprise accounts only.
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
get_run_deletion
Retrieve the deletion receipt for a run (queued/running/completed/failed).
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
list_runs
List runs for the calling org, newest first (cursor-paginated).
| Parameter | Type | Description |
|---|---|---|
limit | ||
starting_after |
list_run_events
List a run's progress events (sequence-ordered; poll with `after`).
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
after | ||
limit |
list_models
List available generation models (id, modalities, pricing summary). Call `get_model` for the full input contract before submitting.
get_model
Retrieve one model including `request_schemas` (per-operation JSON schemas for `submit_run` payloads), `operations`, modalities, and pricing. Always call this before `submit_run` — never guess a payload shape.
| Parameter | Type | Description |
|---|---|---|
model_id * | string |
upload_asset
Upload a local file as a reusable run input (e.g. a source image or audio track). Returns an asset id to reference from the run payload.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
modality * | string | |
content_type | string | |
duration_ms | ||
schema_uri |
list_assets
List uploaded assets (cursor-paginated).
| Parameter | Type | Description |
|---|---|---|
limit | ||
starting_after |
get_asset
Retrieve asset metadata by id.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
download_asset
Download asset bytes to a local file, creating parent directories. Use for run outputs you want on disk (outputs also carry signed `file.url`s readable directly). Returns the path written.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
output_path * | string |
delete_asset
Delete an asset.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
get_usage_summary
Aggregated usage for the calling org over a time range. Check before large batches so spend never surprises the user.
| Parameter | Type | Description |
|---|---|---|
period | ||
period_end | ||
period_start |
list_billing_plans
Current public billing plan catalog.
get_quota_limits
Credit balance and low-balance quota indicators for the key's org. Refusals to spend start here — check before submitting.
get_status
Platform status roll-up. Check when runs behave unexpectedly.