Capped Video

v0.1.2
io.github.bslim1009/capped-video-mcp Checked 4 days ago Published 12 days ago

Video generation (Seedance, Kling, Veo, Wan) via fal/Replicate with hard budget caps

Values you need

VariableWhat it is
FAL_KEYoptional secret fal.ai API key (API scope). Enables fal models.
REPLICATE_API_TOKENoptional secret Replicate API token. Enables Replicate models.
CAPPED_VIDEO_DEFAULT_MODELoptional Default model alias (see list_models). Default: seedance-2.5
CAPPED_VIDEO_DAILY_MAX_USDoptional Daily spending cap in USD (estimated). Default: 5
CAPPED_VIDEO_MONTHLY_MAX_USDoptional Monthly spending cap in USD (estimated). Default: 30
CAPPED_VIDEO_CONFIRM_ABOVE_USDoptional Ask the user before generations costing at least this much (0 = off). Default: 0
CAPPED_VIDEO_OUTPUT_DIRoptional Where finished videos are saved. Default: ~/.capped-video-mcp/output

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add capped-video-mcp -- uvx capped-video-mcp==0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "capped-video-mcp": {
      "args": [
        "capped-video-mcp==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "capped-video-mcp": {
      "args": [
        "capped-video-mcp==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "capped-video-mcp": {
      "args": [
        "capped-video-mcp==0.1.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.capped-video-mcp]
command = "uvx"
args = ["capped-video-mcp==0.1.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: generate_video, get_video_status, download_video, get_usage, preview_video, estimate_video, list_models.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json