media-mcp
v0.4.2Video and image enhancement, colorization, denoising, and SAM3 segmentation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_task
Create a video enhancement task (asynchronous). Two upload methods are supported: 1. URL upload: provide a video URL 2. Local upload: provide a local file path, the MCP Server will auto-upload to TOS object storage Parameters: - video_source: video URL or local file path - type: "url" or "local" - resolution: target resolution After creating a task, a task_id is returned immediately. Use get_task_status to poll for results until status becomes "completed" or "failed".
| Parameter | Type | Description |
|---|---|---|
video_source * | string | Video URL or local file path (URL must be publicly accessible, login or signed links are not supported) |
resolution | string | Target resolution, default 720p |
type | string | Upload type: url=remote video, local=local file |
get_task_status
Query video enhancement task status. The status field can be: processing, completed, or failed. If status is processing, wait a few seconds and call this tool again to poll.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID |
enhance_video_sync
Synchronously enhance video (blocks until completion). Two upload methods are supported: 1. URL upload: provide a video URL 2. Local upload: provide a local file path, the MCP Server will auto-upload to TOS object storage Parameters: - video_source: video URL or local file path - type: "url" or "local" - resolution: target resolution - poll_interval: polling interval in seconds - timeout: synchronous wait timeout in seconds, default 45 Best for short videos (estimated processing time < 1 minute). If the task is not completed within the timeout, the tool returns early with a task_id. Use get…
| Parameter | Type | Description |
|---|---|---|
video_source * | string | Video URL or local file path (URL must be publicly accessible, login or signed links are not supported) |
poll_interval | number | Polling interval in seconds (0.5-30), default 5 |
resolution | string | Target resolution, default 720p |
timeout | number | Synchronous wait timeout in seconds (1-45), default 45. Returns task_id early when exceeded, use the task status tool to continue polling |
type | string | Upload type: url=remote video, local=local file |
enhance_image_sync
Enhance/upscale an image to improve quality (图片增强/放大/超分辨率). Use this tool ONLY for image enhancement and upscaling tasks. Two upload methods are supported: 1. URL upload: provide an image URL 2. Local upload: provide a local file path, the MCP Server will auto-upload to TOS object storage Best for images with estimated processing time < 1 minute. If the task is not completed within the timeout, the tool returns early with a task_id. Use get_image_task_status to continue polling. When the client supplies a progressToken, the wait reports 0-100 progress through MCP progres…
| Parameter | Type | Description |
|---|---|---|
image_source * | string | Image URL or local file path (URL must be publicly accessible, login or signed links are not supported) |
poll_interval | number | Polling interval in seconds (0.5-30), default 5 |
scale | integer | Enhancement scale multiplier (1-4), default 2. Controls the upscaling factor for image enhancement (e.g. 2=2x, 4=4x) |
timeout | number | Synchronous wait timeout in seconds (1-45), default 45. Returns task_id early when exceeded, use get_image_task_status to continue polling |
type | string | Upload type: url=remote image, local=local file |
colorize_image_sync
Colorize a black-and-white photo (黑白照片上色/旧照片上色). Use this tool ONLY for adding color to grayscale or black-and-white images. Two upload methods are supported: 1. URL upload: provide an image URL 2. Local upload: provide a local file path, the MCP Server will auto-upload to TOS object storage Best for images with estimated processing time < 1 minute. If the task is not completed within the timeout, the tool returns early with a task_id. Use get_image_task_status to continue polling. When the client supplies a progressToken, the wait reports 0-100 progress through MCP pr…
| Parameter | Type | Description |
|---|---|---|
image_source * | string | Image URL or local file path (URL must be publicly accessible, login or signed links are not supported) |
poll_interval | number | Polling interval in seconds (0.5-30), default 5 |
timeout | number | Synchronous wait timeout in seconds (1-45), default 45. Returns task_id early when exceeded, use get_image_task_status to continue polling |
type | string | Upload type: url=remote image, local=local file |
denoise_image_sync
Remove noise from an image (图片降噪/去噪). Use this tool ONLY for denoising noisy or grainy images. Two upload methods are supported: 1. URL upload: provide an image URL 2. Local upload: provide a local file path, the MCP Server will auto-upload to TOS object storage Best for images with estimated processing time < 1 minute. If the task is not completed within the timeout, the tool returns early with a task_id. Use get_image_task_status to continue polling. When the client supplies a progressToken, the wait reports 0-100 progress through MCP progress notifications.
| Parameter | Type | Description |
|---|---|---|
image_source * | string | Image URL or local file path (URL must be publicly accessible, login or signed links are not supported) |
poll_interval | number | Polling interval in seconds (0.5-30), default 5 |
timeout | number | Synchronous wait timeout in seconds (1-45), default 45. Returns task_id early when exceeded, use get_image_task_status to continue polling |
type | string | Upload type: url=remote image, local=local file |
get_image_task_status
Query image processing task status. The status field can be: processing, completed, or failed. If status is processing, wait a few seconds and call this tool again to poll.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID |
sam3_predict
Analyze an image using the SAM3 segmentation API to generate inference results (masks, boxes, scores). The image can be provided in one of three ways: 1. imagePath: Absolute path of a local image file (e.g. C:\Users\xxx\photo.png). Use this when the user provides a local file path. 2. imageUrl: Publicly accessible URL of the image (e.g. https://example.com/photo.jpg). Use this when the user provides a web link. 3. imageBase64: Base64-encoded image data. Use this when the user uploads or drags-and-drops an image as an attachment and no local path is available. In this case, encode the image con…
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text prompt for mask generation. Must be in English. If the user provides Chinese or other non-English text, translate it to English before calling this tool |
imageBase64 | string | Base64-encoded image data (a data: URL prefix is also accepted). Use this when the image is provided as an attachment without a local path |
imagePath | string | Absolute path of a local image file (e.g. C:\\Users\\xxx\\photo.png) |
imageUrl | string | Publicly accessible URL of the image to process |
get_sam3_task_status
Query SAM3 image segmentation task status by task_id. Status can be: processing, completed, or failed. If completed, the result URL is returned.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | SAM3 task ID returned by sam3_predict |