Agnes Video 2.5 MCP Service
Standalone MCP server wrapping Agnes Video 2.5, Agnes Video 2.5 Flash, and Agnes Video v2.0 (whitelist, since v0.2.0). First-class reference mode support (image / audio / video reference via images[] / audios[] / videos[] arrays and <Picture N> / / prompt placeholders) is available on 2.5 / 2.5 Flash; v2.0 uses its own protocol (ti2vid/keyframes+extra_body.image[]`) which the server translates transparently — callers keep the unified input shape.
This service is independent of hosted_mcps/agnes-mcp-studio/ (which targets the legacy agnes-video-v2.0 model via the older ti2vid / keyframes API). Run it alongside or replace — both can coexist.
When to use this service
| Need | Use this service | Use agnes-mcp-studio |
|---|---|---|
| Reference-mode video (images / audios as visual + audio anchors) | ✅ (2.5 / 2.5 Flash) | ❌ (only extra_body.image keyframes) |
First / last frame control (first_frame / last_frame) |
✅ (2.5 / 2.5 Flash / v2.0) | ✅ (raw ti2vid / keyframes) |
| Legacy v2.0 model (back-compat with existing pipelines) | ✅ (0.2.0+ whitelist; unified inputs) | ✅ (raw v2.0 protocol) |
| Image generation (text-to-image, image edit, 2.5-flash) | ✅ | ✅ (parallel surface) |
Install
cd hosted_mcps/agnes-video-25
uv sync # installs the package + dependencies
Run standalone (stdio MCP)
uv run agnes-video-25-mcp
Wire into .mcp.json
Add alongside multimedia-creator:
{
"mcpServers": {
"multimedia-creator": { /* existing agnes-mcp-studio entry */ },
"agnes-video-25": {
"command": "uv",
"args": [
"--directory", "/absolute/path/to/hosted_mcps/agnes-video-25",
"run", "agnes-video-25-mcp"
],
"env": {
"AGNES_API_KEY": "sk-your-key-here",
"AGNES_BASE_URL": "https://api.agnes-ai.cn/v1"
}
}
}
}
Environment variables
| Variable | Required | Default | Notes |
|---|---|---|---|
AGNES_API_KEY |
yes | — | Same key works for .agnes-ai.cn (CN) or .agnes-ai.com (intl) — pick the matching AGNES_BASE_URL. |
AGNES_BASE_URL |
no | https://api.agnes-ai.cn/v1 |
API root. CN / intl keys are not interchangeable. |
AGNES_OUTPUT_DIR |
no | ./outputs |
Where downloaded media land (videos → <dir>/videos/, images → <dir>/images/). Use an absolute path for predictable layouts. |
Tools
| Tool | Purpose |
|---|---|
agnes25_video_generate |
Submit + wait + download video in one call (mode="text" | "keyframe" | "reference") |
agnes25_image_generate |
Generate images (text-to-image + optional img2img via image_paths) |
agnes25_image_edit |
Edit images via image_paths + optional mask_path (inpainting) |
Full schema: see SKILL.md. Public docs:
Metadata
Release files for agnes-video-25-mcp 0.2.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 | Provenance | |
|---|---|---|---|---|
| agnes_video_25_mcp-0.2.0.tar.gz | 90.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agnes_video_25_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.8 kB
Release files / agnes_video_25_mcp-0.2.0.tar.gz
| Download URL | agnes_video_25_mcp-0.2.0.tar.gz |
|---|---|
| Size | 90.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ecb9da06c67b64b96ddebafe917ae5e9ab07c5e91450a0b7f043ce48805cefd
|
|
BLAKE2b-256 checksum How to use checksums |
0d577f5870ccf455c23da63c224c28e0086172952c65f834864e1ce480803ac8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / agnes_video_25_mcp-0.2.0-py3-none-any.whl
| Download URL | agnes_video_25_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5475065a99a8307e302175b72fde84f65abce5841c97a47dce673b4adff1a1a
|
|
BLAKE2b-256 checksum How to use checksums |
21defba10746df693b0ae009268973b8e64314b501c0f1a997fa77eeadb1c6b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for agnes-video-25-mcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.