How to use Cursor with your own design references
By Jeffrey Li ·
To use Cursor with your own design references, connect a reference library as an MCP server so the agent can look at your saved images, keep fixed decisions such as tokens and components in Cursor rules, and ask the agent to name the references it followed. Pasting screenshots into chat also works, for one task at a time.
How do I give Cursor design references?
There are three ways to give Cursor design references. They suit different amounts of work.
| Method | How | Best for | Limit |
|---|---|---|---|
| Paste images into chat | Drop screenshots into the agent panel with your request | A single screen or a quick fix | You repeat it in every new chat |
| Keep images in the repo | Add a folder such as docs/references and point the agent at files | A project with a settled look | The folder is per project and goes stale |
| Connect a library over MCP | Add the library's MCP server to Cursor | References you reuse across projects | Needs a library that offers a server |
Whichever method you use, say what to take from each image. "Use the spacing and type scale from this screenshot, ignore the colors" gives the agent something to follow. An image with no instruction gets imitated loosely or ignored.
The reason to bother is covered in How to stop AI coding agents from producing generic UI. In short, an agent with no references falls back on the most common patterns it knows. The guide to designing with AI from your own references covers the rest of the method.
How do I add an MCP server to Cursor?
You add an MCP server to Cursor by listing it in an mcp.json file. Cursor's MCP documentation describes two locations: .cursor/mcp.json in a project for that project only, and ~/.cursor/mcp.json in your home folder for every project.
For a remote server, which is one you reach by URL:
- Get the server URL from the tool you want to connect.
- Create or open
~/.cursor/mcp.json. - Add an entry under
mcpServerswith a name and theurl. - Save the file, then open Cursor's MCP settings and check that the server is listed and enabled.
- If the server asks you to sign in, complete the sign-in in the browser window that opens. Cursor's documentation says remote servers can use OAuth.
- In a new agent chat, ask "which tools do you have from this server?" to confirm the connection.
The file looks like this, with a placeholder URL:
{
"mcpServers": {
"references": {
"url": "https://example.com/mcp"
}
}
}
The MCP server setup tool writes this entry for you from a URL. Cursor changes quickly, so treat its documentation as the authority if anything here differs. If the idea of a server is new, start with What is an MCP server?.
Supertaster connects this way. It is an archive of your saved references that agents such as Cursor can search and save to. You add one URL and sign in once.
What should go in Cursor rules versus a reference library?
Cursor rules should hold decisions that are already made and must be followed every time. A reference library should hold examples that show what you like and inform judgment. Rules are text files in the project's .cursor/rules folder that Cursor gives to the agent as standing instructions.
| Put in Cursor rules | Put in a reference library |
|---|---|
| Color tokens and their names | Screens and layouts you admire |
| Type scale and font families | Typography you would like to get close to |
| Which component library to use | Examples of density, rhythm and tone |
| Spacing units and breakpoints | Your own past work |
| Things never to do, such as inline styles | Notes on why you saved each example |
A simple test: if you can state it as a rule that is either followed or broken, it belongs in rules. If you would need to show it, it belongs in the library.
Two failure modes are worth avoiding. Rules files that try to describe taste in adjectives, such as "clean and modern", give the agent nothing to act on. And reference folders that contain your tokens as screenshots make the agent guess values it should have been told.
Keep rules short. A long rules file gets followed less carefully, and it drifts out of date as the project changes.
How do I get Cursor to say which references it followed?
To get Cursor to say which references it followed, ask for it as part of the task and make it a standing rule. Agents do not report their sources unless asked.
Add something like this to a rule or to your request:
Before writing any UI, search my reference library for relevant examples
and look at the images. In your reply, list each reference you used by name
and say in one line what you took from it. If nothing relevant was found,
say so and do not invent a reference.
Then check the answer:
- Open the references the agent named and compare them with the result.
- If a named reference had no visible effect, say so and ask again.
- If the agent used nothing, ask it to search with different words, or point it at a theme or folder by name.
Some libraries build this in. Supertaster's instructions to connected agents ask them to search your references before designing and to tell you which ones shaped the result. With any setup, the last line of the prompt above matters. An agent that is told to cite references and finds none may otherwise make one up.
More on designing with ai
- How to make AI design in your style: a complete guideGet Claude, ChatGPT, Cursor and other agents to design from your references instead of their defaults.
- How to describe a visual style to an AI modelName type, color, density, spacing, imagery, era and what to avoid, then attach three to five reference images. Skip adjectives like clean.
- DESIGN.md or a reference library: what should an agent read before it designs?Both. A DESIGN.md holds the rules an agent must follow, such as tokens and components. A reference library holds examples that show what good looks like.
- How founders who cannot design can still say what they wantCollect ten things you like and three you do not, with one sentence each. That is a better design brief than any paragraph of adjectives.
- How to give ChatGPT your visual referencesGive ChatGPT your visual references by uploading images to a chat, or by connecting a reference library through MCP so it can search them itself.
- Design styles quizName the style from a live example, then keep the words to prompt AI with.
- MCP server setupPaste an MCP server's URL and get the exact steps, command or config for your agent.
Jeffrey Li makes Supertaster. His own taste archive, TAS2R38, is public at tas2r38.com.
Supertaster is a lifelong archive of your taste. You save images, links, screenshots and your own work through the AI agents you already use, over MCP. Each one is filed into a theme on an endless canvas, and any agent you connect can search the archive and use it as a reference. Start your archive.