Skip to main content

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agnes-video-25-mcp 0.2.2
File Size Uploaded Provenance
agnes_video_25_mcp-0.2.2.tar.gz 94.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agnes-video-25-mcp 0.2.2
File Interpreter ABI Platform
agnes_video_25_mcp-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 113.1 kB

Release files / agnes_video_25_mcp-0.2.2.tar.gz

Download URL agnes_video_25_mcp-0.2.2.tar.gz
Size 94.1 kB
Tags Source
SHA-256 checksum
How to use checksums
06ef16cafaa1152619eab7895d4e3aa637fefc24ba177e27497d1fa365d9e0e5
BLAKE2b-256 checksum
How to use checksums
bb288ee218c41b666adae25109b31c43c62a81049304be445a573a823c49228a
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.2-py3-none-any.whl

Download URL agnes_video_25_mcp-0.2.2-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3faf46b3eb8a1b4d7bd8780680c6625a5ae26f8c1eb92620d822bf99499b890d
BLAKE2b-256 checksum
How to use checksums
272f4777c8bda8765b0da871d8948e66c28fd880c35cb222b0d076e31d1885c2
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page