---
title: Connect Codex
description: "Add quickS3 to OpenAI Codex as a remote MCP server, sign in from the terminal, and pick the roles it gets. One setup covers app, CLI, and IDE."
section: AI agents
order: 50
audience: [owner, admin, member, agent-user]
status: published
lastVerified: 2026-09-15
sources:
  - web/src/components/app/pages/AgentsPage.tsx
  - web/src/components/app/pages/ConnectClientPage.tsx
  - web/src/content/blog/connect-codex-to-s3-with-quicks3.mdx
---

1. Add the server:

   ```bash
   codex mcp add quicks3 --url https://quicks3.com/mcp
   ```

2. Sign in:

   ```bash
   codex mcp login quicks3
   ```

   Your browser opens quickS3.

3. Untick the roles Codex doesn't need, pick how long the access lasts, and select **Authorize**. [Approve an AI client](/docs/agents/consent/) explains each part.
4. In Codex, try: "List my quickS3 connections."

The Codex app, CLI, and IDE extension share the same MCP settings, so one setup covers all of them.

## Check what it can reach

Ask Codex to list a folder its role should allow, then one it shouldn't. The second should fail. If it doesn't, the roles you approved give more than you meant to: revoke the access and approve it again with fewer roles.

## Disconnect

Select **Revoke** next to Codex on the **AI agents** page in quickS3. That stops it straight away. To also remove the server from Codex, run:

```bash
codex mcp remove quicks3
```
