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 video generation task only (mode="text" | "keyframe" | "reference"). Returns {video_id, model_id, submit_key_masked} — pair with agnes25_video_query for status / download.
agnes25_video_query Poll video task status by id. Pass force_key_masked (from agnes25_video_generate's submit_key_masked) so the poll reuses the submitting key. Optional download=True saves to AGNES_OUTPUT_DIR/videos/.
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)
agnes25_upload_image Upload a local file to img.remit.ee and return the public HTTPS URL

Full schema: see SKILL.md. Public docs:

Metadata

Release files for agnes-video-25-mcp 0.2.5

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.5
File Size Uploaded Provenance
agnes_video_25_mcp-0.2.5.tar.gz 110.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 132.9 kB

Release files / agnes_video_25_mcp-0.2.5.tar.gz

Download URL agnes_video_25_mcp-0.2.5.tar.gz
Size 110.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f5233c43a837648bbca30da328e6a38ff00c75c4f6aeb912ffd6d15ecc5eeea5
BLAKE2b-256 checksum
How to use checksums
32c2fda6be83978b6e7e6c0181194fff24a79010a674c3a8fb89a422c3196c74
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.5-py3-none-any.whl

Download URL agnes_video_25_mcp-0.2.5-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfb2876bd8a74829ebe13ff35e195687a406841de3c9b16bc7f9937c71b71e86
BLAKE2b-256 checksum
How to use checksums
77cea39653aab961416e398d37d6b6183ded16c08bc0569ae91d1c398883db60
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.5

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