Supertaster

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.

MethodHowBest forLimit
Paste images into chatDrop screenshots into the agent panel with your requestA single screen or a quick fixYou repeat it in every new chat
Keep images in the repoAdd a folder such as docs/references and point the agent at filesA project with a settled lookThe folder is per project and goes stale
Connect a library over MCPAdd the library's MCP server to CursorReferences you reuse across projectsNeeds 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:

  1. Get the server URL from the tool you want to connect.
  2. Create or open ~/.cursor/mcp.json.
  3. Add an entry under mcpServers with a name and the url.
  4. Save the file, then open Cursor's MCP settings and check that the server is listed and enabled.
  5. 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.
  6. 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 rulesPut in a reference library
Color tokens and their namesScreens and layouts you admire
Type scale and font familiesTypography you would like to get close to
Which component library to useExamples of density, rhythm and tone
Spacing units and breakpointsYour own past work
Things never to do, such as inline stylesNotes 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:

  1. Open the references the agent named and compare them with the result.
  2. If a named reference had no visible effect, say so and ask again.
  3. 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


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.