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

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.1
File Size Uploaded Provenance
agnes_video_25_mcp-0.2.1.tar.gz 92.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 111.0 kB

Release files / agnes_video_25_mcp-0.2.1.tar.gz

Download URL agnes_video_25_mcp-0.2.1.tar.gz
Size 92.4 kB
Tags Source
SHA-256 checksum
How to use checksums
68cb97748e0eb4073303b2c1672ef6dc259666996b71354eedfd21f40954467a
BLAKE2b-256 checksum
How to use checksums
6861d0b856261c7b6117179f0da9e611ccacf94fb8b74e9d230f8ca64a35585e
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.1-py3-none-any.whl

Download URL agnes_video_25_mcp-0.2.1-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4afce28b8ef81e7a06f17ac7b02e841173c83a477c6d5765e98327adba16b12f
BLAKE2b-256 checksum
How to use checksums
349860ed38e834076f09fd6d2ca9d8a5f28897cc0cfe35412712957f306789a2
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.1

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