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
Metadata
Release files for avc-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| avc_mcp_server-0.1.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| avc_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / avc_mcp_server-0.1.0.tar.gz
| Download URL | avc_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20ba4f843b1330a171b231ca2f6a1d6c658c5e576ffb75aeb17548efdab2c52e
|
|
BLAKE2b-256 checksum How to use checksums |
8cf38e9912f2768583b8294d86fa4e7e0f6073f5adb6937979d55c39194a6c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / avc_mcp_server-0.1.0-py3-none-any.whl
| Download URL | avc_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
391716f30d6bbc2fb420eb4dd82f4a283060e705e9c2ba132b97ae773d4b20c8
|
|
BLAKE2b-256 checksum How to use checksums |
db55bfad127c3433cf1d7dc9d97f7452d4fd5af545f1738d3c5670d5638670c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|