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
- In Claude, open Settings > Connectors and choose Add custom connector.
- Name it Knighn and paste https://mcp.knighn.com/mcp as the address.
- Choose Connect. A Knighn page opens: sign in and allow the permissions you want.
- In a chat, turn Knighn on from the tools menu and ask for a design.
ChatGPT
- In ChatGPT, open Settings > Apps and connectors. Turn on developer mode in Advanced settings if your plan asks for it.
- Choose Create, name it Knighn and paste https://mcp.knighn.com/mcp as the MCP server address, with OAuth as the authentication.
- Sign in on the Knighn page that opens and allow the permissions you want.
- In a chat, pick Knighn from the tools menu and ask for a design.
Claude Code
- Run the command below in a terminal.
- Run /mcp in Claude Code and choose knighn to sign in.
claude mcp add --transport http knighn https://mcp.knighn.com/mcpCodex
- Add the server, then sign in when Codex asks.
codex mcp add knighn --url https://mcp.knighn.com/mcp
codex mcp login knighnCursor and other clients
- Add this to the MCP settings file of the client (in Cursor: Settings > MCP > Add new server).
- 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.