Blog

Connecting a design MCP server to your agent, config by config

Words plagio team

Share X, LinkedIn

Claude Code, Codex, Cursor, VS Code and Windsurf, with the exact lines. No signup to read them.

Every agent supports MCP in its own way, and the instructions are usually behind a signup or summarised as "add it to your config file". These are the exact lines for plagio, which we make. Swap the URL and the header and they work for any HTTP MCP server.

Claude Code

One command, from the project you want it in:

claude mcp add --transport http plagio https://plagio.dev/mcp \
  --header "x-api-key: YOUR_KEY"

Replace YOUR_KEY with your own, from your settings page. Don't paste a key into a chat with an agent: it ends up in the transcript.

Cursor

Into the `mcpServers` object in `~/.cursor/mcp.json`, keeping anything already there:

{
  "mcpServers": {
    "plagio": {
      "url": "https://plagio.dev/mcp",
      "headers": { "x-api-key": "YOUR_KEY" }
    }
  }
}

Codex, VS Code and Windsurf

The same shape in a different file. Codex reads its MCP config from your Codex configuration, VS Code from its MCP configuration file, and Windsurf, now Devin Desktop, from `~/.config/devin/mcp_config.json`, which wants the transport stated:

{
  "mcpServers": {
    "plagio": {
      "url": "https://plagio.dev/mcp",
      "transport": "http",
      "headers": { "x-api-key": "YOUR_KEY" }
    }
  }
}

Paths and key names move between releases, so each agent's own MCP page is linked at the end. If a server does not appear, that page is the first place to check, not the config you just wrote.

Check it works

  1. Restart the agent. Most read the config once, at start. A server that "doesn't exist" usually exists in a file the running process has not read.
  2. Ask it to list its tools. You want to see the server's tools by name. If the server connected but has no tools, the key is wrong rather than the config.
  3. Point it at a page. "Use plagio to read stripe.com and tell me the type scale." If numbers come back, the whole path works.

Keys, briefly

A key identifies the account that pays for the captures, so treat it like any other credential: one per machine, in the config file rather than in a prompt, and rotate it if it lands anywhere public. Our setup page has a per-agent copy of these with your own key filled in once you are signed in.

Questions people ask

How do I add an MCP server to Claude Code?

claude mcp add --transport http <name> <url>, with --header for an API key if the server needs one. Run it from the project you want the server in.

Where is Cursor's MCP config?

~/.cursor/mcp.json, in the mcpServers object. Keep any servers already there and restart Cursor afterwards.

Why doesn't my agent see the server?

Usually it has not re-read the config: restart it. If it connects but lists no tools, the API key is the problem, not the file.

Should I paste my API key into the chat?

No. Put it in the config file. Anything in a chat is in the transcript, and transcripts get shared.

Sources, checked 5 November 2026

Names and products belong to their owners. Prices and features change: if something here is out of date, write to support@plagio.dev and we'll fix it.

Give your agent a real reference.

Start the free week

Keep reading