> ## Documentation Index
> Fetch the complete documentation index at: https://developer.kyberis.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex Desktop Setup

> Connect Codex Desktop to Kyberis MCP and install the Kyberis skill.

Use this guide to add Kyberis to Codex Desktop. MCP gives Codex callable Kyberis tools. The Kyberis skill gives Codex investigation instructions for resolving entities, collecting evidence, pivoting relationships, and running assessments.

## Prerequisites

* Codex Desktop installed and signed in
* A Kyberis account with access to the workspace you want Codex to use
* [Node.js 20 or newer with `npx`](/install/node-npx) for installing the Kyberis skill
* Permission to authenticate the Kyberis MCP server through your browser

Do not paste API keys, access tokens, or bearer tokens into screenshots, commits, issues, or shared chat logs. Use the Codex Desktop OAuth login flow for MCP when possible. Store long-lived credentials in a local secret manager or another secure local store.

## 1. Open Codex Desktop Settings

Open Codex Desktop and select **Settings** from the lower-left account menu.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/01-codex-open.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=4a54b0808ad00c3be452e864b77c8dc4" alt="Codex Desktop home screen with Settings visible in the sidebar." width="1054" height="726" data-path="images/codex-getting-started/01-codex-open.png" />

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/02-open-settings.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=cabe3f46aaa39a651d5a2ac9e245e4a1" alt="Codex Desktop account menu with Settings selected. The account email is redacted." width="1054" height="726" data-path="images/codex-getting-started/02-open-settings.png" />

## 2. Open MCP Servers

In **Settings**, select **MCP servers** under **Integrations**.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/03-settings-open.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=faf3d3607320bf9994ba639a2b632ecf" alt="Codex Desktop settings with MCP servers selected." width="1054" height="726" data-path="images/codex-getting-started/03-settings-open.png" />

Select **Add server**.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/04-mcp-servers.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=eba6c2d80f756ee7059b97fe9de4f435" alt="Codex Desktop MCP servers settings with Add server visible." width="1054" height="726" data-path="images/codex-getting-started/04-mcp-servers.png" />

## 3. Add the Kyberis MCP Server

Create a custom MCP server:

| Field         | Value                    |
| ------------- | ------------------------ |
| **Name**      | `Kyberis`                |
| **Transport** | **Streamable HTTP**      |
| **URL**       | `https://mcp.kyberis.ai` |

Leave token and header fields empty unless your Kyberis administrator gives you a specific credential flow. Select **Save**.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/05-create-kyberis-mcp.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=d8e7b651fc5117a71f624975244ac419" alt="Codex Desktop custom MCP form with Kyberis, Streamable HTTP, and the Kyberis MCP URL configured." width="1065" height="813" data-path="images/codex-getting-started/05-create-kyberis-mcp.png" />

## 4. Authenticate MCP

Open a terminal and run:

```bash theme={null}
codex mcp login kyberis
```

Use the same server name you entered in Codex Desktop. If Codex registered the server as `Kyberis`, use:

```bash theme={null}
codex mcp login Kyberis
```

Codex prints an authorization URL. Open it in your browser and complete the Kyberis login.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/06-login-to-mcp.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=3d8dd99aaf4911a27c6d164973d2d259" alt="Terminal running codex mcp login kyberis." width="1088" height="681" data-path="images/codex-getting-started/06-login-to-mcp.png" />

After you complete auth, Codex reports that it logged in to the Kyberis MCP server.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/07-terminal-auth-url.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=89eb7f915af26b66941c07e4cb9bf18d" alt="Terminal showing successful Kyberis MCP login. The authorization URL is redacted." width="1088" height="681" data-path="images/codex-getting-started/07-terminal-auth-url.png" />

You may see a local browser callback page that says authentication is complete.

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/08-auth-complete.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=e42ba856233f3829700f77a5e5eb5733" alt="Browser callback page showing authentication complete. The callback state value is redacted." width="1069" height="712" data-path="images/codex-getting-started/08-auth-complete.png" />

