MCP Server for video enhancement and image segmentation (SAM3)
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Deployment update (2026-09-06): the SAM3 source and release scripts are now maintained in
sam3-http-server, rooted at/opt/ai/sam3. API schema candidate head is20260906_0007. SAM3 production bootstrap and nine-tool E2E remain pending. See the four-project rollout.
English | δΈζ
A video enhancement, image enhancement/colorization/denoising, and image segmentation service based on the MCP protocol, acting as an MCP Client-Server to interact with backend HTTP Servers.
Release status (2026-09-06): npm
latestis0.2.1; that published artifact contains 5 tools (3 video + 2 SAM3) and its runtime metadata incorrectly reports0.3.0. This repository is the unreleased0.3.0candidate, which fixes version consistency and adds 4 image tools plus an optionalIMAGE_API_BASE_URLoverride. Image and video share the same public HTTP server and/enhancebase URL; the candidate backend keeps their prepare concurrency, Redis queues, workers, and processing concurrency separate. The image routes now exist in candidate code but are not deployed or real-AI/TOS verified, so the image tools below are not a production npm capability until all 9 tools pass smoke tests and0.3.0is published.
Provides the following MCP Tools:
Video Enhancement
create_task - Create a video enhancement task (supports URL or local file upload)get_task_status - Query task statusenhance_video_sync - Synchronously enhance video (blocking wait, truncated at ~50s by default)Image Enhancement (unreleased 0.3.0 candidate)
enhance_image_sync - Enhance image quality and optimize faces (supports URL or local file upload)colorize_image_sync - Colorize black-and-white photos (supports URL or local file upload)denoise_image_sync - Remove noise from images (supports URL or local file upload)get_image_task_status - Query image task status (for polling after sync timeout)Image Segmentation (SAM3)
sam3_predict - SAM3 image segmentation (supports local path, URL, or Base64 image)get_sam3_task_status - Query SAM3 task status (for polling after sync timeout)node --version)If your AI Agent has a known MCP config path, just copy the line below and send it to your AI:
The AI will automatically:
No installation needed. Use npx directly in your MCP client config.
Run in Claude Code:
Check the output for the "User MCPs" section to find the config file path, then edit that file.
Common paths (if /mcp is unavailable):
%USERPROFILE%\.claude.json~/.claude.json~/.claude.json~/.claude/mcp.jsonPaste this (replace your-api-key):
Save and run /mcp to verify it's loaded.
Go to Settings > Tools & MCPs > Add New MCP Server:
video-enhancementcommandOr edit ~/.cursor/mcp.json:
After restarting your client, check if the tools are available:
latest=0.2.1, you should see create_task, get_task_status, enhance_video_sync, sam3_predict, and get_sam3_task_status.0.3.0 is published, you should additionally see enhance_image_sync, colorize_image_sync, denoise_image_sync, and get_image_task_status.| Variable | Required | Default | Description |
|---|---|---|---|
API_KEY | Yes | - | API authentication key (shared by video, image, and SAM3 services) |
HTTP_API_BASE_URL | No | https://mcp.avc.ai/enhance | Shared video and image HTTP service endpoint |
IMAGE_API_BASE_URL | No | Same as HTTP_API_BASE_URL | Optional image endpoint override; omit for the shared production server |
SAM3_API_BASE_URL | No | https://mcp.avc.ai/sam | SAM3 service endpoint |
SAM3_POLL_INTERVAL | No | 2000 | SAM3 polling interval (milliseconds) |
SAM3_POLL_MAX_ATTEMPTS | No | 25 | SAM3 maximum polling attempts |
IMAGE_API_BASE_URL is implemented by the unreleased 0.3.0 candidate as an optional override. Production uses the shared /enhance service, so it should normally be omitted; the candidate then resolves image and video calls to the same base URL.
Or via CLI args:
Run this command only after 0.3.0 is published. The optional --image-base-url remains available only for deployments that intentionally split the public image endpoint; npm 0.2.1 does not support it.
This project provides both synchronous and asynchronous modes.
Because MCP Agents typically enforce a ~60-second timeout per tool call, tasks with longer processing times (video enhancement) are strongly recommended to use asynchronous mode:
Video Enhancement:
create_task to create a task β immediately get task_idget_task_status to query the statusstatus is processing, continue waiting and repeat step 2status is completed, the task is done and the result contains video_urlstatus is failed, the task failed and the result contains error_messageVideo Enhancement:
enhance_video_sync β the server polls internallytask_id and instructions for the Agent to switch to get_task_statusImage Segmentation (SAM3):
sam3_predict β the server polls internallyOnce configured, ask your AI agent naturally:
"Enhance this video to 1080p: https://example.com/video.mp4"
"Improve the quality of /Users/me/Desktop/video.mp4 to 2k"
"Enhance this image: https://example.com/photo.jpg"
"Colorize this black-and-white photo: /Users/me/Desktop/old_photo.png"
"Remove noise from this image: C:\Users\xxx\noisy.jpg"
"Analyze this image and find all objects: C:\Users\xxx\photo.png"
"Use SAM3 to segment this image, prompt: 'find all cars'"
The agent will automatically choose sync or async tools based on task complexity.
Create an asynchronous video enhancement task.
Recommended for most use cases. Ideal for longer videos (over 10 seconds) to avoid timeouts and blocking the connection.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
video_source | string | Yes | - | Video URL or local file path (URL must be publicly accessible, links requiring login or signatures are not supported) |
type | string | No | url | url or local |
resolution | string | No | 720p | 480p, 540p, 720p, 1080p, 2k |
Returns:
Query video enhancement task status.
The returned
statusfield can be:processing,completed, orfailed. Ifstatusisprocessing, you need to wait a few seconds and call this tool again.
| Parameter | Type | Required |
|---|---|---|
task_id | string | Yes |
Returns:
The message field only appears when status is processing, prompting the Agent to continue waiting.
Synchronously enhance video (blocks until completion).
Best for short videos (estimated processing time < 1 minute). If the task is not completed within 50 seconds, the tool returns early with a
task_id, and you need to useget_task_statusto continue querying.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/media-mcp)<a href="https://allmcps.com/mcp/media-mcp"><img src="https://allmcps.com/api/badge/media-mcp?style=directory" alt="Media MCP on AllMCPs" /></a>