Connect your client
This guide connects an MCP client to the StyleRef server and verifies it with a first search_styles call. By the end, your agent can search, fetch, and apply styles.
Endpoint
https://styleref.io/api/mcpThe server speaks Streamable HTTP, is stateless, and exposes anonymous read tools — no login is required to search, fetch, and apply public styles. Account-scoped tools (save, fork, create, extract, publish) prompt you to connect your StyleRef account over OAuth; see Authentication & scopes.
Connect per client
Claude Code
Install the plugin — it adds the Agent Skill and connects the server in one step:
/plugin marketplace add StyleRef/styleref-skill
/plugin install styleref@stylerefOr add only the server with the CLI:
claude mcp add --transport http styleref https://styleref.io/api/mcpWith the plugin installed you don’t need this command as well.
Verify
Ask the agent to search StyleRef, or invoke the tool directly:
Use search_styles to find "warm editorial" styles.A working connection returns a short list of style cards — name, slug, @handle, essence, and URL. Feed a slug to get_style or apply_style_to_prompt next.
Costs and limits
Searching, fetching, applying and validating styles are free. On the Free plan an extraction costs 30 credits; Pro includes extractions. The server allows 60 requests a minute per IP, 5 extractions a minute and 10 publishes an hour. See Tools reference.
Next steps
- Tools reference — every tool, with parameters and examples.
- Resources & prompts — browseable data and reusable prompts.
- Authentication & scopes — connect your account for write actions.