## 5. Install the Kyberis Skill

Install the Kyberis skill for Codex:

```bash theme={null}
npx -y @kyberis-ai/agent-skills install codex
```

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/10-install-skill.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=4261d04bb5edfd8c357f92270901c7d3" alt="Terminal running the Kyberis skill install command for Codex." width="1088" height="681" data-path="images/codex-getting-started/10-install-skill.png" />

The installer writes the skill to `~/.codex/skills/kyberis`. Restart Codex Desktop after installation so the skill is available in new chats.

To check the installed skill later, run:

```bash theme={null}
npx -y @kyberis-ai/agent-skills status codex
```

## 6. Verify Tools and Skill Behavior

Start a new Codex Desktop chat in the workspace where you want to use Kyberis. Ask Codex to list the Kyberis MCP tools:

```text theme={null}
List the tools in Kyberis MCP.
```

<img src="https://mintcdn.com/kyberis/0UleOjoT8NUKajiq/images/codex-getting-started/09-list-tools.png?fit=max&auto=format&n=0UleOjoT8NUKajiq&q=85&s=b8440e2fde9b119737d7c98519b4cb81" alt="Codex Desktop verification prompt asking Codex to list Kyberis MCP tools." width="1065" height="813" data-path="images/codex-getting-started/09-list-tools.png" />

Then verify that the skill is guiding the workflow:

```text theme={null}
Use the Kyberis skill. Resolve CVE-2024-3094 as a CVE, retrieve evidence for active exploitation, and run a CVE assessment. Preserve request IDs, evidence IDs, confidence, and caveats.
```

A working setup should call Kyberis tools through MCP, separate facts from inference, and preserve `request_id`, evidence IDs, confidence, and caveats in the response.

## Troubleshooting

| Problem                                          | Fix                                                                                                                                                              |
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| No Kyberis tools are visible                     | Confirm the MCP server is enabled in **Settings** > **MCP servers**, restart Codex Desktop, and run `codex mcp login kyberis` again.                             |
| `codex mcp login kyberis` cannot find the server | Check the server name in Codex Desktop. If the UI saved it as `Kyberis`, run `codex mcp login Kyberis`.                                                          |
| Login opens but does not complete                | Retry in the same browser profile you use for Kyberis. If the callback page never appears, restart Codex Desktop and run `codex mcp login kyberis` again.        |
| Invalid MCP credentials                          | Remove the Kyberis MCP server, add it again with `https://mcp.kyberis.ai`, and repeat the login flow. Do not paste expired bearer tokens into the server config. |
| The skill is not available                       | Run `npx -y @kyberis-ai/agent-skills status codex`. If it is missing, run `npx -y @kyberis-ai/agent-skills install codex` and restart Codex Desktop.             |
| Codex uses the wrong workspace or project        | Select the intended workspace or project in Codex Desktop before verification. Re-run the verification prompt from that workspace.                               |
| A Kyberis tool returns `insufficient_scope`      | Ask your Kyberis administrator for access to the required scope, then re-authenticate the MCP server.                                                            |

## Next Steps

<CardGroup cols={2}>
  <Card title="Install skills" icon="https://mintcdn.com/kyberis/c-TjxE2WqJIPZVhQ/icons/skill.svg?fit=max&auto=format&n=c-TjxE2WqJIPZVhQ&q=85&s=8f27afa1ae8b079155f39d54e121811a" href="/install/skills" width="24" height="24" data-path="icons/skill.svg" />

  <Card title="Connect MCP" icon="https://mintcdn.com/kyberis/c-TjxE2WqJIPZVhQ/icons/mcp.svg?fit=max&auto=format&n=c-TjxE2WqJIPZVhQ&q=85&s=7863df3c06b580b0bb617a65bf1f7b4a" href="/install/mcp" width="24" height="24" data-path="icons/mcp.svg" />
</CardGroup>
