MCP server for AVC video enhancement service
Project description
AVC MCP Server
MCP server for AVC video enhancement service.
What is this?
This is an MCP (Model Context Protocol) server that provides video enhancement capabilities to MCP clients like Claude Desktop.
- MCP Client: Software that calls MCP tools (like Claude Desktop)
- MCP Server: This project - provides video enhancement tools via MCP protocol
- AVC Service: The remote video enhancement service that this server calls
Claude Desktop (MCP Client) → AVC MCP Server → Remote AVC Service
Installation
# Using uv (recommended)
uv pip install -e "."
# Using pip
pip install -e "."
Usage
Stdio Mode (for Claude Desktop)
# Run with default settings
avc-mcp-server
# Or with custom AVC service URL
avc-mcp-server --avc-url http://192.168.0.7:8001 --avc-api-key your-key
Configure in Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"avc-video-enhancement": {
"command": "avc-mcp-server",
"env": {
"AVC_BASE_URL": "http://192.168.0.7:8001",
"AVC_API_KEY": "your-api-key"
}
}
}
}
SSE Mode (HTTP)
# Run SSE server on port 8000
avc-mcp-server --transport sse --port 8000
# With custom AVC service URL
avc-mcp-server --transport sse --port 8000 --avc-url http://192.168.0.7:8001
The SSE endpoint will be available at: http://localhost:8000/sse
Available Tools
enhance_video_sync
Enhance a video synchronously (waits until complete).
Input:
video_url(string, required): Video URL or local file pathresolution(string, optional): Target resolution - "480p", "540p", "720p", "1080p", "2k" (default: "720p")type(string, optional): Source type - "url" or "local" (default: "url")
Output:
{
"success": true,
"task_id": "abc123",
"status": "completed",
"video_url": "https://...",
"message": "Enhancement completed"
}
enhance_video_async
Start video enhancement asynchronously (returns task ID immediately).
Input: Same as enhance_video_sync
Output:
{
"success": true,
"task_id": "abc123",
"status": "wait",
"message": "Task created"
}
get_task_status
Query the status of a video enhancement task.
Input:
task_id(string, required): Task ID fromenhance_video_async
Output:
{
"success": true,
"task_id": "abc123",
"status": "completed",
"video_url": "https://...",
"message": "Enhancement completed"
}
Environment Variables
| Variable | Description | Default |
|---|---|---|
AVC_BASE_URL |
Base URL of the remote AVC service | http://192.168.0.7:8001 |
AVC_API_KEY |
API key for AVC service authentication | None |
Development
# Install dev dependencies
uv pip install -e ".[dev]"
# Run tests
uv run pytest -v
# Code formatting
ruff format .
ruff check .
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file avc_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: avc_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ba4f843b1330a171b231ca2f6a1d6c658c5e576ffb75aeb17548efdab2c52e
|
|
| MD5 |
236cab9c18a9416fb718955e4e9b367a
|
|
| BLAKE2b-256 |
8cf38e9912f2768583b8294d86fa4e7e0f6073f5adb6937979d55c39194a6c35
|
File details
Details for the file avc_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: avc_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
391716f30d6bbc2fb420eb4dd82f4a283060e705e9c2ba132b97ae773d4b20c8
|
|
| MD5 |
1a8e998ae090ebc622f075b7169c982d
|
|
| BLAKE2b-256 |
db55bfad127c3433cf1d7dc9d97f7452d4fd5af545f1738d3c5670d5638670c5
|