# Connect the Dessn MCP to Codex (https://www.dessn.com/docs/mcp/codex)

Connect Dessn to Codex: install the Dessn MCP and Dessn's design skills with one command, then sign in to Dessn in your browser.

To connect Codex to Dessn, a design canvas where every frame is your real app running live from your own code, install
the Dessn plugin with the command below and sign in to Dessn in your browser: Codex then works on your Dessn canvas as
you, through the Dessn MCP at `https://mcp.dessn.ai/mcp`.

The same lines, with copy buttons, are on [mcp.dessn.ai/install](https://mcp.dessn.ai/install).

## Install the Dessn plugin
The plugin brings the Dessn MCP and Dessn's design skills, which teach Codex to design on Dessn.

<Steps>
<Step>

### Install the plugin
```bash title="Terminal"
codex plugin marketplace add https://mcp.dessn.ai/plugins.git && codex plugin add dessn@dessn
```

</Step>
<Step>

### Sign in
Codex opens the sign-in the first time a Dessn tool is used. To sign in now, run `codex mcp login dessn`

</Step>
</Steps>

## Add the Dessn MCP alone, without the skills
```bash title="Terminal"
codex mcp add dessn --url https://mcp.dessn.ai/mcp
```

## The Codex desktop app
Add this to `~/.codex/config.toml` and restart Codex. If the sign-in doesn't open by itself, run `codex mcp login dessn`
once.

```toml title="~/.codex/config.toml"
[mcp_servers.dessn]
url = "https://mcp.dessn.ai/mcp"
```

## Check that it worked
Ask Codex `Which Dessn projects can you see?` It answers with the account it's connected as and your
projects. No Dessn tools? See [Troubleshooting](https://www.dessn.com/docs/mcp/troubleshooting).

Then try a first design ask:

- "Put every surface of my Dessn project on one page, grouped by area."
- "Make three variations of the Dashboard in my Dessn project, side by side on a new page, using the app's own
  components."

## Questions
### Is there an npm package for the Dessn MCP?
No. There's no separate npm package; it's a remote server at `https://mcp.dessn.ai/mcp` (Streamable HTTP, with OAuth
sign-in), so there's nothing to install from npm. The plugin, or `codex mcp add`, points Codex at that address.

### Does it need an API key?
No. You sign in to Dessn in your browser, with `codex mcp login dessn` or when Codex first uses a Dessn tool. API keys
are for scripts, CI and cloud agents: see [Sign-in, access and API keys](https://www.dessn.com/docs/mcp/access).

### Do I need a Dessn account first?
No. The sign-in that opens when Codex connects makes your account, with a code e-mailed to you. Dessn then builds your
codebase into a live canvas, from GitHub, GitLab or Bitbucket, or from "Upload a folder" at
[create.dessn.ai](https://create.dessn.ai).

### Codex's Dessn tools are gone
Run `codex mcp login dessn`, then start a new Codex session. For `codex exec` and other runs with nobody to approve a
tool, see [Codex without a person to ask](https://www.dessn.com/docs/mcp/access#codex-without-a-person-to-ask).

<Cards>
  <Card title="Connect your coding agent" href="/docs/mcp" description="Every agent's install: Claude Code, Cursor, VS Code, Claude and more." />
  <Card title="What you can do" href="/docs/mcp/what-you-can-do" description="Six things to ask your agent, with an ask to try for each." />
</Cards>
