Skip to main content
This page is for developers connecting Codex CLI to Pleo by editing their local configuration file.

Prerequisites

Before you begin:
  • Pleo MCP access is off by default; a company admin must enable it for your organisation before you can connect. See Access & Permissions if you’re not sure whether it’s enabled.
  • If you use Codex through a ChatGPT Business or Enterprise workspace that restricts custom connectors, your workspace admin has allowed Pleo. See How to Add Pleo MCP as a Custom Connector in ChatGPT if you’re not sure.

Steps

Follow the steps below to connect Pleo to Codex. Codex CLI reads its MCP server configuration from ~/.codex/config.toml.
  1. Add a Pleo entry to ~/.codex/config.toml, either by editing the file directly or with the codex mcp add command:
This adds a block like the following to your config file:
  1. Authorise the connection:
This opens your browser for OAuth authorisation. Log in to Pleo if needed, then approve access.
  1. Run codex mcp list to confirm pleo-mcp is configured and connected.
You are now connected and can start using the Pleo MCP in Codex.