agentleFS
prizmadprizmad/agent-skills/mcp-server/SKILL.md

mcp-server

Skill2 starsChanged 7 months agoMITView on GitHub

MCP server for AI agents to create video ads via Streamable HTTP. Primary auth is OAuth 2.1 + Dynamic Client Registration (the modern Claude Desktop / Claude.ai / ChatGPT / Cursor "Connect" flow); long-lived API keys remain supported for headless clients.

  • Reads credentials

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All three resolve to the same per-user identity.

    line 68
  2. Distinctive:

    All optional; omit any field for a randomised pick at render time.

    line 88

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prizmad MCP Server

Prizmad exposes a remote Model Context Protocol (MCP) server. Any MCP-compatible host (Claude Desktop, Claude.ai web, ChatGPT, Cursor, Continue, Zed, Claude Code CLI, n8n, custom SDKs) connects and drives the full UGC video studio programmatically.

Connect (primary path — OAuth Connect button)

Modern MCP clients click Add custom connector → enter the MCP URL and the OAuth flow runs automatically:

  1. Client probes https://prizmad.com/api/mcp → 401 with WWW-Authenticate: Bearer resource_metadata="…".
  2. Client reads /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server.
  3. Client POST /oauth/register (RFC 7591 Dynamic Client Registration) — no manual app pre-registration needed.
  4. Browser opens https://prizmad.com/oauth/authorize → user signs in (NextAuth) → consent screen → redirect back with code.
  5. Client exchanges code for an RS256 JWT (audience https://prizmad.com/api/mcp).
  6. Client calls https://prizmad.com/api/mcp with Authorization: Bearer <jwt>. Refresh tokens rotate; PKCE S256 mandatory.

Compatible clients: Claude Desktop, Claude.ai, ChatGPT, Cursor, Zed, Claude Code CLI. Same-origin design (authorize/token/register all live on prizmad.com) sidesteps the Claude.ai web bug that ignores cross-origin authorization endpoints.

Streamable HTTP config (when manual config is needed)

{
  "mcpServers": {
    "prizmad": {
      "transport": "streamable-http",
      "url": "https://prizmad.com/api/mcp"
    }
  }
}

The Connect flow handles the Bearer token automatically. To pre-fill an existing API key instead, add "headers": { "Authorization": "Bearer przmad_sk_live_..." }.

stdio-only clients (via the published bridge)

{
  "mcpServers": {
    "prizmad": {
      "command": "npx",
      "args": ["-y", "@prizmad/mcp-server"],
      "env": { "PRIZMAD_API_KEY": "przmad_sk_live_..." }
    }
  }
}

Or via the generic bridge: ["mcp-remote", "https://prizmad.com/api/mcp"].

Authentication options at a glance

PathWhenToken shape
OAuth 2.1 Authorization Code + PKCE + DCRInteractive clients (Claude Desktop, etc.)RS256 JWT (1 h), refresh rotated (30 d)
OAuth 2.0 client_credentialsHeadless / server-to-serverHS256 JWT (1 h)
API key (Bearer)Quickest for dev, scripts, internal toolsprzmad_sk_live_...

All three resolve to the same per-user identity. Discovery: /.well-known/oauth-authorization-server, /.well-known/oauth-protected-resource, /.well-known/jwks.json.

Available tools

ToolAuthPurpose
list_templatesNoFull template catalog with features and token costs
list_avatarsNoBuilt-in avatar presets with recommended voices
recommend_templateNoPick top-3 templates from intent + constraints (voice / avatar / duration / budget). Use this before create_video instead of guessing from the catalog.
list_my_videosYesRecent projects with projectUrl / shareUrl / downloadUrl
upload_imageYesUpload an image (URL or base64) → returns prizmad.com-hosted URL for use as productImages / avatar
create_videoYesStart a render. Returns videoId.
get_video_statusYesSnapshot status by default; with wait: true it blocks server-side and streams notifications/progress until terminal (up to 10 min) — preferred over polling.
get_download_urlYesAuthenticated download URL on prizmad.com for a completed video
create_video_batchYesLaunch up to 20 renders in parallel; pre-checks total token cost

list_templates and list_avatars are deliberately public so an agent can browse before authenticating.

Customization knobs on create_video (and per-item in create_video_batch)

All optional; omit any field for a randomised pick at render time.

captionStyle — on-video subtitles

ValueLook
classicTikTok yellow highlight, white sans-serif (default fallback)
bold-impactMrBeast / Hormozi — uppercase Anton with heavy black stroke and green highlight
karaokeActive word colour-sweeps left-to-right as it's spoken
popActive word springs up in scale, inactive words dim
bounceActive word hops up with a low-damping spring (Fredoka)
neonPink/cyan glowing halo (Audiowide)
typewriterCharacters reveal one-by-one with a blinking caret (JetBrains Mono)
glowSoft white halo, gentle scale on the active word (Montserrat)

musicStyle — background music

energetic, friendly, professional, luxury, funny, cinematic, lo-fi, hip-hop, acoustic.

ctaStyle — end-card

ValueLook
classicSolid dark backdrop, centered title + price, green "LINK BELOW" pill
blurred-photoFirst creative blurred behind minimal cream title + price + circled down-arrow
dark-solidSame minimal layout on a solid warm-dark backdrop

imageStyle — lighting/palette preset for AI creatives (10 options)

warm-golden, bright-neutral, cool-diffused, window-light, earthy-ambient, studio-clean, moody-dramatic, pastel-soft, nordic-minimal, sunset-warm.

Free-text prompt hints

imagePromptHint, videoPromptHint, musicPromptHint — each ≤ 400 chars, layered on top of style presets.

Output URLs (what to give the user)

get_video_status returns three URLs once rendering is complete — they map cleanly:

FieldGoes to
projectUrlhttps://prizmad.com/projects/<id> — owner-only dashboard with player, remix, edit, asset library. Primary link when handing the result back to the signed-in user.
shareUrlhttps://prizmad.com/share/<token> — public share page, useful only when forwarding the video to someone outside the account.
downloadUrlhttps://prizmad.com/api/v1/videos/<id>/download — authenticated mp4 stream proxied via prizmad.com.

The raw Vercel Blob URL is never surfaced to the agent.

Typical flow

recommend_template ─► create_video ─► get_video_status (wait: true) ─► projectUrl + downloadUrl
  1. (No auth) recommend_template({ intent, hasVoiceover, hasAvatar, targetDurationSec, maxTokens }) — pick a template.
  2. (Optional) upload_image if the agent wants to attach product photos that aren't yet on the web.
  3. create_video with templateId + productUrl (scraped) or explicit productTitle / productDescription / productImages + any customisation. Returns videoId.
  4. get_video_status({ videoId, wait: true }) — blocks server-side, streams progress, returns the final payload when ready (3–8 minutes typical, capped at 10 min).
  5. Hand projectUrl to the user.

For bulk campaigns use create_video_batch (1–20 per request).

Plan + token rules

  • API video generation requires a Pro subscription (/api/v1/videos returns 403 with a clear upgrade message otherwise).
  • Tokens come from the user's monthly plan first, then any top-up balance.
  • Insufficient balance returns a 402 with a top-up URL.
  • The MCP layer renders both errors as plain English so the assistant can repeat them verbatim.

Rate limits

  • Per-key / per-OAuth-client rate limit on the MCP endpoint.
  • Each successful create_video debits the caller's Prizmad token balance.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.