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

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.

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.
In Claude Code, enter /mcp. Select snip, then select Authenticate.
The CLI, the IDE extension and the Codex app share ~/.codex/config.toml, so you do this once.
Add the JSON to the file, or to opencode.json in a project. Then run the command to sign in.
Add the JSON to the file. Or open Cursor Settings › MCP › Add custom MCP and paste it there.
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.
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.
add_referencesearch_pagesget_referenceget_motion_profilesearch_animationsCaptures that your agent starts
A capture can take minutes. How your agent waits for it depends on the client.
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.
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.
/mcp at the end.http://localhost:5273/mcp by address.get_animation. It returns sampled frames and a contact sheet.
