Design gallery MCP

Connect Claude Code, Cursor, Codex, OpenCode or Claude.ai to your local Snip design gallery over MCP.

MCP server at /mcp17 toolsYou approve each agent

Snip includes a local design gallery MCP server with 17 tools. After you connect, your agent can search your saved websites, read pages, computed styles, tokens and motion, and start captures. Snip asks you to approve each agent first.

Before you connect

Use the address that matches how you run Snip. The server runs only while Snip runs.

This Mac
Addresshttp://localhost:5173/mcp
Who can connectAgents on this Mac. No sign-in, only a consent screen.
Cloud mode
Addresshttps://snip.<your-subdomain>.workers.dev/mcp
Who can connectAgents anywhere, after you sign in with your passkey.
Snip Dev
Addresshttp://localhost:5273/mcp
Who can connectAgents on this Mac, while Snip Dev runs.
The Connect MCP dialog in Snip
ShortcutSnip shows these steps for you

Click Connect MCP in the top bar of Snip. The dialog shows the steps for Claude, Codex, OpenCode, Cursor and other clients, with your address in each command.

The dialog on the left is from Snip on a Mac. Each Copy button copies one command.

Add Snip to your agent

Find your agent below and run its commands in Terminal. When the browser shows Allow Snip, click Allow.

Claude CodeCLI
$claude mcp add --scope user --transport http snip http://localhost:5173/mcp

In Claude Code, enter /mcp. Select snip, then select Authenticate.

CodexCLI, IDE and app
$codex mcp add snip --url http://localhost:5173/mcp
$codex mcp login snip

The CLI, the IDE extension and the Codex app share ~/.codex/config.toml, so you do this once.

OpenCodeCLI
# ~/.config/opencode/opencode.json{ "mcp": { "snip": { "type": "remote", "url": "http://localhost:5173/mcp" } } }
$opencode mcp auth snip

Add the JSON to the file, or to opencode.json in a project. Then run the command to sign in.

CursorApp
# ~/.cursor/mcp.json{ "mcpServers": { "snip": { "url": "http://localhost:5173/mcp" } } }

Add the JSON to the file. Or open Cursor Settings › MCP › Add custom MCP and paste it there.

Snip pluginClaude Code or Codex
$claude plugin marketplace add MaxChen04/Snip
$claude plugin install snip@snip

The plugin connects the same server and adds a snip skill. For Codex, run codex plugin marketplace add MaxChen04/Snip, codex plugin add snip@snip and codex mcp login snip.

Claude.ai and Claude DesktopNeeds cloud mode
# Your cloud addresshttps://snip.<your-subdomain>.workers.dev/mcp

Open Settings › Connectors › Add custom connector. Name it Snip, paste your cloud address, then click Connect and sign in.

Ask your agent

Ask in plain words. Your agent selects the Snip tool. These requests are examples.

“Use Snip to capture linear.app.”
add_reference
“Find the pricing pages that I saved.”
search_pages
“What colors and fonts does stripe.com use?”
get_reference
“How does vercel.com animate its hero?”
get_motion_profile
“Show me the hover effects on linear.app.”
search_animations

Captures that your agent starts

A capture can take minutes. How your agent waits for it depends on the client.

MCP TasksClaude Code 2.1.319 or laterThe capture runs as a background task. Claude gets a message when it is done. If you cancel the task, the capture stops and Snip keeps the pages that are done.
PollingCodex and other clientsThe agent calls wait_for_capture until it returns done. Each call waits 40 seconds by default (up to 50), under the 60-second Codex time limit.

Tools reference

Snip gives your agent 17 tools. Your agent selects them, but you can name a tool in your request.

search_references
Ranks your websites by notes, titles, section labels and captured text.
search_pages
Ranks pages by title, section label, note and captured text.
search_animations
Finds scroll and hover animations in all your websites.
get_reference
Reads one website in parts: overview, pages, animations or tokens.
get_page
Reads one page: screenshot links, a token summary and optional HTML.
get_page_styles
Reads computed styles, keyframes, hover rules, font faces and CSS variables.
get_motion_profile
Reads how a site moves: easing, durations, staggers and entrances.
get_animation
Reads one animation: its timing, sampled frames and a contact sheet.
resolve_selection
Finds the items of a copied prompt again after a recapture.
add_reference
Puts a link in the capture queue, as one page or as a crawl.
get_capture_status
Reads the state of a capture and when the capture agent last checked in.
wait_for_capture
Waits 40 seconds by default (up to 50). Then it returns the capture or says to call again.
list_collections
Lists your boards, with their website and page counts.
create_collection
Makes a new board.
set_collection_membership
Adds a whole website to a board, or removes it.
set_page_collection_membership
Adds pages to a board, or removes them.
set_reference_notes
Replaces the note on a website.

File links that a tool returns are signed and expire after 24 hours. Recordings are WebM video, so get_animation also returns frames that a model can read.

If something goes wrong

Find the problem that you see. Then do the action in the same row.

Your agent cannot reach localhost:5173.
Do thisOpen Snip. The MCP server runs only while Snip runs.
Claude.ai does not accept a localhost address.
Do thisTurn on cloud mode. Then use your cloud address with /mcp at the end.
The plugin does not find Snip Dev.
Do thisThe plugin uses port 5173. For Snip Dev, add http://localhost:5273/mcp by address.
Your agent cannot watch a recording.
Do thisAsk it to use get_animation. It returns sampled frames and a contact sheet.
A file link stopped working.
Do thisFile links expire after 24 hours. Ask your agent to read the page again.