Docs · MCP

Connect your agent to Knighn.

One address works in every client: https://mcp.knighn.com/mcp. The first time, the agent opens a Knighn page where you sign in and choose what it may do.

Add Knighn

Claude

  1. In Claude, open Settings > Connectors and choose Add custom connector.
  2. Name it Knighn and paste https://mcp.knighn.com/mcp as the address.
  3. Choose Connect. A Knighn page opens: sign in and allow the permissions you want.
  4. In a chat, turn Knighn on from the tools menu and ask for a design.

ChatGPT

  1. In ChatGPT, open Settings > Apps and connectors. Turn on developer mode in Advanced settings if your plan asks for it.
  2. Choose Create, name it Knighn and paste https://mcp.knighn.com/mcp as the MCP server address, with OAuth as the authentication.
  3. Sign in on the Knighn page that opens and allow the permissions you want.
  4. In a chat, pick Knighn from the tools menu and ask for a design.

Claude Code

  1. Run the command below in a terminal.
  2. Run /mcp in Claude Code and choose knighn to sign in.
claude mcp add --transport http knighn https://mcp.knighn.com/mcp

Codex

  1. Add the server, then sign in when Codex asks.
codex mcp add knighn --url https://mcp.knighn.com/mcp
codex mcp login knighn

Cursor and other clients

  1. Add this to the MCP settings file of the client (in Cursor: Settings > MCP > Add new server).
  2. The client opens the Knighn sign-in page the first time it connects.
{
  "mcpServers": {
    "knighn": {
      "type": "http",
      "url": "https://mcp.knighn.com/mcp"
    }
  }
}

The two tools

search

Search designs

Finds screens, components and layers in your designs, your files, the design guide, templates, styles, fonts, icons, brand logos and recent errors. It only reads.

execute

Edit a design

Runs a short JavaScript snippet against one design: add screens, change layers, set tokens, take screenshots and export. It can make a new design, and it can delete layers.

Permissions

You choose these on the sign-in page. An agent can do only what you allow.

designs:read

Search and read your designs. Needed for search.

designs:write

Create and change your designs. Needed for execute.

devices:run

Run execute on one of your Macs, for screenshots and exports. Optional.

Revoke access

Open Knighn at app.knighn.com or in the Mac app, then Settings > Connections. Choose Revoke next to an app. Its access stops at once, and it must sign in again to connect. A client that cannot sign in can use an API key link from the Home tab; delete the key in the same place.

Questions: admin@ljk.dev. See also the privacy policy.