agent-media logo

agent-media

yuvalsuede/agent-media
v0.1.2STDIORegistry activeCommunity

Is this your server?

Add your score badge to your README and get your server in front of 45k+ builders a month.

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

claude mcp add agent-media -- npx -y @agentmedia/mcp-server

Summary

CLI and MCP server for AI video and image generation with unified access to 7 models (Kling, Veo, Sora, Seedance, Flux, Grok Imagine). Provides 9 tools for generating, managing, and browsing media.

Connect from your MCP client

One-click install

Add this server to your editor with a single click. Fill in any required credentials afterward.

Claude Code

Run this once and Claude Code registers the server for you:

claude mcp add agent-media -- npx -y @agentmedia/mcp-server

Claude Desktop

Add this to claude_desktop_config.json under Settings → Developer → Edit Config:

{
  "mcpServers": {
    "agent-media": {
      "command": "npx",
      "args": [
        "-y",
        "@agentmedia/mcp-server"
      ],
      "env": {
        "AGENT_MEDIA_API_KEY": "<AGENT_MEDIA_API_KEY>"
      }
    }
  }
}

Cursor

Add this to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "agent-media": {
      "command": "npx",
      "args": [
        "-y",
        "@agentmedia/mcp-server"
      ],
      "env": {
        "AGENT_MEDIA_API_KEY": "<AGENT_MEDIA_API_KEY>"
      }
    }
  }
}

Cline and other MCP clients

Most MCP clients accept the standard mcpServers JSON block:

{
  "mcpServers": {
    "agent-media": {
      "command": "npx",
      "args": [
        "-y",
        "@agentmedia/mcp-server"
      ],
      "env": {
        "AGENT_MEDIA_API_KEY": "<AGENT_MEDIA_API_KEY>"
      }
    }
  }
}

Codex CLI

Register the server with OpenAI's Codex CLI — run this once, or add the equivalent block to ~/.codex/config.toml:

codex mcp add agent-media --env AGENT_MEDIA_API_KEY=<AGENT_MEDIA_API_KEY> -- npx -y @agentmedia/mcp-server

# or add to ~/.codex/config.toml:
[mcp_servers.agent-media]
command = "npx"
args = ["-y", "@agentmedia/mcp-server"]
[mcp_servers.agent-media.env]
AGENT_MEDIA_API_KEY = "<AGENT_MEDIA_API_KEY>"

OpenClaw

OpenClaw reads MCP servers from the mcp.servers section of ~/.openclaw/openclaw.json (managed via `openclaw mcp add` or the mcporter skill):

{
  "mcp": {
    "servers": {
      "agent-media": {
        "command": "npx",
        "args": [
          "-y",
          "@agentmedia/mcp-server"
        ],
        "env": {
          "AGENT_MEDIA_API_KEY": "<AGENT_MEDIA_API_KEY>"
        }
      }
    }
  }
}

Replace the <PLACEHOLDER> values with your own credentials — see the configuration table below.

Configuration

agent-media reads the following environment variable:

VariableRequired
AGENT_MEDIA_API_KEYRequired

Overview

CLI and MCP server for AI video and image generation with unified access to 7 models (Kling, Veo, Sora, Seedance, Flux, Grok Imagine). Provides 9 tools for generating, managing, and browsing media.

Getting started

Add agent-media to your MCP-capable client — Claude Code, Cursor, Codex, and others — by following the setup in the official repository, which documents the exact command, configuration, and any required API keys.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use AI & ML servers.