Skip to main content
Retour à l’accueil
///
StyTrix

StyTrix MCP Server

Dernière mise à jour : June 2026

The StyTrix MCP server lets AI agents — Claude.ai, Claude Code, Cursor, ChatGPT and any other Model Context Protocol client — act on your behalf inside StyTrix. Ask your assistant to generate a concept, a model, a fabric, or a full mix-and-match, and the result appears live on your canvas.

Endpoint
https://www.stytrix.com/api/mcp
Transport
Streamable HTTP
Auth
OAuth 2.1 (your StyTrix login)

Before you start

  • A StyTrix account — sign up free.
  • Credits in your account. Generation tools deduct credits; read-only tools (whoami, list_projects, get_credits) are free.
  • An MCP-capable client (Claude.ai, Claude Code, Cursor, or any MCP client).

Add to Claude.ai

  1. Open Claude.ai → Settings → Connectors.
  2. Click Add custom connector.
  3. Paste the server URL: https://www.stytrix.com/api/mcp
  4. Click Add, then Connect and sign in with your StyTrix account when prompted (OAuth).
  5. Start a chat and ask Claude to use StyTrix — see the example prompts below.

Add to Claude Code

Run this once in your terminal:

claude mcp add --transport http stytrix https://www.stytrix.com/api/mcp

The first tool call opens a browser window to authorize with your StyTrix account.

Add to Cursor

Add the server to .cursor/mcp.json (project) or your global Cursor MCP config:

{
  "mcpServers": {
    "stytrix": {
      "url": "https://www.stytrix.com/api/mcp"
    }
  }
}

Reload Cursor and authorize with your StyTrix account when prompted.

Install the StyTrix skill

Prefer one command? Install the StyTrix agent skill in Claude Code, Cursor, Codex, Gemini CLI, and 70+ other agents — it teaches your agent to design fashion with StyTrix:

npx skills add https://github.com/hirosichen/stytrix-skills --skill stytrix

Then connect StyTrix via the MCP server above, or sign in with the CLI below. See the skill repo.

Use the StyTrix CLI

No MCP connection needed — the stytrix CLI signs in with the same OAuth and works in any terminal:

npx stytrix login        # one-time browser sign-in (no API key)
npx stytrix projects     # list your canvas projects
npx stytrix credits      # check your balance
npx stytrix generate --project <id> --prompt "an oversized camel wool coat, studio shot"

On npm as stytrix (source).

Authentication

The server uses OAuth 2.1 with PKCE. There is no API key to copy or paste — your MCP client opens a StyTrix sign-in page, you approve access, and the client receives a scoped token. Every tool acts only on the authenticated account, and generation tools charge that account's credits. You can revoke access at any time from your StyTrix account settings.

Available tools

Read-only (free)

ToolNameDescription
Who Am IwhoamiReturns the StyTrix account the request is acting on behalf of.
List Projectslist_projectsList the user's canvas projects (id, title, canvas URL).
Get Creditsget_creditsGet the current credit balance.
Check Video Statuscheck_videoPoll an AI video generation by requestId.
Check Style Training Statuscheck_style_trainingPoll a custom style/LoRA training by replicateId.

Write (deduct credits)

ToolNameDescription
Create Projectcreate_projectCreate a new canvas project. Returns its id and canvas URL.
Add Image to Canvasadd_image_to_canvasPlace an image (by public URL) live onto a canvas.
Generate Design Pagegenerate_designGenerate a web-page-style HTML design page (slide / A4 doc — lookbook, pitch slide, one-pager) that embeds your image URLs, placed live on a canvas. Editable + exportable to PDF/PNG/Figma.
Generate Conceptgenerate_conceptConcept Creator — photorealistic (text→image) or true-to-sketch (edit a reference). Deducts credits.
Mix & Matchmix_matchDress a model in supplied garment images. Deducts credits.
Generate Stylegenerate_styleStyle Library — ghost-mannequin / flat-lay / on-model garment images. Deducts credits.
Generate Modelgenerate_modelModel Library — fashion model / character images. Deducts credits.
Generate Fabricgenerate_fabricFabric Library — fabric swatches / materials from text. Deducts credits.
Upscale Imageupscale_imageUpscale an image to higher resolution. Deducts credits.
Remove Backgroundremove_backgroundRemove the background from an image. Deducts credits.
Image to Sketchimage_to_sketchTurn a garment photo into a clean technical flat sketch. Deducts credits.
Multi-Angle Viewsmulti_angleGenerate coordinated multiple views from one reference image. Deducts credits.
Split Layersplit_layerSeparate an image into N visual layers. Deducts credits.
Start Video Generationstart_videoStart an AI video generation (async). Charges credits up front.
Start Style Trainingstart_style_trainingTrain a custom Flux style/LoRA from reference images (async). Charges credits up front.

Example prompts

  • List my StyTrix projects and tell me how many credits I have.
  • Create a new StyTrix project called "SS26 Outerwear", then generate a photorealistic concept of an oversized wool trench coat and place it on the canvas.
  • Generate a fashion model (female, full body, studio) in my "SS26 Outerwear" project.
  • Generate a seamless herringbone wool fabric swatch and add it to my canvas.
  • Take this garment photo https://example.com/jacket.png and create front, back and side views.
  • Start a 5-second runway video from this image and let me know when it is ready.

Credits & data

  • Generation tools deduct credits at the same per-use price as the in-app tools, and only after a successful result.
  • Images are placed on the canvas you specify; you keep full ownership of your designs.
  • See our Privacy Policy and Terms of Service for how data is handled.

Support

Questions or issues with the MCP server? Email hello@stytrix.com or visit our contact page. We typically respond within 1–2 business days.

StyTrix MCP Server — Connect Claude, Cursor & AI Agents | StyTrix