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

# Connect Codex to Plyne

> Register the remote Plyne MCP server in Codex and complete OAuth in your browser.

Use the Codex CLI to add Plyne as a remote MCP server:

```bash theme={null}
codex mcp add plyne --url https://api.plyne.ai/mcp
codex mcp login plyne
```

Codex discovers the OAuth authorization server from Plyne’s metadata and opens the browser sign-in flow.

## Authorize and verify

1. Complete the browser sign-in to Plyne.
2. Choose the workspace to share and approve the requested read access.
3. Run `codex mcp list` to review your configured servers.
4. Ask Codex: **“Use Plyne to list my Signal Agents and the Sheets they are linked to.”**

For configuration managed directly in `~/.codex/config.toml`, the server entry is:

```toml theme={null}
[mcp_servers.plyne]
url = "https://api.plyne.ai/mcp"
```

Run `codex mcp login plyne` after adding that configuration. An unauthenticated server entry by itself does not grant access to your workspace.

See the [official Codex MCP guide](https://learn.chatgpt.com/docs/extend/mcp?surface=cli) for callback, browser, and configuration options. Manage the server in Codex’s MCP settings. Use `codex mcp logout plyne` to remove its saved OAuth credentials.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.