Model Context Protocol
Your styles, callable from any AI agent
The StyleRef MCP server lets Claude, Cursor, VS Code, and ChatGPT search the gallery, fetch a compiled style, wrap a prompt, or write a STYLE.md — one tool call, no setup, no login for read tools.Four read tools, zero friction
Every tool is read-only and works anonymously. Each response carries the canonical StyleRef URL so styles you use travel with attribution.search_stylesget_styleapply_style_to_promptget_style_md OAuth 2.1
Connect your account, act on your library
Add StyleRef as a connector and sign in once — your agent can then read your library, save and remix gallery styles, author new styles, and run AI extractions with your plan's credits. Permissions are scoped and shown on the consent screen.list_my_stylesstyles:readsave_style / fork_stylestyles:writecreate_style / update_stylestyles:writeextract_styleextractpublish_style / set_style_visibilitystyles:writevalidate_style_mdConnect in 10 seconds
Pick your client and paste. The endpoint is the same everywhere.claude mcp add --transport http styleref https://styleref.io/api/mcpOne call, styled output
No copy-pasting style blobs. The agent composes the prompt for you.You: Make me a Midjourney prompt for a product shot in the "80s-Inspired Poster" style.
Claude: [calls apply_style_to_prompt · ref="1an6edgp-c42c0cba5315" · target="midjourney"]
product shot of a ceramic mug on a marble surface,
retro print advertising, oversized high-contrast serif headline,
sepia-cream base with a bold gold accent, filmic retro print-ad
lighting, film grain and slight vignetting --ar 4:5 --v 6
— Usage (midjourney): Subject leads; style keywords and --parameters trail.
Generated by StyleRef.io — https://styleref.io/share/1an6edgp-c42c0cba5315?utm_source=mcpResources
URI-addressable, read-only data for hosts that support MCP resources.styleref://gallery/{slug}Compiled spec for a gallery stylestyleref://gallery/{slug}/style.mdSTYLE.md body for a gallery stylestyleref://schemaThe StyleRef style schema (authoring guide)Prompts
Reusable interaction templates that standardize how agents use StyleRef.use-styleGenerate something strictly following a chosen stylepick-a-styleGuided discovery: discipline + mood → 3 candidatessetup-style-mdFetch a STYLE.md, write it, and wire it into AGENTS.md No MCP? No problem
The same styles over plain HTTP
Every read tool is also a public REST endpoint — anonymous, rate-limited, and described by an OpenAPI 3.1 spec at /api/v1/openapi.json. Use it from custom GPTs, Zapier, or thenpx styleref CLI — and bring your own token (npx styleref login) to pull your private styles.GET
Search the gallery (JSON cards)/api/v1/styles?query={q}GET
Compiled spec — default, flux, midjourney, diffusion, stylemd, json/api/v1/styles/{ref}?format={fmt}GET
Complete STYLE.md body/api/v1/styles/{ref}/style.mdPOST
Lint a STYLE.md document/api/v1/style-md/validate# Search, then pull a style compiled for FLUX
curl "https://styleref.io/api/v1/styles?query=warm+editorial&limit=3"
curl "https://styleref.io/api/v1/styles/1an6edgp-c42c0cba5315?format=flux&compact=1"
# Or from the terminal — writes STYLE.md + an AGENTS.md note
npx styleref init 1an6edgp-c42c0cba5315Browse the gallery, then call it
Find a style you like on the web, then fetch it by slug from inside your agent. Same styles, now callable infrastructure.© 2026 StyleRef. All rights reserved.