# Bria MCP MCP Server

> **Bria MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Bria MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/bria-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Generate, edit, enhance, and transform images through Bria's commercially-safe visual AI models.

---

## Details

- Server ID: `bria-mcp`
- Version: 1.0.0
- Tools: 19
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Bria MCP has to be in the toolset
first. In order:

1. Add Bria MCP to your toolset at https://mewcp.com/mcp/bria-mcp
2. Connect your Bria MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `list_accounts(provider)` — only when one app has several connected accounts
- `call_tool(server_maskedId, tool_name, args)` — execute

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (19)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `remove_background` _(write)_ — Remove background from an image, optionally guided by a prompt naming what to keep or drop. Args: image: Image URL (preferred) or base64 data. Local file paths…
- `blur_background` _(write)_ — Apply blur effect to an image background. Args: image: Image URL (preferred) or base64 data. Local file paths work only when the server runs on the same…
- `crop_out_foreground` _(write)_ — remove the background from an image and crop tightly around the foreground or remaining region of interest. Supports both images with and without a background.…
- `increase_resolution` _(write)_ — Upscale image by 2x or 4x. Args: image: Image URL (preferred) or base64 data. Local file paths work only when the server runs on the same machine. scale:…
- `expand_image` _(write)_ — Expand an image or change its aspect ratio using generative AI. This function can expand images, change aspect ratios, or generate multiple aspect ratios. Use…
- `generate_background` _(write)_ — Generate or replace an image background with a generated scene. Must have either prompt or reference_images! Args: image: Image URL (preferred) or base64 data.…
- `erase_foreground` _(write)_ — Erase the foreground object from a provided image, while generating the area behind it. Args: image: Image URL (preferred) or base64 data. Local file paths…
- `erase_from_image` _(write)_ — Erase the object a mask covers and fill the area so it matches its surroundings. composite false (default, context aware) also removes what the object casts…
- `enhance_image` _(write)_ — Enhance an image by generating richer details, sharper textures, and higher clarity, optionally upscaling. Args: image: Image URL (preferred) or base64 data.…
- `edit_image` _(write)_ — Edit an existing image with a natural language instruction, optionally combining up to 4 images in total (the one being edited plus references). Use this tool…
- `product_holding` _(write)_ — Put a product in someone's hands. No prompt is needed - a person photo and one to three product photos are a complete request. Use this tool when the user…
- `virtual_tryon` _(write)_ — Put garments on a person. No prompt is needed - a person photo and one to three garment photos are a complete request. Use this tool when the user wants a…
- `text_to_image` _(write)_ — Generate a new image using Bria's Fibo 2 model, from a text prompt or from an existing image as inspiration. Fibo 2 is Bria's advanced image generation model,…
- `ad_to_layers` _(write)_ — Turn a finished, flat ad image back into editable layers. Separates a completed creative into background, imagery, logo, headline, body copy and CTA. Image…
- `ad_resize` _(write)_ — Resize a finished, flat ad image into one or more target sizes. Bria turns the ad into editable layers and lays each size out again with its own layout engine,…
- `remove_video_background` _(write)_ — Remove background from a video while maintaining the foreground subject. Args: video: Video URL (preferred) or base64 data. URLs provide best performance.…
- `increase_video_resolution` _(write)_ — Increase the resolution of a video by a specified factor. Args: video: Video URL (preferred) or base64 data. URLs provide best performance. desired_increase:…
- `video_mask_by_prompt` _(write)_ — Mask a video by a prompt (will trim video to match proper length). Args: video: Video URL (preferred) or base64 data. URLs provide best performance. prompt:…
- `erase_from_video` _(write)_ — Erase an object from a video based on a mask video or given prompt. Args: video: Video URL (preferred) or base64 data. URLs provide best performance.…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/bria-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/bria-mcp/connect/chatgpt
- VS Code: https://mewcp.com/mcp/bria-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/bria-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/bria-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/bria-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/bria-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/bria-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/bria-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/bria-mcp/connect/hermes
- DeepSeek Harness: https://mewcp.com/mcp/bria-mcp/connect/dsh
- Python: https://mewcp.com/mcp/bria-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/bria-mcp/connect/typescript