Skip to main content
Glama

UnrealUGC MCP Server

npm CI

The official Model Context Protocol server for UnrealUGC. It gives MCP-compatible assistants eleven typed tools for browsing creators and models, estimating credit cost, and generating AI UGC video ads.

This repository contains only the public MCP adapter. The UnrealUGC application and backend remain private.

Prerequisites

  • Node.js 20 or newer

  • An UnrealUGC API key from Dashboard → Settings → API Keys

API keys start with usk_live_ and should be stored in your MCP client's environment settings, never committed to a repository.

Related MCP server: sahmk-mcp

Local stdio setup

You do not need to install the package globally. MCP clients can launch it with npx.

Claude Desktop

Add this server to your Claude Desktop configuration:

{
  "mcpServers": {
    "unrealugc": {
      "command": "npx",
      "args": ["-y", "@unrealugc/mcp"],
      "env": {
        "UNREALUGC_API_KEY": "usk_live_..."
      }
    }
  }
}

Claude Code

claude mcp add unrealugc --env UNREALUGC_API_KEY=usk_live_... -- npx -y @unrealugc/mcp

Codex

[mcp_servers.unrealugc]
command = "npx"
args = ["-y", "@unrealugc/mcp"]

[mcp_servers.unrealugc.env]
UNREALUGC_API_KEY = "usk_live_..."

Cursor, Windsurf, OpenClaw, and other stdio MCP clients use the same command and environment variable.

Hosted Streamable HTTP setup

Clients that support remote MCP can connect without running a local process:

URL: https://unrealugc.com/api/mcp
Authorization: Bearer usk_live_...

See the MCP setup guide for client-specific instructions.

Tools

Tool

Purpose

get_me

Confirm the account, plan, and balance behind an API key

get_credits

Read subscription and purchased credit pools

list_models

Browse available video models and capabilities

list_creators

Browse stock creators and custom avatars

list_voices

Browse stock and custom voices

list_projects

Find product and campaign projects

create_project

Create a project for related generations

list_videos

Browse generation history with filters and pagination

get_video

Poll a generation and retrieve its output URL

estimate_video_cost

Estimate credits from the script before spending

generate_video

Start an asynchronous video generation

generate_video supports native or selected voices, silent reaction/b-roll clips, per-scene visual directions, and parallel or sequential multi-clip generation.

Generation flow

  1. Call list_models and list_creators.

  2. Call estimate_video_cost with the proposed script.

  3. Check get_credits if budget matters.

  4. Call generate_video.

  5. Poll get_video about every 15 seconds, or use UnrealUGC webhooks for completion events.

Environment variables

Variable

Required

Default

UNREALUGC_API_KEY

Yes

—

UNREALUGC_BASE_URL

No

https://unrealugc.com

UNREALUGC_REQUEST_TIMEOUT_MS

No

30000

UNREALUGC_BASE_URL is intended for UnrealUGC development and staging environments.

Development

npm ci
npm run check
npm pack --dry-run

See CONTRIBUTING.md before opening a pull request. Security reports should follow SECURITY.md.

License

MIT © Next MVP Solutions LLC

Available Tools

11 tools
create_projectBInspect

Create a project to group videos for one product or campaign. Recommended when generating multiple related ads.

Inputs: name (required), productUrl, description, productName, +1 more.

estimate_video_costBInspect

Estimate the credit cost before generating. Video length is derived from script or scriptLength; durationSeconds is accepted only for backwards compatibility and is ignored.

Inputs: script, presetSlug, videoModel, voiceModel, +3 more.

generate_videoAInspect

Start an asynchronous UGC video generation. Choose exactly one stock or custom creator. Poll get_video for completion after the request returns.

Inputs: script (required), productName (required), scenes, voiceId, +13 more.

get_creditsAInspect

Get the current credit balance, split into subscription and purchased credit pools. Check this before starting a batch of video generations.

Inputs: no named parameters.

get_meAInspect

Get the authenticated UnrealUGC account, current plan, subscription status, and credit balance. Use this to confirm which account the API key belongs to.

Inputs: no named parameters.

get_videoAInspect

Get one video by id. Poll this while a generation is in progress; completed videos include an output URL.

Inputs: id (required).

list_creatorsAInspect

List stock AI creators and the authenticated account's custom avatars. Use include to return only stock or custom creators.

Inputs: include.

list_modelsAInspect

List available AI video models and their supported formats and audio capabilities. Pick a model id from this result before generating a video.

Inputs: no named parameters.

list_projectsBInspect

List projects used to group videos by product or campaign. Use this to find an existing project before generating.

Inputs: limit.

list_videosCInspect

List videos newest first. Filter by status or project and use the returned cursor for pagination.

Inputs: limit, cursor, status, projectId.

list_voicesAInspect

List stock voices and the authenticated account's custom voices. Pick a voice id before generating without native model audio.

Inputs: include.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action: account info, credits, resource listing (models, creators, voices, projects), project creation, video listing, single video retrieval, cost estimation, and video generation. No two tools have overlapping purposes.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_me, list_models, create_project, generate_video). There is no mixing of conventions or confusing verb styles.

    Tool Count5/5

    With 11 tools, the server is well-scoped for a UGC video generation API. It covers account management, resource exploration, project management, and video lifecycle without being overwhelming or too sparse.

    Completeness4/5

    The tool set covers the primary workflow: authentication, credit checking, resource selection, project creation, cost estimation, video generation, and polling. Minor gaps include missing delete operations for projects and videos, and no ability to create or update custom creators/voices, but these are not critical for the core use case.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Official MCP server for PostIdentity - Generate AI-powered social media posts, threads, and replies from any MCP-compatible AI assistant with identity management and refinement capabilities.
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Official MCP server for interacting with Saudi market data (Sahmk) via natural language queries, enabling stock quotes, company info, and market summaries inside AI agents like Cursor and Claude Desktop.
      15
      56 PyPI
      15
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Official MCP server for NanoCart, enabling AI agents to manage products, orders, coupons, categories, subscribers, settings, and pull sales reports from your store.
      31
      47 npm
      MIT