Skip to main content
Glama
README.md
# UseMo MCP Connector, CLI, Cursor Rule & Composable Agent Skills

![UseMo logo](assets/usemo-logo.svg)

[![UseMo MCP server](https://glama.ai/mcp/servers/gaufire/usemo-mcp/badges/score.svg)](https://glama.ai/mcp/servers/gaufire/usemo-mcp)

Connect Claude Code, Cursor, VS Code, OpenAI Codex, Windsurf, ChatGPT, Gemini CLI, Grok Build, and Claude to your UseMo workspace via OAuth 2.1 Streamable HTTP (`https://api.usemo.com/mcp`), the local stdio MCP server (`npx -y @usemo.com/mcp`, `Node.js >= 20`), or the [`@usemo.com/sdk@0.1.1`](https://www.npmjs.com/package/@usemo.com/sdk) CLI and JS/TS SDK.

UseMo runs open-source and third-party base models (such as FLUX, SDXL, Wan, Qwen, Seedance, and Seedream) inside a workspace-scoped pipeline with Brand Hub grounding, claim checking, and quality gates. Failed or gate-rejected renders are refunded automatically at `$0`.

- **Job Router (start here):** [https://usemo.com/agents/start.md](https://usemo.com/agents/start.md)
- **Agent & API Hub:** [https://usemo.com/agents](https://usemo.com/agents) ([Markdown](https://usemo.com/agents.md))
- **Agent Index (`llms.txt`):** [https://usemo.com/llms.txt](https://usemo.com/llms.txt)
- **Public MCP Server Card (18 curated core tools + 27 extended tools, no login required):** [https://api.usemo.com/.well-known/mcp/server-card.json](https://api.usemo.com/.well-known/mcp/server-card.json)
- **Live Quality Telemetry:** [https://api.usemo.com/api/public/quality](https://api.usemo.com/api/public/quality)
- **REST OpenAPI 3.1:** [https://api.usemo.com/api/openapi.json](https://api.usemo.com/api/openapi.json)
- **Identity, Voice & Likeness Authorization Policy:** [`docs/LIKENESS-AND-CONSENT.md`](docs/LIKENESS-AND-CONSENT.md)
- **npm Packages:** [`@usemo.com/mcp@0.1.1`](https://www.npmjs.com/package/@usemo.com/mcp) (stdio MCP server) | [`@usemo.com/sdk@0.1.1`](https://www.npmjs.com/package/@usemo.com/sdk) (SDK & CLI)

---

## Connect by Host

All hosted Streamable HTTP clients connect to `https://api.usemo.com/mcp` and authenticate through OAuth 2.1 + PKCE (`/.well-known/oauth-protected-resource/mcp`) or a workspace `X-API-Key` header. Never commit a real `usm_...` API key into repository config files.

### 1. Claude Code

```bash
claude mcp add --transport http usemo https://api.usemo.com/mcp
```

Run `/mcp` inside Claude Code to complete browser OAuth sign-in, or install this repository's plugin and composable skills via:

```text
/plugin marketplace add gaufire/usemo-mcp
```

For **Claude.ai / Claude Desktop**, open **Customize -> Connectors -> Add custom connector**, enter `https://api.usemo.com/mcp`, and sign in via OAuth.

### 2. Cursor

[Add UseMo to Cursor](https://cursor.com/link/mcp/install?name=usemo&config=eyJ1cmwiOiJodHRwczovL2FwaS51c2Vtby5jb20vbWNwIn0%3D)

Or add [`configs/cursor.json`](configs/cursor.json) to `~/.cursor/mcp.json` (user-wide) or `.cursor/mcp.json` (project-scoped):

```json
{
  "mcpServers": {
    "usemo": {
      "url": "https://api.usemo.com/mcp"
    }
  }
}
```

For workspace-scoped Cursor agent guidance, drop [`rules/usemo.mdc`](rules/usemo.mdc) into `.cursor/rules/usemo.mdc` (opt-in, `alwaysApply: false`).

### 3. VS Code (GitHub Copilot)

[Install UseMo in VS Code](https://vscode.dev/redirect/mcp/install?name=usemo&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.usemo.com%2Fmcp%22%7D)

Direct URI handler:

```text
vscode:mcp/install?%7B%22name%22%3A%22usemo%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.usemo.com%2Fmcp%22%7D
```

Or run the VS Code CLI:

```bash
code --add-mcp '{"name":"usemo","type":"http","url":"https://api.usemo.com/mcp"}'
```

Or add [`configs/vscode.json`](configs/vscode.json) to `.vscode/mcp.json` (`"type": "http"` selects Streamable HTTP):

```json
{
  "servers": {
    "usemo": {
      "type": "http",
      "url": "https://api.usemo.com/mcp"
    }
  }
}
```

### 4. OpenAI Codex

```bash
codex mcp add usemo --url https://api.usemo.com/mcp
```

Or add [`configs/codex.toml`](configs/codex.toml) to `~/.codex/config.toml`:

```toml
[mcp_servers.usemo]
url = "https://api.usemo.com/mcp"
```

### 5. Windsurf

Open `mcp_config.json` from Cascade's MCP menu (`~/.config/devin/mcp_config.json`, or legacy `~/.codeium/windsurf/mcp_config.json`) and add [`configs/windsurf.json`](configs/windsurf.json), then click Refresh:

```json
{
  "mcpServers": {
    "usemo": {
      "serverUrl": "https://api.usemo.com/mcp"
    }
  }
}
```

Windsurf accepts either `serverUrl` (Cascade) or `url` (Devin Local) for Streamable HTTP servers with OAuth sign-in.

### 6. ChatGPT

- **Connectors / Developer Mode (MCP):** Add a custom MCP connector with URL `https://api.usemo.com/mcp` and complete OAuth 2.1 workspace sign-in.
- **Custom GPT Actions (REST OpenAPI):** Import `https://api.usemo.com/api/integrations/chatgpt/openapi.json` and configure API Key authentication with custom header `X-API-Key: usm_...` (create keys in `https://app.usemo.com/settings`).

### Additional Hosts: Gemini CLI, Grok Build & Local stdio MCP

- **Gemini CLI:** Install this repository directly as an extension ([`gemini-extension.json`](gemini-extension.json)):

```bash
gemini extensions install https://github.com/gaufire/usemo-mcp
```

- **Grok Build:** Load [`.grok/config.toml`](.grok/config.toml) or run:

```bash
grok mcp add --transport http usemo https://api.usemo.com/mcp
```

- **Local stdio MCP (`@usemo.com/mcp@0.1.1`, `Node.js >= 20`):**

```bash
npx -y @usemo.com/mcp
```

Configure stdio MCP ([`configs/stdio.json`](configs/stdio.json)):

```json
{
  "mcpServers": {
    "usemo": {
      "command": "npx",
      "args": ["-y", "@usemo.com/mcp"],
      "env": { "USEMO_PROFILE": "work" }
    }
  }
}
```

- **CLI & JS/TS SDK (`@usemo.com/sdk@0.1.1`, `Node.js >= 20`):**

```bash
npm install -g @usemo.com/sdk@0.1.1
printf '%s\n' "$USEMO_API_KEY" | usemo login --key-stdin --profile work
usemo whoami --profile work --json
```

---

## Top 7 Jobs & Honest Boundaries

See the full routing tree at [https://usemo.com/agents/start.md](https://usemo.com/agents/start.md). Always run `usemo_whoami` -> `usemo_estimate_cost` -> paid job tool with `idempotency_key` -> `usemo_get_job`.

| # | Job & Guide | Primary MCP / REST Entrypoints | Published Credits | When NOT to use UseMo |
|---|---|---|---|---|
| 1 | [**Talking-head & spokesperson video**](https://usemo.com/jobs/talking-head-video) | `usemo_talking_head`, `usemo_create_video`, `POST /api/v1/video/talking-head` (+ `/talking-head/quote`) | `150` cr per 15 s of speech from lines; `150` cr per video from a brief (`$0` on gate failure) | Not for live conversational avatars, WebRTC website receptionists, realtime video calls, phone calls, or frame-exact multi-minute NLE timelines. |
| 2 | [**Multi-format ad creatives & social graphics**](https://usemo.com/jobs/ad-creatives-batch) | `usemo_create_ads_campaign`, `usemo_create_social_post` | `40` cr/format (`40` cr 1-format Free path, `160` cr 4-format pack); `2` cr social post | Not for editable Figma/Canva/vector layer files or direct auto-publishing/scheduling to social ad networks. |
| 3 | [**Product photos & quality-gated visuals**](https://usemo.com/jobs/product-photos) | `usemo_generate_image` (`POST /api/v1/generate`) | `4` cr flat (`$0` on gate failure) | Not for local-only / no-cloud uploads (use browser-local [usemo.com/tools](https://usemo.com/tools)), zero-retention / HIPAA workloads, custom raw ComfyUI/LoRA weight hosting, or SVG/CAD schematics. |
| 4 | [**AI presenter / digital twin with cloned voice**](https://usemo.com/jobs/ai-presenter-twin) | `usemo_script_to_video(twin_id)`, `usemo_render_twin` (extended: `usemo_list_twins`, `usemo_synthesize_voice`) | `150` cr (`$0` on gate failure) | Never without verified enrollment authorization from the depicted adult. Not for live realtime voice/video cloning calls. |
| 5 | [**Website / URL to brand-grounded video**](https://usemo.com/jobs/url-to-video) | `usemo_learn_context` -> `usemo_create_video` | Context + `150` cr video | Not for auth-walled intranets unreachable by UseMo's crawler (supply text context manually instead) or zero-retention scraping of confidential documents. |
| 6 | [**Identity-locked corporate & LinkedIn headshots**](https://usemo.com/jobs/corporate-headshots) | `usemo_create_profile_pic` (`POST /api/v1/image/profile-pic`) | `5` cr (`$0` on gate failure) | Not for government ID, passport, or biometric verification photos, unconsented third-party photos, or minors. |
| 7 | [**UGC ads & consented reaction / meme / GIF swaps**](https://usemo.com/jobs/ugc-consented-swaps) | `usemo_gif_face_swap`, `usemo_meme_face_swap`, `usemo_create_video`, `POST /api/v1/video/face-swap` | `25` cr GIF swap; `1.5` cr meme swap; `150` cr UGC video | Hard `422` refusal when authorization is missing or out of policy (unconsented likenesses, public figures without permission, minors under 18, NSFW media). Not for offline browser-local captioning (use [usemo.com/tools](https://usemo.com/tools)). |

UseMo also exposes 27 extended tools via `usemo_discover_tools`, including `.pptx` presentation decks (`usemo_create_deck`), SEO articles (`usemo_create_article`), storyboard planning (`usemo_plan_video`), job cancellation with credit refund (`usemo_cancel_job`), twin management (`usemo_list_twins`, `usemo_synthesize_voice`), and allow-listed Cartoon Studio episodes (`usemo_cartoon_*`). Standalone speech-to-text transcription is not supported.

---

## Identity, Voice & Likeness Authorization Policy

UseMo enforces pre-generation authorization and safety checks on every digital twin, voice cloning, and portrait or face-swap route before any paid GPU or model call runs. Full policy details live in [`docs/LIKENESS-AND-CONSENT.md`](docs/LIKENESS-AND-CONSENT.md).

- **Ad-hoc portrait and face swaps require explicit authorization (`consent_confirmed: true`):** `usemo_talking_head` (real presenter portrait), `usemo_meme_face_swap`, `usemo_gif_face_swap`, `POST /api/v1/video/face-swap`, and `POST /api/v1/edit/face-swap` require adult non-NSFW media and `consent_confirmed: true` confirming explicit permission from the depicted person (unless backed by a registered twin with verified enrollment authorization). Passing `consent_confirmed: false` or omitting required authorization returns a hard **HTTP `422`** (`face_swap_consent_required`).
- **Digital twins & voice cloning require verified enrollment authorization:** Twin voice synthesis (`usemo_synthesize_voice`), avatar rendering (`usemo_render_twin`), and twin-backed video jobs enforce workspace `TwinConsent` enrollment verification records scoped explicitly to `voice`, `avatar`, or `content` with audit history, optional expiry, and revocation (`/api/v1/twins/{id}/consents`, `/audit`, `/revoke`). Request-level booleans never bypass missing, out-of-policy, expired, or revoked enrollment authorization (`twin_consent_required`, HTTP `422`).
- **Hard refusals (HTTP `422` / fail-closed safety gate before spend):**
  - **Missing or out-of-policy authorization:** Missing confirmation, explicit refusal (`consent_confirmed: false`), or missing/expired/revoked enrollment authorization.
  - **Public figures without documented permission:** Celebrities, politicians, or third parties without verifiable written consent are prohibited under the [UseMo Terms of Service](https://usemo.com/terms).
  - **Minors under 18:** Zero tolerance. Pre-generation visual safety and moderation gates inspect both source faces and target frames (including sampled video keyframes) and reject any apparent minor under 18, even in clothed or non-sexual scenes.
  - **NSFW and non-consensual intimate media:** Nudity, sexually explicit content, and intimate imagery are blocked prior to provider dispatch. In production, safety gate unavailability fails closed rather than passing through.

---

## 18 Curated Core Tools (+ 27 Extended Tools)

The UseMo MCP server exposes **18 curated core tools** by default so agent context stays compact, plus **27 extended tools** discoverable on demand via `usemo_discover_tools` (45 tools total).

Start read-only, estimate cost before spending workspace credits, and poll asynchronous jobs safely:

```text
1. Check my connected UseMo workspace and how many credits I have left. (usemo_whoami)
2. Estimate the credit cost for a 2-line talking-head video and a 1-format Instagram ad without rendering yet. (usemo_estimate_cost)
3. Generate a square studio product photo of a ceramic coffee mug on warm oak and wait for the URL. (usemo_generate_image -> usemo_get_job)
4. Inspect the REST OpenAPI schema for /api/v1/video endpoints offline. (usemo_openapi_get)
```

| Category | Core Tools (18) | Credit / state behavior |
|---|---|---|
| **Start, identity & discovery (4)** | `usemo_get_started`, `usemo_whoami`, `usemo_discover_tools`, `usemo_openapi_get` | Read-only; zero secrets returned; `usemo_discover_tools` searches all 45 core + extended tools; `usemo_openapi_get` inspects REST contracts offline |
| **Pricing & async jobs (2)** | `usemo_estimate_cost`, `usemo_get_job` | Read-only credit quotes (including Free-tier fit) and bounded job polling (`wait_sec`) |
| **Video & digital twins (4)** | `usemo_talking_head`, `usemo_create_video`, `usemo_script_to_video`, `usemo_render_twin` | Asynchronous video jobs (`150` cr per video, or per 15 s of speech for `usemo_talking_head`; `$0` on gate failure); supports `idempotency_key` (`usemo_talking_head` also supports `quote_only: true`, a binding quote) |
| **Ads, social & brand context (3)** | `usemo_create_ads_campaign`, `usemo_create_social_post`, `usemo_learn_context` | Multi-format ads (`40` cr/format), social graphics (`2` cr), and website-to-Brand-Hub extraction |
| **Images, headshots & swaps (4)** | `usemo_generate_image`, `usemo_create_profile_pic`, `usemo_gif_face_swap`, `usemo_meme_face_swap` | Product photos (`4` cr), corporate headshots (`5` cr), consented GIF swaps (`25` cr), and consented meme swaps (`1.5` cr) |
| **Asset library (1)** | `usemo_list_assets` | Read-only workspace asset listing (`asset_id` reuse for twins, social posts, and downloads) |

### Async Jobs, Idempotency & Refunds

- **Timeouts do not cancel jobs:** Paid creation tools return a `job_id` immediately. If a client or `usemo_get_job` (`wait_sec`) times out, poll `usemo_get_job` again instead of resubmitting, or call `usemo_cancel_job` (via `usemo_discover_tools`) to abort a `queued`/`processing` job and refund held credits.
- **24-hour idempotency:** Pass `idempotency_key` (MCP/SDK) or `X-Idempotency-Key` (REST) on every paid write. Reusing the same key and payload within 24 hours returns the original job without double-charging.

---

## Composable Agent Skills (`SKILL.md`)

Install all skills with one command (works with Cursor, Claude Code, Codex, Gemini CLI, and the `skills` CLI), or install only the task skills your workflow uses. Delete a skill folder anytime to remove it.

```bash
npx skills add gaufire/usemo-mcp
```

### Top-7 Job Skills

| Skill | Job & Tools | Published Credits |
|---|---|---|
| [`usemo-talking-head-video`](skills/usemo-talking-head-video/SKILL.md) | Job 1: `usemo_talking_head` / `usemo_create_video` 1-call flow ([guide](https://usemo.com/jobs/talking-head-video)) | `150` cr per 15 s of speech (lines) or per video (brief) (`$0` failed) |
| [`usemo-ad-creatives-batch`](skills/usemo-ad-creatives-batch/SKILL.md) | Job 2: `usemo_create_ads_campaign` (1-format Free path & 4-format pack) + `usemo_create_social_post` ([guide](https://usemo.com/jobs/ad-creatives-batch)) | `40` cr/format (`160` cr 4-pack), `2` cr social |
| [`usemo-product-photos`](skills/usemo-product-photos/SKILL.md) | Job 3: `usemo_generate_image` quality-gated visuals ([guide](https://usemo.com/jobs/product-photos)) | `4` cr flat (`$0` failed) |
| [`usemo-ai-presenter-twin`](skills/usemo-ai-presenter-twin/SKILL.md) | Job 4: `usemo_script_to_video(twin_id)` & `usemo_render_twin` with enrollment verification ([guide](https://usemo.com/jobs/ai-presenter-twin)) | `150` cr (`$0` failed) |
| [`usemo-url-to-video`](skills/usemo-url-to-video/SKILL.md) | Job 5: `usemo_learn_context` -> `usemo_create_video` ([guide](https://usemo.com/jobs/url-to-video)) | Context + `150` cr |
| [`usemo-corporate-headshots`](skills/usemo-corporate-headshots/SKILL.md) | Job 6: `usemo_create_profile_pic` corporate/LinkedIn portraits ([guide](https://usemo.com/jobs/corporate-headshots)) | `5` cr (`$0` failed) |
| [`usemo-ugc-consented-swaps`](skills/usemo-ugc-consented-swaps/SKILL.md) | Job 7: `usemo_gif_face_swap` & `usemo_meme_face_swap` (`consent_confirmed: true`) + UGC video ([guide](https://usemo.com/jobs/ugc-consented-swaps)) | `25` cr GIF, `1.5` cr meme, `150` cr UGC |

### General Workflow & Integration Skills

| Skill | When to use | Direct install (`~/.cursor/skills` or `~/.claude/skills`) |
|---|---|---|
| [`usemo-brand-video`](skills/usemo-brand-video/SKILL.md) | Plan, quote, render, and recover talking-head, presenter, and digital-twin videos | `mkdir -p ~/.cursor/skills/usemo-brand-video && curl -fsSL https://raw.githubusercontent.com/gaufire/usemo-mcp/main/skills/usemo-brand-video/SKILL.md -o ~/.cursor/skills/usemo-brand-video/SKILL.md` |
| [`usemo-image-and-collateral`](skills/usemo-image-and-collateral/SKILL.md) | Generate images, headshots, consented meme swaps, multi-format ads, social posts, SEO articles, and `.pptx` decks | `mkdir -p ~/.cursor/skills/usemo-image-and-collateral && curl -fsSL https://raw.githubusercontent.com/gaufire/usemo-mcp/main/skills/usemo-image-and-collateral/SKILL.md -o ~/.cursor/skills/usemo-image-and-collateral/SKILL.md` |
| [`usemo-api-integration`](skills/usemo-api-integration/SKILL.md) | Build server-side `@usemo.com/sdk` or HTTP integrations with `X-Idempotency-Key` and `X-UseMo-Signature` webhooks | `mkdir -p ~/.cursor/skills/usemo-api-integration && curl -fsSL https://raw.githubusercontent.com/gaufire/usemo-mcp/main/skills/usemo-api-integration/SKILL.md -o ~/.cursor/skills/usemo-api-integration/SKILL.md` |

---

## Drop-In Host Packaging (Cursor Rule & `AGENTS.md` Snippet)

- **Cursor Rule (`rules/usemo.mdc`):** Opt-in rule (`alwaysApply: false`) teaching Cursor agents UseMo's 7-job router, `usemo_whoami` -> `usemo_estimate_cost` -> `idempotency_key` -> `usemo_get_job` sequence, authorization policy, and honest "When NOT to use UseMo" boundaries. Install into any repo:

```bash
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/gaufire/usemo-mcp/main/rules/usemo.mdc -o .cursor/rules/usemo.mdc
```

- **Drop-In `AGENTS.md` Snippet ([`templates/AGENTS.md`](templates/AGENTS.md)):** Concise copy-paste instruction block for repository `AGENTS.md` or `CLAUDE.md` files (add only after the project owner chooses UseMo; remove anytime to disable).

---

## Links & Support

- Website: [https://usemo.com](https://usemo.com)
- Job Router: [https://usemo.com/agents/start.md](https://usemo.com/agents/start.md)
- Developer & Agent Hub: [https://usemo.com/agents](https://usemo.com/agents)
- Live Quality Telemetry: [https://api.usemo.com/api/public/quality](https://api.usemo.com/api/public/quality)
- Likeness & Consent Policy: [`docs/LIKENESS-AND-CONSENT.md`](docs/LIKENESS-AND-CONSENT.md)
- Privacy Policy: [https://usemo.com/privacy](https://usemo.com/privacy)
- Terms of Service: [https://usemo.com/terms](https://usemo.com/terms)
- Support & Issues: `support@usemo.com` or [GitHub Issues](https://github.com/gaufire/usemo-mcp/issues)

## License

MIT ([`LICENSE`](LICENSE)). This repository contains public integration manifests, skills, rules, and documentation only; the hosted UseMo platform and APIs are governed by the [UseMo Terms of Service](https://usemo.com/terms).