WidemileDocs
ToolsWorkflowsChangelogGitHub
  • Introduction
  • Getting started
  • CLI (wm)
  • Configuration
  • Tool index
Quickstart

Getting started

Connect any MCP-compatible client to the hosted Widemile MCP and run your first generation in under a minute.

Hosted, not self-hosted
The Widemile MCP is a hosted service we run for you at https://mcp.wmstudio.io/mcp/. There is nothing to deploy, no server to spin up, and no infrastructure to manage. You only need a Widemile account and an MCP-compatible client.
Prefer the terminal?
Use the wm CLI instead. npm i -g @wmstudio/cli && wm login and you're generating in 30 seconds — same backend, no MCP client required.

Prerequisites

  • A Widemile account (OAuth signs you in via Supabase).
  • An MCP client — Claude.ai, Claude Code, Cursor, or the MCP Inspector.
  • The hosted MCP URL: https://mcp.wmstudio.io/mcp/.
Trailing slash matters
Some Streamable HTTP clients drop the connection on the 307 redirect from /mcp → /mcp/. Always include the trailing slash.

Connect Claude

  1. Open Claude.ai → Settings → Connectors → Add custom connector.
  2. Paste https://mcp.wmstudio.io/mcp/ into the URL field.
  3. Click Connect and complete the OAuth sign-in (Supabase IdP).
  4. You stay signed in for 90 days; tokens refresh transparently every hour.

Connect Cursor / Claude Code

Drop this into your MCP config — same hosted URL, OAuth handles auth on first call.

mcp.json
{
  "mcpServers": {
    "wmstudio": {
      "url": "https://mcp.wmstudio.io/mcp/",
      "auth": "oauth"
    }
  }
}

Local development (contributors only)

End users do not need this section. It only applies if you are contributing to the MCP server itself. To run the server locally with Redis for OAuth state and job tracking:

python3 -m venv .venv && source .venv/bin/activate
pip install -e '.[dev]'
cp .env.example .env
docker compose up redis -d
PYTHONPATH=. uvicorn src.server:root_app --reload --host 0.0.0.0 --port 8080

Your first tool call

The fastest path: a single studio_generate_image call. It returns a hosted image URL on the Widemile CDN that you can pipe into any other tool.

json
{
  "name": "studio_generate_image",
  "arguments": {
    "prompt": "minimalist product photo of a black ceramic mug, soft daylight",
    "model": "fal-ai/flux-2-pro",
    "aspect_ratio": "4:3"
  }
}

Want to refine? Feed the returned URL into studio_expand_image for composition changes, or into studio_camera_angles for a 9-shot exploration.

Next steps

  • Browse the tool reference.
  • Chain calls in workflows.
  • Map common failures in errors.
On this page
  • Prerequisites
  • Connect Claude
  • Connect Cursor / Claude Code
  • Local development
  • Your first tool call
  • Next steps
Widemile MCP — v2.0.0
Docs home